mariadb/mysql-test/r/rpl_ndb_do_db.result
unknown 756666d750 New cluster replication test cases for replication options
mysql-test/t/rpl_ndb_do_db-slave.opt:
  New cluster replication test case to test do_db option
mysql-test/t/rpl_ndb_do_db.test:
  New cluster replication test case to test do_db option
mysql-test/r/rpl_ndb_do_db.result:
  New cluster replication test case to test do_db option
mysql-test/r/rpl_ndb_do_table.result:
  New cluster replication test case to test do_table option
mysql-test/t/rpl_ndb_do_table-slave.opt:
  New cluster replication test case to test do_table option
mysql-test/t/rpl_ndb_do_table.test:
  New cluster replication test case to test do_table option
mysql-test/t/rpl_ndb_rep_ignore-slave.opt:
  New cluster replication test case to test replicate_ignore option(s)
mysql-test/t/rpl_ndb_rep_ignore.test:
  New cluster replication test case to test replicate_ignore option(s)
mysql-test/r/rpl_ndb_rep_ignore.result:
  New cluster replication test case to test replicate_ignore option(s)
2006-12-15 16:34:29 +01:00

60 lines
1.2 KiB
Text

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 DATABASE IF EXISTS replica;
Warnings:
Note 1008 Can't drop database 'replica'; database doesn't exist
CREATE DATABASE replica;
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;
USE replica;
CREATE TABLE replica.t1 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
CREATE TABLE replica.t2 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
USE test;
INSERT INTO t1 VALUES(1, repeat('abc',10));
INSERT INTO t2 VALUES(1, repeat('abc',10));
SHOW TABLES;
Tables_in_test
t1
t2
SELECT COUNT(*) FROM t1;
COUNT(*)
1
SELECT COUNT(*) FROM t2;
COUNT(*)
1
USE replica;
INSERT INTO replica.t1 VALUES(2, repeat('def',200));
INSERT INTO replica.t2 VALUES(2, repeat('def',200));
SHOW TABLES;
Tables_in_replica
t1
t2
SELECT COUNT(*) FROM t1;
COUNT(*)
1
SELECT COUNT(*) FROM t2;
COUNT(*)
1
SHOW TABLES;
Tables_in_test
USE replica;
SHOW TABLES;
Tables_in_replica
t1
t2
SELECT COUNT(*) FROM t1;
COUNT(*)
1
SELECT COUNT(*) FROM t2;
COUNT(*)
1
USE test;
SHOW TABLES;
Tables_in_test
USE test;
DROP TABLE t1, t2;
DROP DATABASE IF EXISTS replica;