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.
This commit is contained in:
parent
08df87e473
commit
8bd1e19d68
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user