mariadb/mysql-test/suite/jp/t/jp_update_ujis.test
serg@sergbook.mysql.com 77bc68f99d Many files:
Change mode to -rw-rw----
2005-01-07 14:32:05 +02:00

95 lines
3.2 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--source include/have_ujis.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 ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
--enable_warnings
#
# Test Updating with Japanese characters in ujis encoding
#
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = bdb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = bdb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = ujis engine = bdb;
INSERT INTO `` VALUES ('アイウエオ');
INSERT INTO `` VALUES ('あいうえお');
INSERT INTO `` VALUES ('龔龖龗龞龡');
INSERT INTO `` VALUES ('アイウエオ');
INSERT INTO `` VALUES ('あいうえお');
INSERT INTO `` VALUES ('龔龖龗龞龡');
INSERT INTO `` VALUES ('アイウエオ');
INSERT INTO `` VALUES ('あいうえお');
INSERT INTO `` VALUES ('龔龖龗龞龡');
INSERT INTO `` VALUES ('アイウエオ');
INSERT INTO `` VALUES ('あいうえお');
INSERT INTO `` VALUES ('龔龖龗龞龡');
UPDATE `` SET `` = ('カキクケコ');
UPDATE `` SET `` = ('かきくけこ');
UPDATE `` SET `` = ('齗齘齚齝齞');
UPDATE `` SET `` = ('カキクケコ');
UPDATE `` SET `` = ('かきくけこ');
UPDATE `` SET `` = ('齗齘齚齝齞');
UPDATE `` SET `` = ('カキクケコ');
UPDATE `` SET `` = ('かきくけこ');
UPDATE `` SET `` = ('齗齘齚齝齞');
UPDATE `` SET `` = ('カキクケコ');
UPDATE `` SET `` = ('かきくけこ');
UPDATE `` SET `` = ('齗齘齚齝齞');
#InnoDB
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
#MyISAM
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
#HEAP
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
#BDB
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;