| 1 |
RESET MASTER; |
| 2 |
CREATE TABLE t1 (c1 LONGTEXT) ENGINE = InnoDB; |
| 3 |
INSERT INTO t1 values(repeat("1", 5242880)); |
| 4 |
INSERT INTO t1 values(repeat("1", 5242880)); |
| 5 |
FLUSH BINARY LOGS; |
| 6 |
SET @saved_threshold= @@GLOBAL.binlog_large_commit_threshold; |
| 7 |
SET GLOBAL binlog_large_commit_threshold = 10 * 1024 * 1024; |
| 8 |
UPDATE t1 SET c1 = repeat('2', 5242880); |
| 9 |
include/show_binlog_events.inc |
| 10 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 11 |
master-bin.000002 # Gtid # # BEGIN GTID #-#-# |
| 12 |
master-bin.000002 # Annotate_rows # # UPDATE t1 SET c1 = repeat('2', 5242880) |
| 13 |
master-bin.000002 # Table_map # # table_id: # (test.t1) |
| 14 |
master-bin.000002 # Update_rows_v1 # # table_id: # |
| 15 |
master-bin.000002 # Update_rows_v1 # # table_id: # flags: STMT_END_F |
| 16 |
master-bin.000002 # Xid # # COMMIT /* XID */ |
| 17 |
SET GLOBAL binlog_large_commit_threshold = @saved_threshold; |
| 18 |
DROP TABLE t1; |