~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/innodb-semi-consistent.result

  • Committer: Monty Taylor
  • Date: 2009-03-16 19:10:50 UTC
  • mto: This revision was merged to the branch mainline in revision 939.
  • Revision ID: mordred@inaugust.com-20090316191050-hmc9w6hphbnaed3e
Changed the semi-consistent test. With innodb_locks_unsafe_for_binlog, the behavior is different here (no next-key-locking for us)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
set session transaction isolation level read committed;
10
10
set autocommit=0;
11
11
update t1 set a=10 where a=5;
12
 
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
13
12
commit;
14
13
update t1 set a=10 where a=5;
15
14
select * from t1 where a=2 for update;
21
20
update t1 set a=12 where a=2;
22
21
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
23
22
update t1 set a=13 where a=1;
24
 
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
25
23
commit;
26
24
update t1 set a=14 where a=1;
27
25
commit;
28
26
select * from t1;
29
27
a
30
 
14
 
28
13
31
29
2
32
30
3
33
31
4