Commit 280e3e41 authored by Praveenkumar Hulakund's avatar Praveenkumar Hulakund

Bug#11756600 - SLAVE THREAD CAN CRASH IF EVENT SCHEDULER

               FAILS TO READ EVENT TABLE AT STARTUP.

This issue is fixed in 5.5+ versions. This patch adds a test
case for this scenario.
parent bd7c9815
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# --let $rpl_server_number= N # --let $rpl_server_number= N
# [--let $rpl_server_parameters= --flag1 --flag2 ...] # [--let $rpl_server_parameters= --flag1 --flag2 ...]
# [--let $rpl_debug= 1] # [--let $rpl_debug= 1]
# [--let $rpl_server_error= 0]
# --source include/rpl_start_server.inc # --source include/rpl_start_server.inc
# #
# Parameters: # Parameters:
...@@ -21,6 +22,9 @@ ...@@ -21,6 +22,9 @@
# If set, extra parameters given by this variable are passed to # If set, extra parameters given by this variable are passed to
# mysqld. # mysqld.
# #
# $rpl_server_error
# If set, failure of the server startup is expected.
#
# $rpl_debug # $rpl_debug
# See include/rpl_init.inc # See include/rpl_init.inc
# #
...@@ -47,8 +51,9 @@ if ($rpl_server_parameters) ...@@ -47,8 +51,9 @@ if ($rpl_server_parameters)
# Write file to make mysql-test-run.pl start up the server again # Write file to make mysql-test-run.pl start up the server again
--exec echo "$_rpl_start_server_command" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect --exec echo "$_rpl_start_server_command" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect
--source include/rpl_reconnect.inc if (!$rpl_server_error)
{
--source include/rpl_reconnect.inc
--let $include_filename= rpl_start_server.inc $_rpl_start_server_args --let $include_filename= rpl_start_server.inc $_rpl_start_server_args
--source include/end_include_file.inc --source include/end_include_file.inc
}
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