-
- Downloads
MDEV-17167 - InnoDB: Failing assertion: table->get_ref_count() == 0 upon
truncating a temporary table TRUNCATE expects only one TABLE instance (which is used by TRUNCATE itself) to be open. However this requirement wasn't enforced after "MDEV-5535: Cannot reopen temporary table". Fixed by closing unused table instances before performing TRUNCATE.
Showing
- mysql-test/main/temp_table.result 24 additions, 0 deletionsmysql-test/main/temp_table.result
- mysql-test/main/temp_table.test 26 additions, 0 deletionsmysql-test/main/temp_table.test
- sql/sql_class.h 1 addition, 0 deletionssql/sql_class.h
- sql/sql_plist.h 6 additions, 1 deletionsql/sql_plist.h
- sql/sql_truncate.cc 2 additions, 0 deletionssql/sql_truncate.cc
- sql/temporary_tables.cc 30 additions, 0 deletionssql/temporary_tables.cc
Please register or sign in to comment