Debian Codegraph @

mysql-test/suite/ndb_rpl/r/ndb_rpl_rep_ignore.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 DROP DATABASE IF EXISTS replica;
7 CREATE DATABASE replica;
8 CREATE TABLE t1 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
9 CREATE TABLE t2 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
10 USE replica;
11 CREATE TABLE replica.t1 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
12 CREATE TABLE replica.t2 (a INT NOT NULL KEY, b text NOT NULL)ENGINE=NDB;
13 USE test;
14 INSERT INTO t1 VALUES(1, repeat('abc',10));
15 INSERT INTO t2 VALUES(1, repeat('abc',10));
16 SHOW TABLES;
17 Tables_in_test
18 t1
19 t2
20 SELECT COUNT(*) FROM t1;
21 COUNT(*)
22 1
23 SELECT COUNT(*) FROM t2;
24 COUNT(*)
25 1
26 USE replica;
27 INSERT INTO replica.t1 VALUES(2, repeat('def',200));
28 INSERT INTO replica.t2 VALUES(2, repeat('def',200));
29 SHOW TABLES;
30 Tables_in_replica
31 t1
32 t2
33 SELECT COUNT(*) FROM t1;
34 COUNT(*)
35 1
36 SELECT COUNT(*) FROM t2;
37 COUNT(*)
38 1
39 SHOW TABLES;
40 Tables_in_test
41 USE replica;
42 SHOW TABLES;
43 Tables_in_replica
44 t2
45 SELECT COUNT(*) FROM t2;
46 COUNT(*)
47 1
48 USE test;
49 SHOW TABLES;
50 Tables_in_test
51 USE test;
52 DROP TABLE t1, t2;
53 DROP DATABASE IF EXISTS replica;
54 include/rpl_end.inc