Debian Codegraph @

mysql-test/suite/rpl/r/rpl_stm_gtid_disconnect_drop_temporary_table.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 CREATE TABLE t (a INT);
7 ---- 1. Disconnect after SET GTID_NEXT ----
8 include/rpl_connect.inc [creating con1]
9 [connection con1]
10 CREATE TEMPORARY TABLE tt (a INT);
11 SET GTID_NEXT = '#';
12 include/save_binlog_position.inc
13 include/gtid_step_reset.inc
14 # Disconnecting.
15 include/assert_binlog_events.inc [(Anonymous_)?Gtid # !Q(DROP.*TEMPORARY.*)]
16 include/sync_slave_sql_with_master.inc
17 include/assert.inc [Slave should not have any open temporary tables.]
18 include/gtid_step_assert.inc [count=1, only_count=0]
19 ---- 2. Disconnect in the middle of transaction ----
20 include/rpl_connect.inc [creating con1]
21 [connection con1]
22 CREATE TEMPORARY TABLE tt (a INT);
23 SET GTID_NEXT = '#';
24 BEGIN;
25 INSERT INTO t VALUES (1);
26 include/save_binlog_position.inc
27 include/gtid_step_reset.inc
28 # Disconnecting.
29 include/assert_binlog_events.inc [(Anonymous_)?Gtid # !Q(DROP.*TEMPORARY.*)]
30 include/sync_slave_sql_with_master.inc
31 include/assert.inc [Slave should not have any open temporary tables.]
32 include/gtid_step_assert.inc [count=1, only_count=0]
33 ---- 3. Disconnect after COMMIT ----
34 include/rpl_connect.inc [creating con1]
35 [connection con1]
36 CREATE TEMPORARY TABLE tt (a INT);
37 SET GTID_NEXT = '#';
38 BEGIN;
39 INSERT INTO t VALUES (1);
40 COMMIT;
41 include/save_binlog_position.inc
42 include/gtid_step_reset.inc
43 # Disconnecting.
44 include/assert_binlog_events.inc [(Anonymous_)?Gtid # !Q(DROP.*TEMPORARY.*)]
45 include/sync_slave_sql_with_master.inc
46 include/assert.inc [Slave should not have any open temporary tables.]
47 include/gtid_step_assert.inc [count=1, only_count=0]
48 ---- 4. Disconnect after ROLLBACK ----
49 include/rpl_connect.inc [creating con1]
50 [connection con1]
51 CREATE TEMPORARY TABLE tt (a INT);
52 SET GTID_NEXT = '#';
53 BEGIN;
54 INSERT INTO t VALUES (1);
55 ROLLBACK;
56 include/save_binlog_position.inc
57 include/gtid_step_reset.inc
58 # Disconnecting.
59 include/assert_binlog_events.inc [(Anonymous_)?Gtid # !Q(DROP.*TEMPORARY.*)]
60 include/sync_slave_sql_with_master.inc
61 include/assert.inc [Slave should not have any open temporary tables.]
62 include/gtid_step_assert.inc [count=1, only_count=0]
63 ---- Clean up ----
64 DROP TABLE t;
65 include/sync_slave_sql_with_master.inc
66 include/rpl_end.inc