~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_failed_optimize.result

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
stop slave;
 
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
3
reset master;
 
4
reset slave;
 
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
6
start slave;
 
7
CREATE TABLE t1 ( a int ) ENGINE=InnoDB;
 
8
BEGIN;
 
9
INSERT INTO t1 VALUES (1);
 
10
OPTIMIZE TABLE t1;
 
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
 
14
Warnings:
 
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
 
20
select * from t1;
 
21
a
 
22
1
 
23
commit;
 
24
drop table t1;