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.
This commit is contained in:
Andrei
2024-04-29 20:32:55 +03:00
parent 6a63204c36
commit ae03374f29

View File

@ -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