Current Path : /home/usr.opt/mysql57/mysql-test/suite/jp/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/jp/t/jp_select_sjis.test |
--source include/have_sjis.inc --source include/have_innodb.inc --character_set sjis --disable_warnings drop table if exists `‚s‚P`; drop table if exists `‚s‚Q`; drop table if exists `‚s‚R`; drop table if exists `‚s‚S`; drop table if exists `‚s‚T`; drop table if exists `‚s‚U`; drop table if exists `‚s‚V`; drop table if exists `‚s‚W`; drop table if exists `‚s‚X`; --enable_warnings # # Test Displaying Japanese charact in sjis encoding # SET NAMES sjis; SET character_set_database = sjis; CREATE TABLE `‚s‚P` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb; CREATE TABLE `‚s‚Q` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb; CREATE TABLE `‚s‚R` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb; CREATE TABLE `‚s‚S` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam; CREATE TABLE `‚s‚T` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam; CREATE TABLE `‚s‚U` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam; CREATE TABLE `‚s‚V` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = MEMORY; CREATE TABLE `‚s‚W` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = MEMORY; CREATE TABLE `‚s‚X` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = MEMORY; #Load the following data in each table # jisx0201 hankaku-katakana data # jisx0208 data # jisx0212 supplemental character data LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `‚s‚P`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `‚s‚Q`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `‚s‚R`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `‚s‚S`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `‚s‚T`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `‚s‚U`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `‚s‚V`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `‚s‚W`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `‚s‚X`; #InnoDB SELECT * FROM `‚s‚P`; SELECT * FROM `‚s‚Q`; SELECT * FROM `‚s‚R`; #MyISAM SELECT * FROM `‚s‚S`; SELECT * FROM `‚s‚T`; SELECT * FROM `‚s‚U`; #MEMORY SELECT * FROM `‚s‚V`; SELECT * FROM `‚s‚W`; SELECT * FROM `‚s‚X`; drop table `‚s‚P`; drop table `‚s‚Q`; drop table `‚s‚R`; drop table `‚s‚S`; drop table `‚s‚T`; drop table `‚s‚U`; drop table `‚s‚V`; drop table `‚s‚W`; drop table `‚s‚X`;