Debian Codegraph @

mysql-test/suite/rpl/r/rpl_compress_bound.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 ==== Initialize ====
7 SET @@session.binlog_transaction_compression = 1;
8 CREATE TABLE t (info TEXT, data BLOB);
9 # Adding debug point 'binlog_transaction_compression_max_size_800' to @@GLOBAL.debug
10 ==== Test ====
11 INSERT INTO t VALUES('compressible', REPEAT('a', 1024));
12 INSERT INTO t VALUES('non-compressible', RANDOM_BYTES(1024));
13 include/sync_slave_sql_with_master.inc
14 [connection master]
15 ==== Validate ====
16 include/save_binlog_position.inc
17 include/show_binlog_events.inc
18 Log_name Pos Event_type Server_id End_log_pos Info
19 master-bin.000001 # Query # # use `test`; CREATE TABLE t (info TEXT, data BLOB)
20 master-bin.000001 # Transaction_payload # # compression='ZSTD', decompressed_size=## bytes
21 master-bin.000001 # Query # # BEGIN
22 master-bin.000001 # Table_map # # table_id: # (test.t)
23 master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
24 master-bin.000001 # Xid # # COMMIT /* XID */
25 master-bin.000001 # Query # # BEGIN
26 master-bin.000001 # Table_map # # table_id: # (test.t)
27 master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
28 master-bin.000001 # Xid # # COMMIT /* XID */
29 ==== Clean up ====
30 # Removing debug point 'binlog_transaction_compression_max_size_800' from @@GLOBAL.debug
31 DROP TABLE t;
32 include/sync_slave_sql_with_master.inc
33 include/rpl_end.inc