~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/r/deadlock_innodb.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:
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