mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
BUG#20677: Sporadic failure of test case 'ndb_binlog_multi'.
Start test case with a dummy table create and drop. This ensures that NDB event subscription is properly set up before the real test starts, which otherwise could sometimes cause INSERT events to be lost. mysql-test/r/ndb_binlog_multi.result: Start test with dummy table create/drop to avoid a race. mysql-test/t/ndb_binlog_multi.test: Start test with dummy table create/drop to avoid a race.
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
drop table if exists t1,t2;
|
||||
drop table if exists t1,t2;
|
||||
drop table if exists t1,t2,t3;
|
||||
drop table if exists t1,t2,t3;
|
||||
CREATE TABLE t3 (dummy INT PRIMARY KEY) ENGINE = NDB;
|
||||
DROP TABLE t3;
|
||||
reset master;
|
||||
reset master;
|
||||
CREATE TABLE t2 (a INT PRIMARY KEY, b int) ENGINE = NDB;
|
||||
|
Reference in New Issue
Block a user