Debian Codegraph @

mysql-test/suite/rpl_nogtid/r/rpl_mts_submode_switch.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 call mtr.add_suppression("Statement is unsafe because it uses a system function that may return a different value on the replica");
7 SET GLOBAL DEBUG ='+d,set_commit_parent_100';
8 SET GLOBAL replica_parallel_type=LOGICAL_CLOCK;
9 ERROR HY000: This operation cannot be performed with a running replica sql thread; run STOP REPLICA SQL_THREAD first
10 include/stop_slave.inc
11 FLUSH LOGS;
12 create database db1;
13 create database db2;
14 create database db3;
15 create database db4;
16 FLUSH LOGS;
17 #setup the databases and tables
18 CREATE TABLE db1.t (a int) engine=innodb;
19 CREATE TEMPORARY TABLE db1.t_temp (a int) engine=innodb;
20 CREATE TABLE db2.t (a int) engine=myisam;
21 CREATE TEMPORARY TABLE db2.t_temp (a int) engine=innodb;
22 SET GLOBAL DEBUG ='-d,set_commit_parent_100';
23 CREATE TABLE db3.t engine=innodb select 100*RAND() as a;
24 CREATE TEMPORARY TABLE db3.t_temp (a int) engine=innodb;
25 SET @VAR=100;
26 CREATE TABLE db4.t engine=myisam select @VAR as a;
27 CREATE TEMPORARY TABLE db4.t_temp (a int) engine=innodb;
28 SET GLOBAL DEBUG ='+d,set_commit_parent_100';
29 FLUSH LOGS;
30 TRUNCATE db3.t;
31 FLUSH LOGS;
32 INSERT INTO db2.t values (1),(2),(3);
33 INSERT INTO db4.t values (1),(2),(3);
34 FLUSH LOGS;
35 INSERT INTO db1.t_temp values (1),(2),(3);
36 INSERT INTO db2.t_temp values (1),(2),(3);
37 INSERT INTO db3.t_temp values (1),(2),(3);
38 INSERT INTO db4.t_temp values (1),(2),(3);
39 FLUSH LOGS;
40 BEGIN;
41 INSERT INTO db1.t values (1),(2),(3);
42 INSERT INTO db1.t values (1),(2),(3);
43 UPDATE db1.t SET db1.t.a= 2 WHERE db1.t.a > 2;
44 COMMIT;
45 BEGIN;
46 INSERT INTO db3.t values (1),(2),(3);
47 INSERT INTO db3.t values (1),(2),(3);
48 UPDATE db3.t SET db3.t.a= 2 WHERE db3.t.a > 2;
49 COMMIT;
50 FLUSH LOGS;
51 BEGIN;
52 INSERT INTO db2.t values (1),(2),(3);
53 INSERT INTO db3.t values (1),(2),(3);
54 UPDATE db3.t SET db3.t.a= 2 WHERE db3.t.a > 2;
55 COMMIT;
56 BEGIN;
57 INSERT INTO db1.t values (1),(2),(3);
58 INSERT INTO db4.t values (1),(2),(3);
59 UPDATE db1.t SET db1.t.a= 2 WHERE db1.t.a > 2;
60 COMMIT;
61 SET GLOBAL DEBUG ='-d,set_commit_parent_100';
62 DROP TABLE db1.t_temp;
63 DROP TABLE db2.t_temp;
64 DROP TABLE db3.t_temp;
65 DROP TABLE db4.t_temp;
66 SET GLOBAL replica_parallel_type='DATABASE';
67 Warnings:
68 Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
69 include/start_slave.inc
70 include/sync_slave_sql_with_master.inc
71 include/diff_tables.inc [master:db1.t,slave:db1.t]
72 include/diff_tables.inc [master:db2.t, slave:db2.t]
73 include/diff_tables.inc [master:db3.t, slave:db3.t]
74 include/diff_tables.inc [master:db4.t, slave:db4.t]
75 include/stop_slave.inc
76 RESET SLAVE;
77 Warnings:
78 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
79 DROP DATABASE db1;
80 DROP DATABASE db2;
81 DROP DATABASE db3;
82 DROP DATABASE db4;
83 SET GLOBAL replica_parallel_type='LOGICAL_CLOCK';
84 Warnings:
85 Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
86 include/start_slave.inc
87 include/sync_slave_sql_with_master.inc
88 include/diff_tables.inc [master:db1.t, slave:db1.t]
89 include/diff_tables.inc [master:db2.t, slave:db2.t]
90 include/diff_tables.inc [master:db3.t, slave:db3.t]
91 include/diff_tables.inc [master:db4.t, slave:db4.t]
92 include/stop_slave.inc
93 RESET SLAVE;
94 Warnings:
95 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
96 DROP DATABASE db1;
97 DROP DATABASE db2;
98 DROP DATABASE db3;
99 DROP DATABASE db4;
100 SET GLOBAL replica_parallel_type='DATABASE';
101 Warnings:
102 Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
103 include/start_slave.inc
104 include/sync_slave_sql_with_master.inc
105 include/diff_tables.inc [master:db1.t, slave:db1.t]
106 include/diff_tables.inc [master:db2.t, slave:db2.t]
107 include/diff_tables.inc [master:db3.t, slave:db3.t]
108 include/diff_tables.inc [master:db4.t, slave:db4.t]
109 include/stop_slave.inc
110 SET GLOBAL REPLICA_PARALLEL_TYPE=DEFAULT;
111 Warnings:
112 Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
113 include/start_slave.inc
114 DROP DATABASE db1;
115 DROP DATABASE db2;
116 DROP DATABASE db3;
117 DROP DATABASE db4;
118 include/stop_slave.inc
119 include/start_slave.inc
120 include/rpl_end.inc