mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.2 into bb-10.2-ext
This commit is contained in:
@@ -113,7 +113,7 @@ SET @old_dbug= @@GLOBAL.debug_dbug;
|
||||
SET GLOBAL debug_dbug="+d,dummy_disable_default_dbug_output";
|
||||
SET GLOBAL debug_dbug="+d,gtid_fail_after_record_gtid";
|
||||
SET sql_log_bin=0;
|
||||
CALL mtr.add_suppression('Got error 131 "Command not supported by database" during COMMIT');
|
||||
CALL mtr.add_suppression('Got error 131 "Command not supported by the engine" during COMMIT');
|
||||
SET sql_log_bin=1;
|
||||
START SLAVE;
|
||||
include/wait_for_slave_sql_error.inc [errno=1180]
|
||||
|
28
mysql-test/suite/rpl/r/rpl_sp_variables.result
Normal file
28
mysql-test/suite/rpl/r/rpl_sp_variables.result
Normal file
@@ -0,0 +1,28 @@
|
||||
include/master-slave.inc
|
||||
[connection master]
|
||||
#
|
||||
# MDEV-13685 Can not replay binary log due to Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'concat'
|
||||
#
|
||||
connection master;
|
||||
SET NAMES utf8;
|
||||
CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET utf8);
|
||||
CREATE PROCEDURE p1()
|
||||
BEGIN
|
||||
DECLARE v_id INT DEFAULT 2017;
|
||||
INSERT INTO test.t1 SELECT CONCAT(v_id, '오');
|
||||
END;
|
||||
$$
|
||||
CALL p1;
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
2017오
|
||||
connection slave;
|
||||
SET NAMES utf8;
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
2017오
|
||||
connection master;
|
||||
DROP PROCEDURE p1;
|
||||
DROP TABLE t1;
|
||||
connection slave;
|
||||
include/rpl_end.inc
|
@@ -132,7 +132,7 @@ SET @old_dbug= @@GLOBAL.debug_dbug;
|
||||
SET GLOBAL debug_dbug="+d,dummy_disable_default_dbug_output";
|
||||
SET GLOBAL debug_dbug="+d,gtid_fail_after_record_gtid";
|
||||
SET sql_log_bin=0;
|
||||
CALL mtr.add_suppression('Got error 131 "Command not supported by database" during COMMIT');
|
||||
CALL mtr.add_suppression('Got error 131 "Command not supported by the engine" during COMMIT');
|
||||
SET sql_log_bin=1;
|
||||
START SLAVE;
|
||||
--let $slave_sql_errno= 1180
|
||||
|
28
mysql-test/suite/rpl/t/rpl_sp_variables.test
Normal file
28
mysql-test/suite/rpl/t/rpl_sp_variables.test
Normal file
@@ -0,0 +1,28 @@
|
||||
source include/master-slave.inc;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-13685 Can not replay binary log due to Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'concat'
|
||||
--echo #
|
||||
|
||||
connection master;
|
||||
SET NAMES utf8;
|
||||
CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET utf8);
|
||||
DELIMITER $$;
|
||||
CREATE PROCEDURE p1()
|
||||
BEGIN
|
||||
DECLARE v_id INT DEFAULT 2017;
|
||||
INSERT INTO test.t1 SELECT CONCAT(v_id, '오');
|
||||
END;
|
||||
$$
|
||||
DELIMITER ;$$
|
||||
CALL p1;
|
||||
SELECT * FROM t1;
|
||||
sync_slave_with_master;
|
||||
SET NAMES utf8;
|
||||
SELECT * FROM t1;
|
||||
connection master;
|
||||
DROP PROCEDURE p1;
|
||||
DROP TABLE t1;
|
||||
sync_slave_with_master;
|
||||
|
||||
--source include/rpl_end.inc
|
Reference in New Issue
Block a user