Current Path : /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 : //usr/opt/mysql57/mysql-test/suite/jp/t/jp_insert_sjis.test |
--source include/have_sjis.inc --source include/have_innodb.inc --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`; drop table if exists `T5`; drop table if exists `T6`; drop table if exists `T7`; drop table if exists `T8`; drop table if exists `T9`; --enable_warnings # # Test INSERT() function with Japanese characters in sjis encoding # SET NAMES sjis; SET character_set_database = sjis; CREATE TABLE `T1` (`C1` char(5)) DEFAULT CHARSET = sjis engine = innodb; CREATE TABLE `T2` (`C1` char(5)) DEFAULT CHARSET = sjis engine = innodb; CREATE TABLE `T3` (`C1` char(5)) DEFAULT CHARSET = sjis engine = innodb; CREATE TABLE `T4` (`C1` char(5)) DEFAULT CHARSET = sjis engine = myisam; CREATE TABLE `T5` (`C1` char(5)) DEFAULT CHARSET = sjis engine = myisam; CREATE TABLE `T6` (`C1` char(5)) DEFAULT CHARSET = sjis engine = myisam; CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = sjis engine = MEMORY; CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = sjis engine = MEMORY; CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = sjis engine = MEMORY; INSERT INTO `T1` VALUES ('アイウエオ'); INSERT INTO `T2` VALUES ('あいうえお'); INSERT INTO `T3` VALUES ('ソ十表予構'); INSERT INTO `T4` VALUES ('アイウエオ'); INSERT INTO `T5` VALUES ('あいうえお'); INSERT INTO `T6` VALUES ('ソ十表予構'); INSERT INTO `T7` VALUES ('アイウエオ'); INSERT INTO `T8` VALUES ('あいうえお'); INSERT INTO `T9` VALUES ('ソ十表予構'); #InnoDB SELECT INSERT(`C1`,1,1,'カ') FROM `T1`; SELECT INSERT(`C1`,1,2,'カキ') FROM `T1`; SELECT INSERT(`C1`,1,3,'カキク') FROM `T1`; SELECT INSERT(`C1`,1,4,'カキクケ') FROM `T1`; SELECT INSERT(`C1`,1,5,'カキクケコ') FROM `T1`; SELECT INSERT(`C1`,2,1,'キ') FROM `T1`; SELECT INSERT(`C1`,2,2,'キク') FROM `T1`; SELECT INSERT(`C1`,2,3,'キクケ') FROM `T1`; SELECT INSERT(`C1`,2,4,'キクケコ') FROM `T1`; SELECT INSERT(`C1`,3,1,'ク') FROM `T1`; SELECT INSERT(`C1`,3,2,'クケ') FROM `T1`; SELECT INSERT(`C1`,3,3,'クケコ') FROM `T1`; SELECT INSERT(`C1`,4,1,'ケ') FROM `T1`; SELECT INSERT(`C1`,4,2,'ケコ') FROM `T1`; SELECT INSERT(`C1`,5,1,'コ') FROM `T1`; SELECT INSERT(`C1`,1,1,' ') FROM `T1`; SELECT INSERT(`C1`,1,2,' ') FROM `T1`; SELECT INSERT(`C1`,1,3,' ') FROM `T1`; SELECT INSERT(`C1`,1,4,' ') FROM `T1`; SELECT INSERT(`C1`,1,5,' ') FROM `T1`; SELECT INSERT(`C1`,2,1,' ') FROM `T1`; SELECT INSERT(`C1`,2,2,' ') FROM `T1`; SELECT INSERT(`C1`,2,3,' ') FROM `T1`; SELECT INSERT(`C1`,2,4,' ') FROM `T1`; SELECT INSERT(`C1`,3,1,' ') FROM `T1`; SELECT INSERT(`C1`,3,2,' ') FROM `T1`; SELECT INSERT(`C1`,3,3,' ') FROM `T1`; SELECT INSERT(`C1`,4,1,' ') FROM `T1`; SELECT INSERT(`C1`,4,2,' ') FROM `T1`; SELECT INSERT(`C1`,5,1,' ') FROM `T1`; SELECT INSERT(`C1`,1,1,'か') FROM `T2`; SELECT INSERT(`C1`,1,2,'かき') FROM `T2`; SELECT INSERT(`C1`,1,3,'かきく') FROM `T2`; SELECT INSERT(`C1`,1,4,'かきくけ') FROM `T2`; SELECT INSERT(`C1`,1,5,'かきくけこ') FROM `T2`; SELECT INSERT(`C1`,2,1,'き') FROM `T2`; SELECT INSERT(`C1`,2,2,'きく') FROM `T2`; SELECT INSERT(`C1`,2,3,'きくけ') FROM `T2`; SELECT INSERT(`C1`,2,4,'きくけこ') FROM `T2`; SELECT INSERT(`C1`,3,1,'く') FROM `T2`; SELECT INSERT(`C1`,3,2,'くけ') FROM `T2`; SELECT INSERT(`C1`,3,3,'くけこ') FROM `T2`; SELECT INSERT(`C1`,4,1,'け') FROM `T2`; SELECT INSERT(`C1`,4,2,'けこ') FROM `T2`; SELECT INSERT(`C1`,5,1,'こ') FROM `T2`; SELECT INSERT(`C1`,1,1,' ') FROM `T2`; SELECT INSERT(`C1`,1,2,' ') FROM `T2`; SELECT INSERT(`C1`,1,3,' ') FROM `T2`; SELECT INSERT(`C1`,1,4,' ') FROM `T2`; SELECT INSERT(`C1`,1,5,' ') FROM `T2`; SELECT INSERT(`C1`,2,1,' ') FROM `T2`; SELECT INSERT(`C1`,2,2,' ') FROM `T2`; SELECT INSERT(`C1`,2,3,' ') FROM `T2`; SELECT INSERT(`C1`,2,4,' ') FROM `T2`; SELECT INSERT(`C1`,3,1,' ') FROM `T2`; SELECT INSERT(`C1`,3,2,' ') FROM `T2`; SELECT INSERT(`C1`,3,3,' ') FROM `T2`; SELECT INSERT(`C1`,4,1,' ') FROM `T2`; SELECT INSERT(`C1`,4,2,' ') FROM `T2`; SELECT INSERT(`C1`,5,1,' ') FROM `T2`; SELECT INSERT(`C1`,1,1,'能') FROM `T3`; SELECT INSERT(`C1`,1,2,'能能' ) FROM `T3`; SELECT INSERT(`C1`,1,3,'能能能' ) FROM `T3`; SELECT INSERT(`C1`,1,4,'能能能能' ) FROM `T3`; SELECT INSERT(`C1`,1,5,'能能能能能' ) FROM `T3`; SELECT INSERT(`C1`,2,1,'能') FROM `T3`; SELECT INSERT(`C1`,2,2,'能能' ) FROM `T3`; SELECT INSERT(`C1`,2,3,'能能能' ) FROM `T3`; SELECT INSERT(`C1`,2,4,'能能能能' ) FROM `T3`; SELECT INSERT(`C1`,3,1,'能') FROM `T3`; SELECT INSERT(`C1`,3,2,'能能' ) FROM `T3`; SELECT INSERT(`C1`,3,3,'能能能' ) FROM `T3`; SELECT INSERT(`C1`,4,1,'能') FROM `T3`; SELECT INSERT(`C1`,4,2,'能能' ) FROM `T3`; SELECT INSERT(`C1`,5,1,'能') FROM `T3`; #MyISAM SELECT INSERT(`C1`,1,1,'カ') FROM `T4`; SELECT INSERT(`C1`,1,2,'カキ') FROM `T4`; SELECT INSERT(`C1`,1,3,'カキク') FROM `T4`; SELECT INSERT(`C1`,1,4,'カキクケ') FROM `T4`; SELECT INSERT(`C1`,1,5,'カキクケコ') FROM `T4`; SELECT INSERT(`C1`,2,1,'キ') FROM `T4`; SELECT INSERT(`C1`,2,2,'キク') FROM `T4`; SELECT INSERT(`C1`,2,3,'キクケ') FROM `T4`; SELECT INSERT(`C1`,2,4,'キクケコ') FROM `T4`; SELECT INSERT(`C1`,3,1,'ク') FROM `T4`; SELECT INSERT(`C1`,3,2,'クケ') FROM `T4`; SELECT INSERT(`C1`,3,3,'クケコ') FROM `T4`; SELECT INSERT(`C1`,4,1,'ケ') FROM `T4`; SELECT INSERT(`C1`,4,2,'ケコ') FROM `T4`; SELECT INSERT(`C1`,5,1,'コ') FROM `T4`; SELECT INSERT(`C1`,1,1,' ') FROM `T4`; SELECT INSERT(`C1`,1,2,' ') FROM `T4`; SELECT INSERT(`C1`,1,3,' ') FROM `T4`; SELECT INSERT(`C1`,1,4,' ') FROM `T4`; SELECT INSERT(`C1`,1,5,' ') FROM `T4`; SELECT INSERT(`C1`,2,1,' ') FROM `T4`; SELECT INSERT(`C1`,2,2,' ') FROM `T4`; SELECT INSERT(`C1`,2,3,' ') FROM `T4`; SELECT INSERT(`C1`,2,4,' ') FROM `T4`; SELECT INSERT(`C1`,3,1,' ') FROM `T4`; SELECT INSERT(`C1`,3,2,' ') FROM `T4`; SELECT INSERT(`C1`,3,3,' ') FROM `T4`; SELECT INSERT(`C1`,4,1,' ') FROM `T4`; SELECT INSERT(`C1`,4,2,' ') FROM `T4`; SELECT INSERT(`C1`,5,1,' ') FROM `T4`; SELECT INSERT(`C1`,1,1,'か') FROM `T5`; SELECT INSERT(`C1`,1,2,'かき') FROM `T5`; SELECT INSERT(`C1`,1,3,'かきく') FROM `T5`; SELECT INSERT(`C1`,1,4,'かきくけ') FROM `T5`; SELECT INSERT(`C1`,1,5,'かきくけこ') FROM `T5`; SELECT INSERT(`C1`,2,1,'き') FROM `T5`; SELECT INSERT(`C1`,2,2,'きく') FROM `T5`; SELECT INSERT(`C1`,2,3,'きくけ') FROM `T5`; SELECT INSERT(`C1`,2,4,'きくけこ') FROM `T5`; SELECT INSERT(`C1`,3,1,'く') FROM `T5`; SELECT INSERT(`C1`,3,2,'くけ') FROM `T5`; SELECT INSERT(`C1`,3,3,'くけこ') FROM `T5`; SELECT INSERT(`C1`,4,1,'け') FROM `T5`; SELECT INSERT(`C1`,4,2,'けこ') FROM `T5`; SELECT INSERT(`C1`,5,1,'こ') FROM `T5`; SELECT INSERT(`C1`,1,1,' ') FROM `T5`; SELECT INSERT(`C1`,1,2,' ') FROM `T5`; SELECT INSERT(`C1`,1,3,' ') FROM `T5`; SELECT INSERT(`C1`,1,4,' ') FROM `T5`; SELECT INSERT(`C1`,1,5,' ') FROM `T5`; SELECT INSERT(`C1`,2,1,' ') FROM `T5`; SELECT INSERT(`C1`,2,2,' ') FROM `T5`; SELECT INSERT(`C1`,2,3,' ') FROM `T5`; SELECT INSERT(`C1`,2,4,' ') FROM `T5`; SELECT INSERT(`C1`,3,1,' ') FROM `T5`; SELECT INSERT(`C1`,3,2,' ') FROM `T5`; SELECT INSERT(`C1`,3,3,' ') FROM `T5`; SELECT INSERT(`C1`,4,1,' ') FROM `T5`; SELECT INSERT(`C1`,4,2,' ') FROM `T5`; SELECT INSERT(`C1`,5,1,' ') FROM `T5`; SELECT INSERT(`C1`,1,1,'能') FROM `T6`; SELECT INSERT(`C1`,1,2,'能能' ) FROM `T6`; SELECT INSERT(`C1`,1,3,'能能能' ) FROM `T6`; SELECT INSERT(`C1`,1,4,'能能能能' ) FROM `T6`; SELECT INSERT(`C1`,1,5,'能能能能能' ) FROM `T6`; SELECT INSERT(`C1`,2,1,'能') FROM `T6`; SELECT INSERT(`C1`,2,2,'能能') FROM `T6`; SELECT INSERT(`C1`,2,3,'能能能' ) FROM `T6`; SELECT INSERT(`C1`,2,4,'能能能能' ) FROM `T6`; SELECT INSERT(`C1`,3,1,'能') FROM `T6`; SELECT INSERT(`C1`,3,2,'能能' ) FROM `T6`; SELECT INSERT(`C1`,3,3,'能能能' ) FROM `T6`; SELECT INSERT(`C1`,4,1,'能') FROM `T6`; SELECT INSERT(`C1`,4,2,'能能' ) FROM `T6`; SELECT INSERT(`C1`,5,1,'能') FROM `T6`; #MEMORY SELECT INSERT(`C1`,1,1,'カ') FROM `T7`; SELECT INSERT(`C1`,1,2,'カキ') FROM `T7`; SELECT INSERT(`C1`,1,3,'カキク') FROM `T7`; SELECT INSERT(`C1`,1,4,'カキクケ') FROM `T7`; SELECT INSERT(`C1`,1,5,'カキクケコ') FROM `T7`; SELECT INSERT(`C1`,2,1,'キ') FROM `T7`; SELECT INSERT(`C1`,2,2,'キク') FROM `T7`; SELECT INSERT(`C1`,2,3,'キクケ') FROM `T7`; SELECT INSERT(`C1`,2,4,'キクケコ') FROM `T7`; SELECT INSERT(`C1`,3,1,'ク') FROM `T7`; SELECT INSERT(`C1`,3,2,'クケ') FROM `T7`; SELECT INSERT(`C1`,3,3,'クケコ') FROM `T7`; SELECT INSERT(`C1`,4,1,'ケ') FROM `T7`; SELECT INSERT(`C1`,4,2,'ケコ') FROM `T7`; SELECT INSERT(`C1`,5,1,'コ') FROM `T7`; SELECT INSERT(`C1`,1,1,' ') FROM `T7`; SELECT INSERT(`C1`,1,2,' ') FROM `T7`; SELECT INSERT(`C1`,1,3,' ') FROM `T7`; SELECT INSERT(`C1`,1,4,' ') FROM `T7`; SELECT INSERT(`C1`,1,5,' ') FROM `T7`; SELECT INSERT(`C1`,2,1,' ') FROM `T7`; SELECT INSERT(`C1`,2,2,' ') FROM `T7`; SELECT INSERT(`C1`,2,3,' ') FROM `T7`; SELECT INSERT(`C1`,2,4,' ') FROM `T7`; SELECT INSERT(`C1`,3,1,' ') FROM `T7`; SELECT INSERT(`C1`,3,2,' ') FROM `T7`; SELECT INSERT(`C1`,3,3,' ') FROM `T7`; SELECT INSERT(`C1`,4,1,' ') FROM `T7`; SELECT INSERT(`C1`,4,2,' ') FROM `T7`; SELECT INSERT(`C1`,5,1,' ') FROM `T7`; SELECT INSERT(`C1`,1,1,'か') FROM `T8`; SELECT INSERT(`C1`,1,2,'かき') FROM `T8`; SELECT INSERT(`C1`,1,3,'かきく') FROM `T8`; SELECT INSERT(`C1`,1,4,'かきくけ') FROM `T8`; SELECT INSERT(`C1`,1,5,'かきくけこ') FROM `T8`; SELECT INSERT(`C1`,2,1,'き') FROM `T8`; SELECT INSERT(`C1`,2,2,'きく') FROM `T8`; SELECT INSERT(`C1`,2,3,'きくけ') FROM `T8`; SELECT INSERT(`C1`,2,4,'きくけこ') FROM `T8`; SELECT INSERT(`C1`,3,1,'く') FROM `T8`; SELECT INSERT(`C1`,3,2,'くけ') FROM `T8`; SELECT INSERT(`C1`,3,3,'くけこ') FROM `T8`; SELECT INSERT(`C1`,4,1,'け') FROM `T8`; SELECT INSERT(`C1`,4,2,'けこ') FROM `T8`; SELECT INSERT(`C1`,5,1,'こ') FROM `T8`; SELECT INSERT(`C1`,1,1,' ') FROM `T8`; SELECT INSERT(`C1`,1,2,' ') FROM `T8`; SELECT INSERT(`C1`,1,3,' ') FROM `T8`; SELECT INSERT(`C1`,1,4,' ') FROM `T8`; SELECT INSERT(`C1`,1,5,' ') FROM `T8`; SELECT INSERT(`C1`,2,1,' ') FROM `T8`; SELECT INSERT(`C1`,2,2,' ') FROM `T8`; SELECT INSERT(`C1`,2,3,' ') FROM `T8`; SELECT INSERT(`C1`,2,4,' ') FROM `T8`; SELECT INSERT(`C1`,3,1,' ') FROM `T8`; SELECT INSERT(`C1`,3,2,' ') FROM `T8`; SELECT INSERT(`C1`,3,3,' ') FROM `T8`; SELECT INSERT(`C1`,4,1,' ') FROM `T8`; SELECT INSERT(`C1`,4,2,' ') FROM `T8`; SELECT INSERT(`C1`,5,1,' ') FROM `T8`; SELECT INSERT(`C1`,1,1,'能') FROM `T9`; SELECT INSERT(`C1`,1,2,'能能' ) FROM `T9`; SELECT INSERT(`C1`,1,3,'能能能' ) FROM `T9`; SELECT INSERT(`C1`,1,4,'能能能能' ) FROM `T9`; SELECT INSERT(`C1`,1,5,'能能能能能' ) FROM `T9`; SELECT INSERT(`C1`,2,1,'能') FROM `T9`; SELECT INSERT(`C1`,2,2,'能能' ) FROM `T9`; SELECT INSERT(`C1`,2,3,'能能能' ) FROM `T9`; SELECT INSERT(`C1`,2,4,'能能能能' ) FROM `T9`; SELECT INSERT(`C1`,3,1,'能') FROM `T9`; SELECT INSERT(`C1`,3,2,'能能' ) FROM `T9`; SELECT INSERT(`C1`,3,3,'能能能' ) FROM `T9`; SELECT INSERT(`C1`,4,1,'能') FROM `T9`; SELECT INSERT(`C1`,4,2,'能能' ) FROM `T9`; SELECT INSERT(`C1`,5,1,'能') FROM `T9`; DROP TABLE `T1`; DROP TABLE `T2`; DROP TABLE `T3`; DROP TABLE `T4`; DROP TABLE `T5`; DROP TABLE `T6`; DROP TABLE `T7`; DROP TABLE `T8`; DROP TABLE `T9`;