mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
26 lines
590 B
Text
26 lines
590 B
Text
|
source include/have_sjis.inc;
|
|||
|
source include/master-slave.inc;
|
|||
|
|
|||
|
--disable_warnings
|
|||
|
drop table if exists t1;
|
|||
|
drop procedure if exists p1;
|
|||
|
--enable_warnings
|
|||
|
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 ---";
|
|||
|
select hex(a) from t1 ;
|
|||
|
sync_slave_with_master;
|
|||
|
connection slave;
|
|||
|
select "--- on slave ---";
|
|||
|
select hex(a) from t1;
|
|||
|
connection master;
|
|||
|
drop table t1;
|
|||
|
drop procedure p1;
|
|||
|
sync_slave_with_master;
|
|||
|
connection master;
|
|||
|
|
|||
|
# End of 5.0 tests
|