Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_gtid_purged_settable.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 [connection slave]
7 include/gtid_utils.inc
8 include/rpl_reset.inc
9 [connection master]
10 RESET MASTER;
11 CREATE DATABASE db;
12 CREATE TABLE db.t (a INT);
13 INSERT INTO db.t SET a=1;
14 FLUSH LOGS;
15 PURGE BINARY LOGS TO 'master-bin.000002';
16 SHOW WARNINGS;
17 Level Code Message
18 [connection slave]
19 SET @@GTID_NEXT='11111111-1111-1111-1111-111111111111:1';
20 BEGIN;
21 COMMIT;
22 SET @@GTID_NEXT=AUTOMATIC;
23 [connection slave]
24 CHANGE REPLICATION SOURCE TO SOURCE_AUTO_POSITION= 1;
25 include/start_slave.inc
26 [connection master]
27 DROP DATABASE db;
28 include/sync_slave_sql_with_master.inc
29 [connection master]
30 SET @@GTID_NEXT='11111111-1111-1111-1111-111111111111:1';
31 BEGIN;
32 COMMIT;
33 SET @@GTID_NEXT=AUTOMATIC;
34 include/sync_slave_sql_with_master.inc
35 [connection master]
36 [connection slave]
37 include/assert.inc [The slave's GTID_PURGED must be equal to the master's one]
38 include/assert.inc [The slave's GTID_EXECUTED must be equal to the master's one]
39 include/gtid_utils_end.inc
40 include/rpl_end.inc