Debian Codegraph @

mysql-test/suite/binlog/include/drop_table.test

raw
1 #
2 # Bug#989: If DROP TABLE while there's an active transaction, wrong binlog order
3 #
4
5 --disable_warnings
6 DROP TABLE IF EXISTS t1;
7 --enable_warnings
8
9 connect (con1,localhost,root,,);
10 connect (con2,localhost,root,,);
11
12 connection con1;
13 RESET MASTER;
14 CREATE TABLE t1 (a INT);
15 SET AUTOCOMMIT=OFF;
16 BEGIN;
17 INSERT INTO t1 VALUES(1);
18
19 connection con2;
20 --send DROP TABLE t1;
21
22 connection con1;
23 COMMIT;
24
25 connection con2;
26 --reap
27
28 connection default;
29
30 --disconnect con1
31 --disconnect con2
32
33 let $VERSION=`select version()`;
34 source include/show_binlog_events.inc;