~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/deadlock.inc

  • Committer: Monty Taylor
  • Date: 2009-08-17 18:46:08 UTC
  • mto: (1182.1.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1183.
  • Revision ID: mordred@inaugust.com-20090817184608-0b2emowpjr9m6le7
"Fixed" the deadlock test. I'd still like someone to look at what's going on here.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
commit;
70
70
set autocommit=0;
71
71
select * from t2;
72
 
update t2 set a=100 where b=(SELECT x from t1 where id = b FOR UPDATE);
 
72
select x from t1 where id=0 FOR UPDATE;
 
73
update t2 set a=100 where b=(SELECT x from t1 where id = b);
73
74
select * from t2;
74
75
select * from t1;
75
76