Commit ae03374f authored by Andrei's avatar Andrei

MDEV-34030 rpl.rpl_using_gtid_default can fail in (BB) mtr

The test's header is not written to follow strictly a correct order
of checks by mtr at test start which may lead to an error. E.g

./mtr --mysqld=--binlog-format=row rpl.rpl_using_gtid_default

to
At line 175: query 'SET GLOBAL gtid_slave_pos= ""' failed: ER_SLAVE_MUST_STOP (1198): This operation cannot be performed as you have a running slave ''; run STOP SLAVE '' first

Fixed to require the binlog format first in the test header.
parent 6a63204c
......@@ -42,10 +42,9 @@
# replication is used by default if master supports it
#
--source include/have_debug.inc
--source include/master-slave.inc
# Format independent test so just use one
--source include/have_binlog_format_mixed.inc
--source include/master-slave.inc
--echo #
--echo # Slave default configuration should be Slave_Pos
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment