mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#12400341 INNODB CAN LEAVE ORPHAN IBD FILES AROUND
If we meet DB_TOO_MANY_CONCURRENT_TRXS during the execution tab_create_graph from row_create_table_for_mysql(), .ibd file for the table should be created already but was not deleted for the error handling. rb:875 approved by Jimmy Yang
This commit is contained in:
25
mysql-test/suite/innodb/r/innodb_bug12400341.result
Normal file
25
mysql-test/suite/innodb/r/innodb_bug12400341.result
Normal file
@ -0,0 +1,25 @@
|
||||
call mtr.add_suppression("InnoDB: Warning: cannot find a free slot for an undo log. Do you have too");
|
||||
show variables like "max_connections";
|
||||
Variable_name Value
|
||||
max_connections 64
|
||||
show variables like "innodb_thread_concurrency";
|
||||
Variable_name Value
|
||||
innodb_thread_concurrency 0
|
||||
show variables like "innodb_file_per_table";
|
||||
Variable_name Value
|
||||
innodb_file_per_table ON
|
||||
drop database if exists mysqltest;
|
||||
create database mysqltest;
|
||||
CREATE TABLE mysqltest.transtable (id int unsigned NOT NULL PRIMARY KEY, val int DEFAULT 0) ENGINE=InnoDB;
|
||||
select count(*) from information_schema.processlist;
|
||||
count(*)
|
||||
33
|
||||
CREATE TABLE mysqltest.testtable (id int unsigned not null primary key) ENGINE=InnoDB;
|
||||
ERROR HY000: Can't create table 'mysqltest.testtable' (errno: 177)
|
||||
select count(*) from information_schema.processlist;
|
||||
count(*)
|
||||
33
|
||||
select count(*) from information_schema.processlist;
|
||||
count(*)
|
||||
33
|
||||
drop database mysqltest;
|
Reference in New Issue
Block a user