config root man

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
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/jp/t/jp_where_ujis.test

--source include/have_ujis.inc
--source include/have_innodb.inc

--disable_warnings
drop table if exists `」ヤ」ア`;
drop table if exists `」ヤ」イ`;
drop table if exists `」ヤ」ウ`;
drop table if exists `」ヤ」エ`;
drop table if exists `」ヤ」オ`;
drop table if exists `」ヤ」カ`;
drop table if exists `」ヤ」キ`;
drop table if exists `」ヤ」ク`;
drop table if exists `」ヤ」ケ`;
--enable_warnings

#
# Test Displaying Japanese charact using WHERE condtion in ujis encoding
#

SET NAMES ujis;
SET character_set_database = ujis;

CREATE TABLE `」ヤ」ア` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」イ` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」ウ` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」エ` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」オ` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」カ` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」キ` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = MEMORY;
CREATE TABLE `」ヤ」ク` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis engine = MEMORY;
CREATE TABLE `」ヤ」ケ` (`」テ」ア` char(20), INDEX(`」テ」ア`)) DEFAULT CHARSET = ujis 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_ujis.dat' INTO TABLE `」ヤ」ア`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `」ヤ」イ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `」ヤ」ウ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `」ヤ」エ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `」ヤ」オ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `」ヤ」カ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `」ヤ」キ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `」ヤ」ク`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `」ヤ」ケ`;

#InnoDB
SELECT * FROM `」ヤ」ア` WHERE `」テ」ア` = '鴫竺軸宍雫七叱執失嫉室悉湿漆疾質';
SELECT * FROM `」ヤ」イ` WHERE `」テ」ア` = '。ヲ、。、「、」、、、・、ヲ、ァ、ィ、ゥ、ェ、ォ、ャ、ュ、ョ、ッ、ー、ア、イ、ウ';
SELECT * FROM `」ヤ」ウ` WHERE `」テ」ア` = '常エ常オ常カ常キ常ク常ケ常コ常サ常シ常ス常セ常ソ常タ常チ常ツ常テ常ト常ナ常ニ常ヌ';

#MyISAM
SELECT * FROM `」ヤ」エ` WHERE `」テ」ア` = '鴫竺軸宍雫七叱執失嫉室悉湿漆疾質';
SELECT * FROM `」ヤ」オ` WHERE `」テ」ア` = '。ヲ、。、「、」、、、・、ヲ、ァ、ィ、ゥ、ェ、ォ、ャ、ュ、ョ、ッ、ー、ア、イ、ウ';
SELECT * FROM `」ヤ」カ` WHERE `」テ」ア` = '常エ常オ常カ常キ常ク常ケ常コ常サ常シ常ス常セ常ソ常タ常チ常ツ常テ常ト常ナ常ニ常ヌ';

#MEMORY
SELECT * FROM `」ヤ」キ` WHERE `」テ」ア` = '鴫竺軸宍雫七叱執失嫉室悉湿漆疾質';
SELECT * FROM `」ヤ」ク` WHERE `」テ」ア` = '。ヲ、。、「、」、、、・、ヲ、ァ、ィ、ゥ、ェ、ォ、ャ、ュ、ョ、ッ、ー、ア、イ、ウ';
SELECT * FROM `」ヤ」ケ` WHERE `」テ」ア` = '常エ常オ常カ常キ常ク常ケ常コ常サ常シ常ス常セ常ソ常タ常チ常ツ常テ常ト常ナ常ニ常ヌ';

DROP TABLE `」ヤ」ア`;
DROP TABLE `」ヤ」イ`;
DROP TABLE `」ヤ」ウ`;
DROP TABLE `」ヤ」エ`;
DROP TABLE `」ヤ」オ`;
DROP TABLE `」ヤ」カ`;
DROP TABLE `」ヤ」キ`;
DROP TABLE `」ヤ」ク`;
DROP TABLE `」ヤ」ケ`;

Man Man