summaryrefslogtreecommitdiff
path: root/mysql-test/suite/jp/t/jp_replace_ujis.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/jp/t/jp_replace_ujis.test')
-rw-r--r--mysql-test/suite/jp/t/jp_replace_ujis.test38
1 files changed, 5 insertions, 33 deletions
diff --git a/mysql-test/suite/jp/t/jp_replace_ujis.test b/mysql-test/suite/jp/t/jp_replace_ujis.test
index 3d8724e63d5..a830dcd9435 100644
--- a/mysql-test/suite/jp/t/jp_replace_ujis.test
+++ b/mysql-test/suite/jp/t/jp_replace_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,9 +11,6 @@ drop table if exists `T6`;
drop table if exists `T7`;
drop table if exists `T8`;
drop table if exists `T9`;
-drop table if exists `T10`;
-drop table if exists `T11`;
-drop table if exists `T12`;
--enable_warnings
#
@@ -28,12 +26,9 @@ CREATE TABLE `T3` (`C1` char(5)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T4` (`C1` char(5)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -44,9 +39,6 @@ INSERT INTO `T6` VALUES ('龔龖龗龞龡');
INSERT INTO `T7` VALUES ('アイウエオ');
INSERT INTO `T8` VALUES ('あいうえお');
INSERT INTO `T9` VALUES ('龔龖龗龞龡');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
#InnoDB
SELECT REPLACE(`C1`,'ア','アア') FROM `T1`;
@@ -82,7 +74,7 @@ SELECT REPLACE(`C1`,'龗','龗龗') FROM `T6`;
SELECT REPLACE(`C1`,'龞','龞龞') FROM `T6`;
SELECT REPLACE(`C1`,'龡','龡龡') FROM `T6`;
-#HEAP
+#MEMORY
SELECT REPLACE(`C1`,'ア','アア') FROM `T7`;
SELECT REPLACE(`C1`,'イ','イイ') FROM `T7`;
SELECT REPLACE(`C1`,'ウ','ウウ') FROM `T7`;
@@ -99,23 +91,6 @@ SELECT REPLACE(`C1`,'龗','龗龗') FROM `T9`;
SELECT REPLACE(`C1`,'龞','龞龞') FROM `T9`;
SELECT REPLACE(`C1`,'龡','龡龡') FROM `T9`;
-#BDB
-SELECT REPLACE(`C1`,'ア','アア') FROM `T10`;
-SELECT REPLACE(`C1`,'イ','イイ') FROM `T10`;
-SELECT REPLACE(`C1`,'ウ','ウウ') FROM `T10`;
-SELECT REPLACE(`C1`,'エ','エエ') FROM `T10`;
-SELECT REPLACE(`C1`,'オ','オオ') FROM `T10`;
-SELECT REPLACE(`C1`,'あ','ああ') FROM `T11`;
-SELECT REPLACE(`C1`,'い','いい') FROM `T11`;
-SELECT REPLACE(`C1`,'う','うう') FROM `T11`;
-SELECT REPLACE(`C1`,'え','ええ') FROM `T11`;
-SELECT REPLACE(`C1`,'お','おお') FROM `T11`;
-SELECT REPLACE(`C1`,'龔','龔龔') FROM `T12`;
-SELECT REPLACE(`C1`,'龖','龖龖') FROM `T12`;
-SELECT REPLACE(`C1`,'龗','龗龗') FROM `T12`;
-SELECT REPLACE(`C1`,'龞','龞龞') FROM `T12`;
-SELECT REPLACE(`C1`,'龡','龡龡') FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -125,6 +100,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;