mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
New cluster replication test cases for replication options
This commit is contained in:

parent
2dbdd8ba58
commit
46e8ad7822
25
mysql-test/r/rpl_ndb_do_table.result
Normal file
25
mysql-test/r/rpl_ndb_do_table.result
Normal file
@ -0,0 +1,25 @@
|
||||
stop slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
reset master;
|
||||
reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
start slave;
|
||||
DROP TABLE IF EXISTS t1, t2;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
Note 1051 Unknown table 't2'
|
||||
CREATE TABLE t1 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
|
||||
CREATE TABLE t2 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
|
||||
INSERT INTO t1 VALUES(1, repeat('abc',10));
|
||||
INSERT INTO t1 VALUES(2, repeat('def',200));
|
||||
INSERT INTO t1 VALUES(3, repeat('ghi',3000));
|
||||
INSERT INTO t2 VALUES(1, repeat('abc',10));
|
||||
INSERT INTO t2 VALUES(2, repeat('def',200));
|
||||
INSERT INTO t2 VALUES(3, repeat('ghi',3000));
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
t1
|
||||
SELECT COUNT(*) FROM t1;
|
||||
COUNT(*)
|
||||
3
|
||||
DROP TABLE IF EXISTS t1, t2;
|
Reference in New Issue
Block a user