mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
88 lines
3.9 KiB
Text
88 lines
3.9 KiB
Text
|
--source include/have_ujis.inc
|
|||
|
|
|||
|
--disable_warnings
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
--enable_warnings
|
|||
|
|
|||
|
#
|
|||
|
# Test Displaying Japanese charact using WHERE condtion in ujis encoding
|
|||
|
#
|
|||
|
|
|||
|
SET NAMES ujis;
|
|||
|
SET character_set_database = ujis;
|
|||
|
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = bdb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = bdb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(20), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = bdb;
|
|||
|
|
|||
|
#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 `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
|
|||
|
#InnoDB
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ï<EFBFBD>ď<EFBFBD>ŏ<EFBFBD>Ə<EFBFBD><C68F>';
|
|||
|
|
|||
|
#MyISAM
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ï<EFBFBD>ď<EFBFBD>ŏ<EFBFBD>Ə<EFBFBD><C68F>';
|
|||
|
|
|||
|
#Heap
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ï<EFBFBD>ď<EFBFBD>ŏ<EFBFBD>Ə<EFBFBD><C68F>';
|
|||
|
|
|||
|
#BDB
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>` WHERE `<60>ã<EFBFBD>` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ï<EFBFBD>ď<EFBFBD>ŏ<EFBFBD>Ə<EFBFBD><C68F>';
|
|||
|
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|