Debian Codegraph @

mysql-test/suite/stress/r/deadlock_drop_table.result

raw
1 create or replace table t1 (a int primary key, b int, c int, key(b),key(c)) engine=myisam;
2 insert into t1 (a) values(1);
3 set debug_sync='RESET';
4 connect con1, localhost, root,,;
5 connect con2, localhost, root,,;
6 connection default;
7 backup stage start;
8 backup stage flush;
9 select * from t1;
10 a b c
11 1 NULL NULL
12 set debug_sync='after_purge_tables SIGNAL parked WAIT_FOR go';
13 set debug_sync='before_tc_release_table SIGNAL parked2 WAIT_FOR go2';
14 backup stage BLOCK_DDL;
15 connection con1;
16 set debug_sync='now WAIT_FOR parked';
17 select * from t1;
18 a b c
19 1 NULL NULL
20 set debug_sync='now SIGNAL go';
21 set debug_sync='now WAIT_FOR parked2';
22 set debug_sync='before_wait_for_refs SIGNAL waiting WAIT_FOR go3';
23 drop table t1;;
24 connection con2;
25 set debug_sync='now WAIT_FOR waiting';
26 set debug_sync='now SIGNAL go2';
27 set debug_sync='now SIGNAL go3';
28 connection default;
29 connection con1;
30 connection default;
31 disconnect con1;
32 disconnect con2;
33 set debug_sync='RESET';