mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-11227 - mysqlimport -l doesn't issue UNLOCK TABLES
Merged fix for innodb_mysql from 5.7.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user