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_join_ujis.test

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

--disable_warnings
DROP TABLE IF EXISTS `」ヤ」アa`;
DROP TABLE IF EXISTS `」ヤ」アb`;
DROP TABLE IF EXISTS `」ヤ」イa`;
DROP TABLE IF EXISTS `」ヤ」イb`;
DROP TABLE IF EXISTS `」ヤ」ウa`;
DROP TABLE IF EXISTS `」ヤ」ウb`;
DROP TABLE IF EXISTS `」ヤ」エa`;
DROP TABLE IF EXISTS `」ヤ」エb`;
DROP TABLE IF EXISTS `」ヤ」オa`;
DROP TABLE IF EXISTS `」ヤ」オb`;
DROP TABLE IF EXISTS `」ヤ」カa`;
DROP TABLE IF EXISTS `」ヤ」カb`;
DROP TABLE IF EXISTS `」ヤ」キa`;
DROP TABLE IF EXISTS `」ヤ」キb`;
DROP TABLE IF EXISTS `」ヤ」クa`;
DROP TABLE IF EXISTS `」ヤ」クb`;
DROP TABLE IF EXISTS `」ヤ」ケa`;
DROP TABLE IF EXISTS `」ヤ」ケb`;
--enable_warnings

#
# Test table JOIN using Japanese characters 
#

SET NAMES ujis;
SET character_set_database = ujis;

CREATE TABLE `」ヤ」アa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」アb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」イa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」イb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」ウa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」ウb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `」ヤ」エa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」エb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」オa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」オb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」カa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」カb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `」ヤ」キa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
CREATE TABLE `」ヤ」キb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
CREATE TABLE `」ヤ」クa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
CREATE TABLE `」ヤ」クb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
CREATE TABLE `」ヤ」ケa` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
CREATE TABLE `」ヤ」ケb` (`」テ」ア` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;

#insert the following data in each table
# jisx0201 hankaku-katakana data
# jisx0208 data
# jisx0212 supplemental character data

INSERT INTO `」ヤ」アa` VALUES ('竺'),('叱'),('悉');
INSERT INTO `」ヤ」アb` VALUES ('竺');
INSERT INTO `」ヤ」イa` VALUES ('、「'),('、ォ'),('、オ');
INSERT INTO `」ヤ」イb` VALUES ('、「');
INSERT INTO `」ヤ」ウa` VALUES ('常ワ'),('常ン'),('常゙');
INSERT INTO `」ヤ」ウb` VALUES ('常ワ');
INSERT INTO `」ヤ」エa` VALUES ('竺'),('叱'),('悉');
INSERT INTO `」ヤ」エb` VALUES ('竺');
INSERT INTO `」ヤ」オa` VALUES ('、「'),('、ォ'),('、オ');
INSERT INTO `」ヤ」オb` VALUES ('、「');
INSERT INTO `」ヤ」カa` VALUES ('常ワ'),('常ン'),('常゙');
INSERT INTO `」ヤ」カb` VALUES ('常ワ');
INSERT INTO `」ヤ」キa` VALUES ('竺'),('叱'),('悉');
INSERT INTO `」ヤ」キb` VALUES ('竺');
INSERT INTO `」ヤ」クa` VALUES ('、「'),('、ォ'),('、オ');
INSERT INTO `」ヤ」クb` VALUES ('、「');
INSERT INTO `」ヤ」ケa` VALUES ('常ワ'),('常ン'),('常゙');
INSERT INTO `」ヤ」ケb` VALUES ('常ワ');

#Test for innodb
SELECT * FROM `」ヤ」アa` JOIN `」ヤ」アb`;
SELECT * FROM `」ヤ」アa` INNER JOIN `」ヤ」アb`;
SELECT * FROM `」ヤ」アa` JOIN `」ヤ」アb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」アa` INNER JOIN `」ヤ」アb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」アa` CROSS JOIN `」ヤ」アb`;
SELECT * FROM `」ヤ」アa` LEFT JOIN `」ヤ」アb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」アa` LEFT JOIN `」ヤ」アb` ON (`」ヤ」アa`.`」テ」ア` = `」ヤ」アb`.`」テ」ア`);
SELECT * FROM `」ヤ」アb` RIGHT JOIN `」ヤ」アa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」アb` RIGHT JOIN `」ヤ」アa` ON (`」ヤ」アa`.`」テ」ア` = `」ヤ」アb`.`」テ」ア`);
SELECT * FROM `」ヤ」イa` JOIN `」ヤ」イb`;
SELECT * FROM `」ヤ」イa` INNER JOIN `」ヤ」イb`;
SELECT * FROM `」ヤ」イa` JOIN `」ヤ」イb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」イa` INNER JOIN `」ヤ」イb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」イa` CROSS JOIN `」ヤ」イb`;
SELECT * FROM `」ヤ」イa` LEFT JOIN `」ヤ」イb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」イa` LEFT JOIN `」ヤ」イb` ON (`」ヤ」イa`.`」テ」ア` = `」ヤ」イb`.`」テ」ア`);
SELECT * FROM `」ヤ」イb` RIGHT JOIN `」ヤ」イa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」イb` RIGHT JOIN `」ヤ」イa` ON (`」ヤ」イa`.`」テ」ア` = `」ヤ」イb`.`」テ」ア`);
SELECT * FROM `」ヤ」ウa` JOIN `」ヤ」ウb`;
SELECT * FROM `」ヤ」ウa` INNER JOIN `」ヤ」ウb`;
SELECT * FROM `」ヤ」ウa` JOIN `」ヤ」ウb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ウa` INNER JOIN `」ヤ」ウb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ウa` CROSS JOIN `」ヤ」ウb`;
SELECT * FROM `」ヤ」ウa` LEFT JOIN `」ヤ」ウb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ウa` LEFT JOIN `」ヤ」ウb` ON (`」ヤ」ウa`.`」テ」ア` = `」ヤ」ウb`.`」テ」ア`);
SELECT * FROM `」ヤ」ウb` RIGHT JOIN `」ヤ」ウa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ウb` RIGHT JOIN `」ヤ」ウa` ON (`」ヤ」ウa`.`」テ」ア` = `」ヤ」ウb`.`」テ」ア`);

#Test for myisam
SELECT * FROM `」ヤ」エa` JOIN `」ヤ」エb`;
SELECT * FROM `」ヤ」エa` INNER JOIN `」ヤ」エb`;
SELECT * FROM `」ヤ」エa` JOIN `」ヤ」エb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」エa` INNER JOIN `」ヤ」エb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」エa` CROSS JOIN `」ヤ」エb`;
SELECT * FROM `」ヤ」エa` LEFT JOIN `」ヤ」エb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」エa` LEFT JOIN `」ヤ」エb` ON (`」ヤ」エa`.`」テ」ア` = `」ヤ」エb`.`」テ」ア`);
SELECT * FROM `」ヤ」エb` RIGHT JOIN `」ヤ」エa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」エb` RIGHT JOIN `」ヤ」エa` ON (`」ヤ」エa`.`」テ」ア` = `」ヤ」エb`.`」テ」ア`);
SELECT * FROM `」ヤ」オa` JOIN `」ヤ」オb`;
SELECT * FROM `」ヤ」オa` INNER JOIN `」ヤ」オb`;
SELECT * FROM `」ヤ」オa` JOIN `」ヤ」オb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」オa` INNER JOIN `」ヤ」オb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」オa` CROSS JOIN `」ヤ」オb`;
SELECT * FROM `」ヤ」オa` LEFT JOIN `」ヤ」オb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」オa` LEFT JOIN `」ヤ」オb` ON (`」ヤ」オa`.`」テ」ア` = `」ヤ」オb`.`」テ」ア`);
SELECT * FROM `」ヤ」オb` RIGHT JOIN `」ヤ」オa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」オb` RIGHT JOIN `」ヤ」オa` ON (`」ヤ」オa`.`」テ」ア` = `」ヤ」オb`.`」テ」ア`);
SELECT * FROM `」ヤ」カa` JOIN `」ヤ」カb`;
SELECT * FROM `」ヤ」カa` INNER JOIN `」ヤ」カb`;
SELECT * FROM `」ヤ」カa` JOIN `」ヤ」カb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」カa` INNER JOIN `」ヤ」カb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」カa` CROSS JOIN `」ヤ」カb`;
SELECT * FROM `」ヤ」カa` LEFT JOIN `」ヤ」カb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」カa` LEFT JOIN `」ヤ」カb` ON (`」ヤ」カa`.`」テ」ア` = `」ヤ」カb`.`」テ」ア`);
SELECT * FROM `」ヤ」カb` RIGHT JOIN `」ヤ」カa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」カb` RIGHT JOIN `」ヤ」カa` ON (`」ヤ」カa`.`」テ」ア` = `」ヤ」カb`.`」テ」ア`);

#Test for MEMORY
SELECT * FROM `」ヤ」キa` JOIN `」ヤ」キb`;
SELECT * FROM `」ヤ」キa` INNER JOIN `」ヤ」キb`;
SELECT * FROM `」ヤ」キa` JOIN `」ヤ」キb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」キa` INNER JOIN `」ヤ」キb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」キa` CROSS JOIN `」ヤ」キb`;
SELECT * FROM `」ヤ」キa` LEFT JOIN `」ヤ」キb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」キa` LEFT JOIN `」ヤ」キb` ON (`」ヤ」キa`.`」テ」ア` = `」ヤ」キb`.`」テ」ア`);
SELECT * FROM `」ヤ」キb` RIGHT JOIN `」ヤ」キa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」キb` RIGHT JOIN `」ヤ」キa` ON (`」ヤ」キa`.`」テ」ア` = `」ヤ」キb`.`」テ」ア`);
SELECT * FROM `」ヤ」クa` JOIN `」ヤ」クb`;
SELECT * FROM `」ヤ」クa` INNER JOIN `」ヤ」クb`;
SELECT * FROM `」ヤ」クa` JOIN `」ヤ」クb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」クa` INNER JOIN `」ヤ」クb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」クa` CROSS JOIN `」ヤ」クb`;
SELECT * FROM `」ヤ」クa` LEFT JOIN `」ヤ」クb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」クa` LEFT JOIN `」ヤ」クb` ON (`」ヤ」クa`.`」テ」ア` = `」ヤ」クb`.`」テ」ア`);
SELECT * FROM `」ヤ」クb` RIGHT JOIN `」ヤ」クa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」クb` RIGHT JOIN `」ヤ」クa` ON (`」ヤ」クa`.`」テ」ア` = `」ヤ」クb`.`」テ」ア`);
SELECT * FROM `」ヤ」ケa` JOIN `」ヤ」ケb`;
SELECT * FROM `」ヤ」ケa` INNER JOIN `」ヤ」ケb`;
SELECT * FROM `」ヤ」ケa` JOIN `」ヤ」ケb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ケa` INNER JOIN `」ヤ」ケb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ケa` CROSS JOIN `」ヤ」ケb`;
SELECT * FROM `」ヤ」ケa` LEFT JOIN `」ヤ」ケb` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ケa` LEFT JOIN `」ヤ」ケb` ON (`」ヤ」ケa`.`」テ」ア` = `」ヤ」ケb`.`」テ」ア`);
SELECT * FROM `」ヤ」ケb` RIGHT JOIN `」ヤ」ケa` USING (`」テ」ア`);
SELECT * FROM `」ヤ」ケb` RIGHT JOIN `」ヤ」ケa` ON (`」ヤ」ケa`.`」テ」ア` = `」ヤ」ケb`.`」テ」ア`);

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

Man Man