Skip to content

Commit f1ce69f

Browse files
committed
Merge branch '10.1' into 10.2
But without f4f48e0..f8a800b - fixes for MDEV-12672 and related issues. 10.2 specific fix follows...
2 parents 3fbd4aa + f8a800b commit f1ce69f

File tree

90 files changed

+294
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+294
-100
lines changed

cmake/CMakeLis.txt

Whitespace-only changes.

mysql-test/extra/rpl_tests/rpl_cant_read_event_incident.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# and replication is started from it.
1919
#
2020

21-
--source include/master-slave.inc
2221
--source include/have_binlog_format_mixed.inc
22+
--source include/master-slave.inc
2323

2424
--connection slave
2525
# Make sure the slave is stopped while we are messing with master.

mysql-test/extra/rpl_tests/rpl_checksum.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# WL2540 replication events checksum
88
# Testing configuration parameters
99

10-
--source include/master-slave.inc
1110
--source include/have_debug.inc
1211
--source include/have_binlog_format_mixed.inc
12+
--source include/master-slave.inc
1313

1414
call mtr.add_suppression('Slave can not handle replication events with the checksum that master is configured to log');
1515
call mtr.add_suppression('Replication event checksum verification failed');

mysql-test/extra/rpl_tests/rpl_init_slave_errors.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
# Configuring the Environment
3636
######################################################################
3737
source include/have_debug.inc;
38-
source include/master-slave.inc;
3938
source include/have_log_bin.inc;
39+
source include/master-slave.inc;
4040

4141
connection slave;
4242

mysql-test/extra/rpl_tests/rpl_loaddata.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# check if START SLAVE, RESET SLAVE, CHANGE MASTER reset Last_slave_error and
1212
# Last_slave_errno in SHOW SLAVE STATUS (1st and 3rd commands did not: bug 986)
1313

14-
-- source include/master-slave.inc
1514
source include/have_innodb.inc;
15+
source include/master-slave.inc;
1616

1717
--disable_query_log
1818
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");

mysql-test/extra/rpl_tests/rpl_packet.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
# BUG#55322: SHOW BINLOG EVENTS increases @@SESSION.MAX_ALLOWED_PACKET
1616

1717
# max-out size db name
18-
source include/master-slave.inc;
1918
source include/have_binlog_format_row.inc;
19+
source include/master-slave.inc;
20+
2021
call mtr.add_suppression("Slave I/O: Got a packet bigger than 'slave_max_allowed_packet' bytes, .*error.* 1153");
2122
call mtr.add_suppression("Log entry on master is longer than slave_max_allowed_packet");
2223
let $db= DB_NAME_OF_MAX_LENGTH_AKA_NAME_LEN_64_BYTES_____________________;

mysql-test/extra/rpl_tests/rpl_skip_replication.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# so if it is needed, it should be set explicitly before each call.
1717
#
1818

19-
--source include/master-slave.inc
2019
--source include/have_innodb.inc
20+
--source include/master-slave.inc
2121

2222
connection slave;
2323
# Test that SUPER is required to change @@replicate_events_marked_for_skip.

mysql-test/extra/rpl_tests/rpl_stm_relay_ign_space.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
# IO thread does not do it in an uncontrolled manner.
2626

2727
--source include/have_binlog_format_statement.inc
28-
--source include/master-slave.inc
2928
--source include/have_innodb.inc
29+
--source include/master-slave.inc
3030

3131
--disable_query_log
3232
CREATE TABLE t1 (c1 TEXT) engine=InnoDB;

mysql-test/extra/rpl_tests/rpl_sync.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
# Configuring the environment
3333
########################################################################################
3434
--echo =====Configuring the enviroment=======;
35-
--source include/master-slave.inc
3635
--source include/not_embedded.inc
3736
--source include/not_valgrind.inc
3837
--source include/have_debug.inc
3938
--source include/have_innodb.inc
4039
--source include/not_crashrep.inc
40+
--source include/master-slave.inc
4141

4242
call mtr.add_suppression('Attempting backtrace');
4343
call mtr.add_suppression("Recovery from master pos .* and file master-bin.000001");

mysql-test/r/insert.result

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,3 +745,9 @@ f1 f2
745745
drop view v1;
746746
drop table t1;
747747
SET @@sql_mode= @save_mode;
748+
CREATE TABLE t1 (f INT);
749+
CREATE VIEW v1 AS SELECT * FROM t1 WHERE f <=> 'foo' WITH CHECK OPTION;
750+
REPLACE INTO v1 SET f = NULL;
751+
ERROR 22007: Truncated incorrect DOUBLE value: 'foo'
752+
DROP VIEW v1;
753+
DROP TABLE t1;

0 commit comments

Comments
 (0)