mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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'
This commit is contained in:
24
mysql-test/suite/rpl/r/rpl_sp_variables.result
Normal file
24
mysql-test/suite/rpl/r/rpl_sp_variables.result
Normal file
@ -0,0 +1,24 @@
|
||||
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'
|
||||
#
|
||||
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오
|
||||
SET NAMES utf8;
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
2017오
|
||||
DROP PROCEDURE p1;
|
||||
DROP TABLE t1;
|
||||
include/rpl_end.inc
|
Reference in New Issue
Block a user