mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / innodb / r / innodb_timeout_rollback.result
blobe2da6ba8af7822d393336e901c0e5a6a609ef7e4
1 drop table if exists t1;
2 show variables like 'innodb_rollback_on_timeout';
3 Variable_name   Value
4 innodb_rollback_on_timeout      ON
5 create table t1 (a int unsigned not null primary key) engine = innodb;
6 insert into t1 values (1);
7 commit;
8 begin work;
9 insert into t1 values (2);
10 select * from t1;
14 begin work;
15 insert into t1 values (5);
16 select * from t1;
20 insert into t1 values (2);
21 ERROR HY000: Lock wait timeout exceeded; try restarting transaction
22 select * from t1;
25 commit;
26 select * from t1;
30 commit;
31 select * from t1;
35 drop table t1;
36 End of 5.0 tests