mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Move mysql-test-run/extra/binlog to suite/binlog/include
This commit is contained in:
28
mysql-test/suite/binlog/include/implicit.test
Normal file
28
mysql-test/suite/binlog/include/implicit.test
Normal file
@@ -0,0 +1,28 @@
|
||||
# First part: outside a transaction
|
||||
RESET MASTER;
|
||||
eval $prepare;
|
||||
|
||||
INSERT INTO t1 VALUES (1);
|
||||
source include/show_binlog_events.inc;
|
||||
eval $statement;
|
||||
source include/show_binlog_events.inc;
|
||||
if ($cleanup) {
|
||||
eval $cleanup;
|
||||
}
|
||||
|
||||
# Second part: inside a transaction
|
||||
RESET MASTER;
|
||||
eval $prepare;
|
||||
BEGIN;
|
||||
INSERT INTO t1 VALUES (2);
|
||||
source include/show_binlog_events.inc;
|
||||
eval $statement;
|
||||
source include/show_binlog_events.inc;
|
||||
INSERT INTO t1 VALUES (3);
|
||||
source include/show_binlog_events.inc;
|
||||
COMMIT;
|
||||
source include/show_binlog_events.inc;
|
||||
if ($cleanup) {
|
||||
eval $cleanup;
|
||||
}
|
||||
|
Reference in New Issue
Block a user