Skip to content

Commit 4cfb6ed

Browse files
committed
Merge 10.4 into 10.5
2 parents 97d8280 + 8afabca commit 4cfb6ed

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

mysql-test/suite/galera/r/galera_binlog_stmt_autoinc.result

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ c char(32) DEFAULT 'dummy_text',
1212
PRIMARY KEY (i)
1313
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
1414
insert into t1(i) values(null);
15+
Warnings:
16+
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the slave
1517
select * from t1;
1618
i c
1719
1 dummy_text
1820
insert into t1(i) values(null), (null), (null);
21+
Warnings:
22+
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the slave
1923
select * from t1;
2024
i c
2125
1 dummy_text
@@ -46,10 +50,14 @@ c char(32) DEFAULT 'dummy_text',
4650
PRIMARY KEY (i)
4751
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
4852
insert into t1(i) values(null);
53+
Warnings:
54+
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the slave
4955
select * from t1;
5056
i c
5157
1 dummy_text
5258
insert into t1(i) values(null), (null), (null);
59+
Warnings:
60+
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the slave
5361
select * from t1;
5462
i c
5563
1 dummy_text

mysql-test/suite/galera/t/galera_binlog_stmt_autoinc.test

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,17 @@
1818
--connection node_2
1919
SET GLOBAL wsrep_forced_binlog_format='STATEMENT';
2020

21+
--disable_query_log
22+
call mtr.add_suppression("Unsafe statement written to the binary log");
23+
--enable_query_log
24+
2125
--connection node_1
2226
SET GLOBAL wsrep_forced_binlog_format='STATEMENT';
2327

28+
--disable_query_log
29+
call mtr.add_suppression("Unsafe statement written to the binary log");
30+
--enable_query_log
31+
2432
CREATE TABLE t1 (
2533
i int(11) NOT NULL AUTO_INCREMENT,
2634
c char(32) DEFAULT 'dummy_text',

0 commit comments

Comments
 (0)