| 1 |
# ==== Purpose ==== |
| 2 |
# |
| 3 |
# Verify that a warning is written into an error log when starting |
| 4 |
# server with an option "--binlog_max_flush_queue_time". |
| 5 |
# |
| 6 |
# ==== Implementation ==== |
| 7 |
# |
| 8 |
# Source assert_grep.inc to assert a warning in an error log. |
| 9 |
# |
| 10 |
# ==== References ==== |
| 11 |
# |
| 12 |
# WL#8756 Deprecate binlog_max_flush_queue_time in 5.7 |
| 13 |
|
| 14 |
--source include/have_log_bin.inc |
| 15 |
--source include/have_binlog_format_row.inc |
| 16 |
|
| 17 |
# Make sure the test is repeatable |
| 18 |
--source include/restart_mysqld.inc |
| 19 |
RESET MASTER; |
| 20 |
|
| 21 |
--let $assert_file= $MYSQLTEST_VARDIR/log/mysqld.1.err |
| 22 |
--let $assert_only_after= Shutdown complete |
| 23 |
--let $assert_count= 1 |
| 24 |
--let $assert_select= The syntax '--binlog_max_flush_queue_time' is deprecated and will be removed in a future release |
| 25 |
--let $assert_text= Found the expected warning "The syntax '--binlog_max_flush_queue_time' is deprecated and will be removed in a future release" in server's error log. |
| 26 |
--source include/assert_grep.inc |