~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_charset_sjis.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
Import upstream version 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
source include/have_sjis.inc;
 
2
source include/master-slave.inc;
 
3
 
 
4
--disable_warnings
 
5
drop table if exists t1;
 
6
drop procedure if exists p1;
 
7
--enable_warnings
 
8
create table t1 (a varchar(255) character set sjis);
 
9
create procedure p1 (in a varchar(255) character set sjis) insert into t1 values (a);
 
10
 
 
11
SET NAMES binary;
 
12
CALL p1 ('�\\');
 
13
select "--- on master ---";
 
14
select hex(a) from t1 ;
 
15
sync_slave_with_master;
 
16
connection slave;
 
17
select "--- on slave ---";
 
18
select hex(a) from t1;
 
19
connection master;
 
20
drop table t1;
 
21
drop procedure p1;
 
22
sync_slave_with_master;
 
23
connection master;
 
24
 
 
25
# End of 5.0 tests