summaryrefslogtreecommitdiff
path: root/mysql-test/r/rpl_failed_optimize.result
blob: 33a8cdc4a2fbd0de6d7dffb06ded228f885c38eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;