Commit 8bd1e19d authored by Konstantin Osipov's avatar Konstantin Osipov

Fix a sporadic failure of rpl_sp.test in next-4284 tree: when doing

SELECT * FROM t1 on slave, first make sure that the slave has received
the CREATE TABLE from the master.
parent 08df87e4
......@@ -668,10 +668,12 @@ connection master;
--echo # Reaping 'insert into t1 (a) values (f1())'...
--error ER_SP_DOES_NOT_EXIST
--reap
connection master1;
connection master;
select * from t1;
sync_slave_with_master;
connection slave;
select * from t1;
# Cleanup
connection master;
drop table t1, t2;
--error ER_SP_DOES_NOT_EXIST
......
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