summaryrefslogtreecommitdiff
path: root/mysql-test/t/bdb-deadlock.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/bdb-deadlock.test')
-rw-r--r--mysql-test/t/bdb-deadlock.test11
1 files changed, 8 insertions, 3 deletions
diff --git a/mysql-test/t/bdb-deadlock.test b/mysql-test/t/bdb-deadlock.test
index b32b50c715b..27fcb5c6149 100644
--- a/mysql-test/t/bdb-deadlock.test
+++ b/mysql-test/t/bdb-deadlock.test
@@ -30,13 +30,17 @@ select x from t1 where id = 0;
connection con1;
# This should generate a deadlock as we are trying to access a locked row
---error 1213
+--send
select x from t2 where id = 0;
-commit;
connection con2;
-reap;
+--error 1213
+commit;
+
+connection con1;
commit;
+
+connection con2;
select * from t1;
select * from t2;
commit;
@@ -45,4 +49,5 @@ connection con1;
select * from t1;
select * from t2;
commit;
+
drop table t1,t2;