summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/innodb_mysql.result
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-12-22 14:02:27 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-12-22 14:02:27 +0400
commit0c3791caae769e0e0a219ad092f81ef254960ecd (patch)
tree3f6dd541296212332dd1c019e763f022d3e9afd2 /mysql-test/suite/innodb/r/innodb_mysql.result
parent9b10b4181f70634c9fab96ff0a225147b64396d7 (diff)
downloadmariadb-git-0c3791caae769e0e0a219ad092f81ef254960ecd.tar.gz
MDEV-11227 - mysqlimport -l doesn't issue UNLOCK TABLESmariadb-10.2.3
Merged fix for innodb_mysql from 5.7.
Diffstat (limited to 'mysql-test/suite/innodb/r/innodb_mysql.result')
-rw-r--r--mysql-test/suite/innodb/r/innodb_mysql.result3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/innodb_mysql.result b/mysql-test/suite/innodb/r/innodb_mysql.result
index a057719d18b..28f68eaa04b 100644
--- a/mysql-test/suite/innodb/r/innodb_mysql.result
+++ b/mysql-test/suite/innodb/r/innodb_mysql.result
@@ -678,8 +678,11 @@ SET AUTOCOMMIT=0;
INSERT INTO t2 VALUES (1);
connection c2;
SET AUTOCOMMIT=0;
+SET @old_lock_wait_timeout= @@lock_wait_timeout;
+SET lock_wait_timeout= 1;
LOCK TABLES t1 READ, t2 READ;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
+SET @@lock_wait_timeout= @old_lock_wait_timeout;
connection c1;
COMMIT;
INSERT INTO t1 VALUES (1);