Commit c48c21eb 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 6cf17332
...@@ -668,10 +668,12 @@ connection master; ...@@ -668,10 +668,12 @@ connection master;
--echo # Reaping 'insert into t1 (a) values (f1())'... --echo # Reaping 'insert into t1 (a) values (f1())'...
--error ER_SP_DOES_NOT_EXIST --error ER_SP_DOES_NOT_EXIST
--reap --reap
connection master1; connection master;
select * from t1; select * from t1;
sync_slave_with_master;
connection slave; connection slave;
select * from t1; select * from t1;
# Cleanup
connection master; connection master;
drop table t1, t2; drop table t1, t2;
--error ER_SP_DOES_NOT_EXIST --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