diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2016-12-05 21:04:30 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2016-12-09 12:05:07 +0200 |
commit | c868acdf656213cdc081c4c965a1bcf3d22558bb (patch) | |
tree | 4d778e25b6213938c5624afd393495a7d4b1d512 /storage/innobase/include/dict0stats.ic | |
parent | b0266b6a606479f183315248e10eb1624200c06b (diff) | |
download | mariadb-git-c868acdf656213cdc081c4c965a1bcf3d22558bb.tar.gz |
MDEV-11487 Revert InnoDB internal temporary tables from WL#7682
WL#7682 in MySQL 5.7 introduced the possibility to create light-weight
temporary tables in InnoDB. These are called 'intrinsic temporary tables'
in InnoDB, and in MySQL 5.7, they can be created by the optimizer for
sorting or buffering data in query processing.
In MariaDB 10.2, the optimizer temporary tables cannot be created in
InnoDB, so we should remove the dead code and related data structures.
Diffstat (limited to 'storage/innobase/include/dict0stats.ic')
-rw-r--r-- | storage/innobase/include/dict0stats.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/dict0stats.ic b/storage/innobase/include/dict0stats.ic index 80709091734..61c88773912 100644 --- a/storage/innobase/include/dict0stats.ic +++ b/storage/innobase/include/dict0stats.ic @@ -182,7 +182,7 @@ dict_stats_deinit( /*==============*/ dict_table_t* table) /*!< in/out: table */ { - ut_ad(mutex_own(&dict_sys->mutex) || dict_table_is_intrinsic(table)); + ut_ad(mutex_own(&dict_sys->mutex)); ut_a(table->get_ref_count() == 0); |