Debian Codegraph @

mysql-test/suite/galera/t/MDEV-22458.test

raw
1 # MDEV-22458
2 #
3 # When running SHOW command, thread lock `LOCK_thd_data` should not be taken.
4 # Lock will be taken only when we are killing thread
5 #
6
7 --source include/galera_cluster.inc
8 CREATE TABLE t1 (a INT);
9
10 --connect (con1,localhost,root,,test)
11 --let $con1 = `SELECT CONNECTION_ID()`
12
13 INSERT INTO t1 VALUES (1),(2),(3),(4);
14
15 --error ER_TARGET_NOT_EXPLAINABLE
16 EVALP SHOW EXPLAIN FOR $con1;
17
18 --connection con1
19 INSERT INTO t1 VALUES (5),(6),(7),(8);
20
21 DROP TABLE t1;