polardbxengine/mysql-test/suite/xengine_main/t/mysqldump-no-binlog.test

12 lines
420 B
Plaintext

# When log-bin, skip-log-bin and binlog-format options are specified, mask the warning.
--disable_query_log
call mtr.add_suppression("\\[Warning\\] \\[[^]]*\\] \\[[^]]*\\] You need to use --log-bin to make --binlog-format work.");
--enable_query_log
--replace_regex /MASTER_LOG_POS=[0-9]+/XX/
--error 2
--exec $MYSQL_DUMP --compact --master-data=2 test 2>&1
--source suite/xengine/include/check_xengine_log_error.inc