jp_ps_sjis.test
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:13k
- --character_set sjis
- --disable_warnings
- DROP TABLE IF EXISTS t1;
- DROP TABLE IF EXISTS t2;
- DROP TABLE IF EXISTS t3;
- DROP TABLE IF EXISTS t4;
- --enable_warnings
- #
- # Test Prepares Statement with Japanese character in sjis encoding
- #
- SET NAMES sjis;
- SET character_set_database = sjis;
- ### Test InnoDB ###
- CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = InnoDB;
- CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = InnoDB;
- CREATE TABLE t3(
- `盽 char(1),
- `偁` char(1),
- `昞` char(1)
- )DEFAULT CHARSET = sjis ENGINE = InnoDB;
- CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = sjis ENGINE = InnoDB;
- INSERT INTO t1 VALUES ('xxx');
- INSERT INTO t2 VALUES ('眰爼');
- INSERT INTO t3 VALUES ('x','x','x'),('x','x','x'),('y','y','y'),('y','y','y'),('z','z','z'),('z','z','z');
- INSERT INTO t4 VALUES ('