polardbxengine/mysql-test/suite/xengine_rpl_basic/t/rpl_charset_sjis.test

32 lines
814 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

--source include/not_group_replication_plugin.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;
--character_set binary
CALL p1 ('\\');
--character_set utf8mb4
select "--- on master ---";
select hex(a) from t1 ;
--source include/sync_slave_sql_with_master.inc
connection slave;
select "--- on slave ---";
select hex(a) from t1;
connection master;
drop table t1;
drop procedure p1;
--source include/sync_slave_sql_with_master.inc
connection master;
# End of 5.0 tests
--source include/rpl_end.inc
--connection master
--source suite/xengine/include/check_xengine_log_error.inc