2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
CREATE TABLE t1 ( a int ) ENGINE=InnoDB;
9
INSERT INTO t1 VALUES (1);
11
Table Op Msg_type Msg_text
12
test.t1 optimize error Lock wait timeout exceeded; try restarting transaction
13
test.t1 optimize status Operation failed
15
Error 1205 Lock wait timeout exceeded; try restarting transaction
16
OPTIMIZE TABLE non_existing;
17
Table Op Msg_type Msg_text
18
test.non_existing optimize Error Table 'test.non_existing' doesn't exist
19
test.non_existing optimize error Corrupt