polardbxengine/mysql-test/suite/jp/t/jp_update_sjis.test

75 lines
2.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

--character_set sjis
--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 Updating with Japanese characters in sjis encoding
#
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = MEMORY;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = MEMORY;
CREATE TABLE `` (`` char(5), INDEX(``)) DEFAULT CHARSET = sjis engine = MEMORY;
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 `` = ('噂蚕申貼能');
#InnoDB
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
#MyISAM
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
#MEMORY
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;