~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/deadlock.inc

  • Committer: Brian Aker
  • Date: 2010-03-11 16:24:31 UTC
  • mfrom: (1317.6.2 reduce-sleep-time)
  • Revision ID: brian@gaz-20100311162431-zo5wbdsyt3mfmcad
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
# The following query should hang because con1 is locking the record
38
38
--send
39
39
update t1 set x=2 where id = 0;
40
 
--sleep 2
41
40
 
42
41
--echo # Switch to connection con1
43
42
connection con1;
81
80
# The following query should hang because con1 is locking the record
82
81
--send
83
82
update t1 set x=2 where id = 0;
84
 
--sleep 2
85
83
 
86
84
--echo # Switch to connection con1
87
85
connection con1;
120
118
select * from t2;
121
119
--send
122
120
update t1 set x=2 where id = 0;
123
 
--sleep 2
124
121
 
125
122
--echo # Switch to connection con1
126
123
connection con1;