mirror of
https://github.com/MariaDB/server.git
synced 2025-02-04 21:02:17 +01:00
de0324c146
Reset the GTID sequence at the start of test so earlier run tests does not influence the expected GTID sequence. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
12 lines
522 B
Text
12 lines
522 B
Text
RESET MASTER;
|
|
#
|
|
# MDEV-30698 Cover missing test cases for mariadb-binlog options
|
|
# --raw [and] --flashback
|
|
#
|
|
CREATE TABLE t1 (a int);
|
|
FLUSH LOGS;
|
|
INSERT INTO t1 VALUES (1);
|
|
# timeout TIMEOUT MYSQL_BINLOG --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=MASTER_MYPORT --stop-never --result-file=MYSQLTEST_VARDIR/tmp/ master-bin.000001
|
|
# MYSQL_BINLOG MYSQLTEST_VARDIR/tmp/master-bin.000002 > MYSQLTEST_VARDIR/tmp/local-bin.000002.out
|
|
FOUND 1 /GTID 0-1-2/ in local-bin.000002.out
|
|
DROP TABLE t1;
|