Debian Codegraph @

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

raw
1 # First part: outside a transaction
2 RESET MASTER;
3 eval $prepare;
4
5 INSERT INTO t1 VALUES (1);
6 source include/show_binlog_events.inc;
7 eval $statement;
8 source include/show_binlog_events.inc;
9 if ($cleanup) {
10 eval $cleanup;
11 }
12
13 # Second part: inside a transaction
14 RESET MASTER;
15 eval $prepare;
16 BEGIN;
17 INSERT INTO t1 VALUES (2);
18 source include/show_binlog_events.inc;
19 eval $statement;
20 source include/show_binlog_events.inc;
21 INSERT INTO t1 VALUES (3);
22 source include/show_binlog_events.inc;
23 COMMIT;
24 source include/show_binlog_events.inc;
25 if ($cleanup) {
26 eval $cleanup;
27 }
28