Debian Codegraph @

mysql-test/suite/binlog/r/binlog_mdev342.result

raw
1 SET GLOBAL max_binlog_size= 4096;
2 SET GLOBAL innodb_flush_log_at_trx_commit= 1;
3 RESET MASTER;
4 CREATE TABLE t1 (a INT PRIMARY KEY, b MEDIUMTEXT) ENGINE=Innodb;
5 INSERT INTO t1 VALUES(100, "MDEV-515");
6 connect con1,localhost,root,,;
7 SET DEBUG_SYNC= "binlog_open_before_update_index SIGNAL con1_ready WAIT_FOR con1_cont";
8 SET SESSION debug_dbug="+d,crash_create_critical_before_update_index";
9 INSERT INTO t1 VALUES (1, REPEAT("x", 4100));
10 connection default;
11 SET DEBUG_SYNC= "now WAIT_FOR con1_ready";
12 connect con2,localhost,root,,;
13 SET DEBUG_SYNC= "ha_commit_trans_after_prepare SIGNAL con2_ready";
14 INSERT INTO t1 VALUES (2, NULL);
15 connection default;
16 SET DEBUG_SYNC= "now WAIT_FOR con2_ready";
17 SET DEBUG_SYNC= "now SIGNAL con1_cont";
18 connection con1;
19 Got one of the listed errors
20 connection default;
21 SELECT a FROM t1 ORDER BY a;
22 a
23 1
24 100
25 show binary logs;
26 Log_name File_size
27 master-bin.000001 #
28 master-bin.000002 #
29 include/show_binlog_events.inc
30 Log_name Pos Event_type Server_id End_log_pos Info
31 master-bin.000001 # Format_desc # # SERVER_VERSION, BINLOG_VERSION
32 master-bin.000001 # Gtid_list # # []
33 master-bin.000001 # Binlog_checkpoint # # master-bin.000001
34 master-bin.000001 # Gtid # # GTID #-#-#
35 master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a INT PRIMARY KEY, b MEDIUMTEXT) ENGINE=Innodb
36 master-bin.000001 # Gtid # # BEGIN GTID #-#-#
37 master-bin.000001 # Annotate_rows # # INSERT INTO t1 VALUES(100, "MDEV-515")
38 master-bin.000001 # Table_map # # table_id: # (test.t1)
39 master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
40 master-bin.000001 # Xid # # COMMIT /* XID */
41 master-bin.000001 # Gtid # # BEGIN GTID #-#-#
42 master-bin.000001 # Annotate_rows # # INSERT INTO t1 VALUES (1, REPEAT("x", 4100))
43 master-bin.000001 # Table_map # # table_id: # (test.t1)
44 master-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F
45 master-bin.000001 # Xid # # COMMIT /* XID */
46 master-bin.000001 # Rotate # # master-bin.000002;pos=POS
47 connection default;
48 DROP TABLE t1;