Debian Codegraph @

mysql-test/suite/binlog_encryption/binlog_ioerr.result

raw
1 CALL mtr.add_suppression("Error writing file 'master-bin'");
2 RESET MASTER;
3 CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb;
4 INSERT INTO t1 VALUES(0);
5 SET @saved_dbug = @@SESSION.debug_dbug;
6 SET SESSION debug_dbug='+d,fail_binlog_write_1';
7 SET GLOBAL binlog_legacy_event_pos= 1;
8 INSERT INTO t1 VALUES(1);
9 ERROR HY000: Error writing file 'master-bin' (errno: 28 "No space left on device")
10 INSERT INTO t1 VALUES(2);
11 ERROR HY000: Error writing file 'master-bin' (errno: 28 "No space left on device")
12 SET SESSION debug_dbug=@saved_dbug;
13 SET GLOBAL binlog_legacy_event_pos= 0;
14 INSERT INTO t1 VALUES(3);
15 SELECT * FROM t1;
16 a
17 0
18 3
19 SHOW BINLOG EVENTS;
20 Log_name Pos Event_type Server_id End_log_pos Info
21 BINLOG POS Format_desc 1 ENDPOS Server ver: #, Binlog ver: #
22 BINLOG POS Start_encryption 1 ENDPOS
23 BINLOG POS Gtid_list 1 ENDPOS []
24 BINLOG POS Binlog_checkpoint 1 ENDPOS master-bin.000001
25 BINLOG POS Gtid 1 ENDPOS GTID 0-1-1
26 BINLOG POS Query 1 ENDPOS use `test`; CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb
27 BINLOG POS Gtid 1 ENDPOS BEGIN GTID 0-1-2
28 BINLOG POS Query 1 ENDPOS use `test`; INSERT INTO t1 VALUES(0)
29 BINLOG POS Xid 1 ENDPOS COMMIT /* XID */
30 BINLOG POS Gtid 1 ENDPOS BEGIN GTID 0-1-3
31 BINLOG POS Gtid 1 ENDPOS BEGIN GTID 0-1-4
32 BINLOG POS Gtid 1 ENDPOS BEGIN GTID 0-1-5
33 BINLOG POS Query 1 ENDPOS use `test`; INSERT INTO t1 VALUES(3)
34 BINLOG POS Xid 1 ENDPOS COMMIT /* XID */
35 DROP TABLE t1;