summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush_read_lock_kill.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/flush_read_lock_kill.test')
-rw-r--r--mysql-test/t/flush_read_lock_kill.test6
1 files changed, 0 insertions, 6 deletions
diff --git a/mysql-test/t/flush_read_lock_kill.test b/mysql-test/t/flush_read_lock_kill.test
index a672fa5dfc5..d83e5b3f1df 100644
--- a/mysql-test/t/flush_read_lock_kill.test
+++ b/mysql-test/t/flush_read_lock_kill.test
@@ -26,7 +26,6 @@ SET DEBUG_SYNC= 'RESET';
CREATE TABLE t1 (kill_id INT) engine = InnoDB;
INSERT INTO t1 VALUES(connection_id());
---echo # Switching to connection 'default'.
connection default;
--echo # Start transaction.
BEGIN;
@@ -38,7 +37,6 @@ SET DEBUG_SYNC='ha_commit_trans_after_acquire_commit_lock SIGNAL acquired WAIT_F
--echo # Sending:
--send COMMIT
---echo # Switching to 'con1'.
connection con1;
--echo # Wait till COMMIT acquires protection against global read
--echo # lock and pauses.
@@ -46,7 +44,6 @@ SET DEBUG_SYNC='now WAIT_FOR acquired';
--echo # Sending:
send FLUSH TABLES WITH READ LOCK;
---echo # Switching to 'con2'.
connection con2;
SELECT ((@id := kill_id) - kill_id) FROM t1 LIMIT 1;
@@ -61,19 +58,16 @@ let $wait_condition=
--echo # Kill connection 'con1'.
KILL CONNECTION @id;
---echo # Switching to 'con1'.
connection con1;
--echo # Try to reap FLUSH TABLES WITH READ LOCK,
--echo # it fail due to killed statement and connection.
--error 1317,2013
reap;
---echo # Switching to 'con2'.
connection con2;
--echo # Resume COMMIT.
SET DEBUG_SYNC='now SIGNAL go';
---echo # Switching to 'default'.
connection default;
--echo # Reaping COMMIT.
--reap