2004-11-03 18:23:58 +01:00
|
|
|
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
|
2005-06-01 23:35:02 +02:00
|
|
|
test.t1 optimize error Lock wait timeout exceeded; try restarting transaction
|
2004-11-03 18:23:58 +01:00
|
|
|
test.t1 optimize status Operation failed
|
2005-02-24 22:33:42 +01:00
|
|
|
Warnings:
|
|
|
|
Error 1205 Lock wait timeout exceeded; try restarting transaction
|
2004-11-03 18:23:58 +01:00
|
|
|
OPTIMIZE TABLE non_existing;
|
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.non_existing optimize error Table 'test.non_existing' doesn't exist
|
2005-02-24 22:33:42 +01:00
|
|
|
Warnings:
|
|
|
|
Error 1146 Table 'test.non_existing' doesn't exist
|
2006-01-26 17:54:34 +01:00
|
|
|
drop table t1;
|