Fixes to make rpl_user test pass in pushbuild.

parent 1ab703f0
...@@ -2,13 +2,19 @@ ...@@ -2,13 +2,19 @@
--source include/master-slave.inc --source include/master-slave.inc
reset master;
# #
# remove all users will be used in the test # remove all users will be used in the test
# #
connection master;
set sql_log_bin=0;
delete from mysql.user where Host='fakehost'; delete from mysql.user where Host='fakehost';
sync_slave_with_master; set sql_log_bin=1;
connection slave;
set sql_log_bin=0;
delete from mysql.user where Host='fakehost';
set sql_log_bin=1;
# #
# Test create user # Test create user
......
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