mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
27 lines
608 B
Text
27 lines
608 B
Text
|
stop slave;
|
|||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|||
|
reset master;
|
|||
|
reset slave;
|
|||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|||
|
start slave;
|
|||
|
drop table if exists t1;
|
|||
|
drop procedure if exists p1;
|
|||
|
create table t1 (a varchar(255) character set sjis);
|
|||
|
create procedure p1 (in a varchar(255) character set sjis) insert into t1 values (a);
|
|||
|
SET NAMES binary;
|
|||
|
CALL p1 ('<27>\\');
|
|||
|
select "--- on master ---";
|
|||
|
--- on master ---
|
|||
|
--- on master ---
|
|||
|
select hex(a) from t1 ;
|
|||
|
hex(a)
|
|||
|
965C
|
|||
|
select "--- on slave ---";
|
|||
|
--- on slave ---
|
|||
|
--- on slave ---
|
|||
|
select hex(a) from t1;
|
|||
|
hex(a)
|
|||
|
965C
|
|||
|
drop table t1;
|
|||
|
drop procedure p1;
|