Commit 27aba1b5 authored by He Zhenxing's avatar He Zhenxing

Bug#47638 The rpl_killed_ddl test fails on Windows

When the $diff_statement variable for diff_master_slave.inc was
put in multiple lines, the rear part of the statement would be 
missing when being executed on Windows systems.

Fixed the problem by always putting the value for $diff_statement
in one line.

mysql-test/suite/rpl/t/rpl_killed_ddl.test:
  putting the statement for $diff_statement variable in one line.
parent 00e6c3a8
...@@ -158,8 +158,7 @@ source include/kill_query_and_diff_master_slave.inc; ...@@ -158,8 +158,7 @@ source include/kill_query_and_diff_master_slave.inc;
######## EVENT ######## ######## EVENT ########
let $diff_statement= SELECT event_name, event_body, execute_at let $diff_statement= SELECT event_name, event_body, execute_at FROM information_schema.events where event_name like 'e%';
FROM information_schema.events where event_name like 'e%';
send CREATE EVENT e2 send CREATE EVENT e2
ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 DAY ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 DAY
......
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