~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/deadlock_innodb.result

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
0       10
38
38
1       20
39
39
2       30
40
 
select x from t1 where id=0 FOR UPDATE;
41
 
x
42
 
0
43
 
update t2 set a=100 where b=(SELECT x from t1 where id = b);
 
40
update t2 set a=100 where b=(SELECT x from t1 where id = b FOR UPDATE);
44
41
select * from t2;
45
42
b       a
46
43
0       100