1
drop table if exists t1,t2,t3,t4,t5,t6;
3
# Bug#26379 - Combination of FLUSH TABLE and REPAIR TABLE
4
# corrupts a MERGE table
7
CREATE TABLE t1 (c1 INT) ENGINE= MyISAM;
10
SET SESSION debug="+d,sleep_open_and_lock_after_open";
11
INSERT INTO t1 VALUES (1);
13
# Let INSERT go into thr_multi_lock().
14
# Kick INSERT out of thr_multi_lock().
16
# Let INSERT go through open_tables() where it sleeps.
17
# Unlock and close table and wait for con1 to close too.
19
# This should give no result.
24
SET SESSION debug="-d,sleep_open_and_lock_after_open";