summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/r/mdev-117.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/r/mdev-117.result')
-rw-r--r--mysql-test/suite/innodb/r/mdev-117.result18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/mdev-117.result b/mysql-test/suite/innodb/r/mdev-117.result
new file mode 100644
index 00000000..979f1ae0
--- /dev/null
+++ b/mysql-test/suite/innodb/r/mdev-117.result
@@ -0,0 +1,18 @@
+SET GLOBAL innodb_lock_wait_timeout=3;
+CREATE TABLE t1 (col_int_key INT, KEY (col_int_key)) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (6);
+connect con1,localhost,root,,test;
+SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
+SET AUTOCOMMIT=OFF;
+SELECT col_int_key FROM t1;
+col_int_key
+6
+connection default;
+DELETE IGNORE FROM t1;;
+connection con1;
+DELETE FROM t1 WHERE col_int_key IN (1, 40000000);
+connection default;
+disconnect con1;
+drop table t1;
+SET GLOBAL innodb_lock_wait_timeout=default;
+call mtr.add_suppression("Deadlock found when trying to get lock; try restarting transaction");