mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
bd8f81f470
SHOW CREATE TABLE fails Underlying table names, that merge engine fails to open were not reported. With this fix CHECK TABLE issued against merge table reports all underlying table names that it fails to open. Other statements are unaffected, that is underlying table names are not included into error message. This fix doesn't solve SHOW CREATE TABLE issue.
20 lines
651 B
Text
20 lines
651 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
CREATE TABLE t1 ( a int ) ENGINE=InnoDB;
|
|
BEGIN;
|
|
INSERT INTO t1 VALUES (1);
|
|
OPTIMIZE TABLE t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 optimize error Lock wait timeout exceeded; try restarting transaction
|
|
test.t1 optimize status Operation failed
|
|
Warnings:
|
|
Error 1205 Lock wait timeout exceeded; try restarting transaction
|
|
OPTIMIZE TABLE non_existing;
|
|
Table Op Msg_type Msg_text
|
|
test.non_existing optimize Error Table 'test.non_existing' doesn't exist
|
|
test.non_existing optimize error Corrupt
|
|
drop table t1;
|