Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_gtid_huge_gtid_set.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
7 ################################################################
8 # 1. Generate a huge GTID_EXECUTED with 70043 characters length.
9 # It will be like:
10 # aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:10000:10002:...:120000
11 include/assert.inc [GTID_EXECUTED must contain all 70043 characters]
12
13 ################################################################
14 # 2. Sync slave.
15 include/sync_slave_sql_with_master.inc
16 include/assert.inc [GTID_EXECUTED must contain all 70043 characters]
17
18 ################################################################
19 # 3. Execute some transactions and check that nothing bad happens.
20 # Validate that data is delivered to both servers.
21 [connection master]
22 CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
23 INSERT INTO t1 VALUES (1);
24 include/rpl_sync.inc
25 [connection master]
26 include/assert.inc ['There is a value 1 in table t1']
27 [connection slave]
28 include/assert.inc ['There is a value 1 in table t1']
29
30 ################################################################
31 # 4. Check that Retrieved transaction set it is equal to
32 # GTID_EXECUTED.
33 include/assert.inc ['Transactions_committed_all_members must be equal to GTID_EXECUTED']
34
35 ############################################################
36 # 5. Clean up.
37 [connection master]
38 DROP TABLE t1;
39 include/rpl_end.inc