--source include/have_binlog_format_row.inc # # marking this as a big test, since it does restart the server # and that takes time # --source include/big_test.inc --source include/not_valgrind.inc --source include/not_ubsan.inc ################################################################################ # # BUG#92754: Relax restrictions on replicate_same_server_id wi... # BUG#80291: relax restrictions on replicate_same_server_id with gtid_mode # ################################################################################ --let $error_log=$MYSQLTEST_VARDIR/log/replicate_same_server_id.err --let $server_id=`SELECT @@global.server_id` # Stop the server --source include/shutdown_mysqld.inc # # Start with gtid-mode turned on, it will start # --let $restart_parameters="restart: --log-error=$error_log --log-replica-updates --replicate-same-server-id --gtid-mode=ON --enforce-gtid-consistency" --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR --source include/start_mysqld.inc # # Assert that the server starts and that it emits the warning # --let $assert_text= Assert that the server starts and emits a warning --let $assert_file= $error_log --let $assert_select= .*using --replicate-same-server-id in conjunction with --log-replica-updates would lead to infinite loops in this server. However this will be ignored as the --log-bin option is not defined or your server is running with global transaction identiers enabled. --let $assert_count= 1 --source include/assert_grep.inc # # Assert that we get an error when switching out of GTID_MODE=ON # --error ER_CANT_SET_GTID_MODE SET @@global.gtid_mode=ON_PERMISSIVE; # # clean up # --source include/shutdown_mysqld.inc --remove_file $error_log --let $restart_parameters="restart" --source include/start_mysqld.inc