mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge mysql-5.1 -> mysql-5.5
The actual Bug#11754376 does not exist in MySQL 5.5 because at startup we drop entries for temporary tables from InnoDB dictionary cache (only if ROW_FORMAT is not REDUNDANT). But nevertheless the bug in normalize_table_name_low() is present so we fix it.
This commit is contained in:
4
mysql-test/suite/innodb/r/innodb_bug11754376.result
Normal file
4
mysql-test/suite/innodb/r/innodb_bug11754376.result
Normal file
@@ -0,0 +1,4 @@
|
||||
CREATE TABLE bug11754376 (c INT) ENGINE=INNODB;
|
||||
SET SESSION DEBUG='+d,test_normalize_table_name_low';
|
||||
DROP TABLE bug11754376;
|
||||
SET SESSION DEBUG='-d,test_normalize_table_name_low';
|
||||
16
mysql-test/suite/innodb/t/innodb_bug11754376.test
Normal file
16
mysql-test/suite/innodb/t/innodb_bug11754376.test
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Bug#11754376 45976: INNODB LOST FILES FOR TEMPORARY TABLES ON GRACEFUL SHUTDOWN
|
||||
#
|
||||
|
||||
-- source include/have_debug.inc
|
||||
-- source include/have_innodb.inc
|
||||
|
||||
CREATE TABLE bug11754376 (c INT) ENGINE=INNODB;
|
||||
|
||||
# This will invoke test_normalize_table_name_low() in debug builds
|
||||
|
||||
SET SESSION DEBUG='+d,test_normalize_table_name_low';
|
||||
|
||||
DROP TABLE bug11754376;
|
||||
|
||||
SET SESSION DEBUG='-d,test_normalize_table_name_low';
|
||||
Reference in New Issue
Block a user