summaryrefslogtreecommitdiff
path: root/mysql-test/suite
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite')
-rw-r--r--mysql-test/suite/jp/include/trim_sjis.inc70
-rw-r--r--mysql-test/suite/jp/r/jp_alter_sjis.result339
-rw-r--r--mysql-test/suite/jp/r/jp_alter_ucs2.result339
-rw-r--r--mysql-test/suite/jp/r/jp_alter_ujis.result339
-rw-r--r--mysql-test/suite/jp/r/jp_alter_utf8.result339
-rw-r--r--mysql-test/suite/jp/r/jp_charlength_sjis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_charlength_ucs2.result42
-rw-r--r--mysql-test/suite/jp/r/jp_charlength_ujis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_charlength_utf8.result42
-rw-r--r--mysql-test/suite/jp/r/jp_charset_sjis.result63
-rw-r--r--mysql-test/suite/jp/r/jp_charset_ucs2.result82
-rw-r--r--mysql-test/suite/jp/r/jp_charset_ujis.result63
-rw-r--r--mysql-test/suite/jp/r/jp_charset_utf8.result63
-rw-r--r--mysql-test/suite/jp/r/jp_convert_sjis.result267
-rw-r--r--mysql-test/suite/jp/r/jp_convert_ucs2.result112
-rw-r--r--mysql-test/suite/jp/r/jp_convert_ujis.result384
-rw-r--r--mysql-test/suite/jp/r/jp_convert_utf8.result384
-rw-r--r--mysql-test/suite/jp/r/jp_create_db_sjis.result5
-rw-r--r--mysql-test/suite/jp/r/jp_create_db_ucs2.result5
-rw-r--r--mysql-test/suite/jp/r/jp_create_db_ujis.result5
-rw-r--r--mysql-test/suite/jp/r/jp_create_db_utf8.result5
-rw-r--r--mysql-test/suite/jp/r/jp_create_tbl_sjis.result354
-rw-r--r--mysql-test/suite/jp/r/jp_create_tbl_ucs2.result354
-rw-r--r--mysql-test/suite/jp/r/jp_create_tbl_ujis.result354
-rw-r--r--mysql-test/suite/jp/r/jp_create_tbl_utf8.result354
-rw-r--r--mysql-test/suite/jp/r/jp_enum_sjis.result187
-rw-r--r--mysql-test/suite/jp/r/jp_enum_ucs2.result180
-rw-r--r--mysql-test/suite/jp/r/jp_enum_ujis.result180
-rw-r--r--mysql-test/suite/jp/r/jp_enum_utf8.result180
-rw-r--r--mysql-test/suite/jp/r/jp_insert_sjis.result198
-rw-r--r--mysql-test/suite/jp/r/jp_insert_ucs2.result198
-rw-r--r--mysql-test/suite/jp/r/jp_insert_ujis.result198
-rw-r--r--mysql-test/suite/jp/r/jp_insert_utf8.result198
-rw-r--r--mysql-test/suite/jp/r/jp_instr_sjis.result70
-rw-r--r--mysql-test/suite/jp/r/jp_instr_ucs2.result70
-rw-r--r--mysql-test/suite/jp/r/jp_instr_ujis.result70
-rw-r--r--mysql-test/suite/jp/r/jp_instr_utf8.result70
-rw-r--r--mysql-test/suite/jp/r/jp_join_sjis.result399
-rw-r--r--mysql-test/suite/jp/r/jp_join_ucs2.result411
-rw-r--r--mysql-test/suite/jp/r/jp_join_ujis.result411
-rw-r--r--mysql-test/suite/jp/r/jp_join_utf8.result423
-rw-r--r--mysql-test/suite/jp/r/jp_left_sjis.result162
-rw-r--r--mysql-test/suite/jp/r/jp_left_ucs2.result162
-rw-r--r--mysql-test/suite/jp/r/jp_left_ujis.result162
-rw-r--r--mysql-test/suite/jp/r/jp_left_utf8.result162
-rw-r--r--mysql-test/suite/jp/r/jp_length_sjis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_length_ucs2.result42
-rw-r--r--mysql-test/suite/jp/r/jp_length_ujis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_length_utf8.result42
-rw-r--r--mysql-test/suite/jp/r/jp_like_sjis.result68
-rw-r--r--mysql-test/suite/jp/r/jp_like_ucs2.result110
-rw-r--r--mysql-test/suite/jp/r/jp_like_ujis.result68
-rw-r--r--mysql-test/suite/jp/r/jp_like_utf8.result65
-rw-r--r--mysql-test/suite/jp/r/jp_locate_sjis.result70
-rw-r--r--mysql-test/suite/jp/r/jp_locate_ucs2.result70
-rw-r--r--mysql-test/suite/jp/r/jp_locate_ujis.result70
-rw-r--r--mysql-test/suite/jp/r/jp_locate_utf8.result70
-rw-r--r--mysql-test/suite/jp/r/jp_lpad_sjis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_lpad_ucs2.result42
-rw-r--r--mysql-test/suite/jp/r/jp_lpad_ujis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_lpad_utf8.result42
-rw-r--r--mysql-test/suite/jp/r/jp_ltrim_sjis.result61
-rw-r--r--mysql-test/suite/jp/r/jp_ltrim_ucs2.result61
-rw-r--r--mysql-test/suite/jp/r/jp_ltrim_ujis.result61
-rw-r--r--mysql-test/suite/jp/r/jp_ltrim_utf8.result61
-rw-r--r--mysql-test/suite/jp/r/jp_ps_sjis.result235
-rw-r--r--mysql-test/suite/jp/r/jp_ps_ujis.result235
-rw-r--r--mysql-test/suite/jp/r/jp_replace_sjis.result63
-rw-r--r--mysql-test/suite/jp/r/jp_replace_ucs2.result63
-rw-r--r--mysql-test/suite/jp/r/jp_replace_ujis.result63
-rw-r--r--mysql-test/suite/jp/r/jp_replace_utf8.result63
-rw-r--r--mysql-test/suite/jp/r/jp_reverse_sjis.result27
-rw-r--r--mysql-test/suite/jp/r/jp_reverse_ucs2.result27
-rw-r--r--mysql-test/suite/jp/r/jp_reverse_ujis.result27
-rw-r--r--mysql-test/suite/jp/r/jp_reverse_utf8.result27
-rw-r--r--mysql-test/suite/jp/r/jp_right_sjis.result162
-rw-r--r--mysql-test/suite/jp/r/jp_right_ucs2.result162
-rw-r--r--mysql-test/suite/jp/r/jp_right_ujis.result162
-rw-r--r--mysql-test/suite/jp/r/jp_right_utf8.result162
-rw-r--r--mysql-test/suite/jp/r/jp_rpad_sjis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_rpad_ucs2.result42
-rw-r--r--mysql-test/suite/jp/r/jp_rpad_ujis.result42
-rw-r--r--mysql-test/suite/jp/r/jp_rpad_utf8.result42
-rw-r--r--mysql-test/suite/jp/r/jp_rtrim_sjis.result61
-rw-r--r--mysql-test/suite/jp/r/jp_rtrim_ucs2.result61
-rw-r--r--mysql-test/suite/jp/r/jp_rtrim_ujis.result61
-rw-r--r--mysql-test/suite/jp/r/jp_rtrim_utf8.result61
-rw-r--r--mysql-test/suite/jp/r/jp_select_sjis.result101
-rw-r--r--mysql-test/suite/jp/r/jp_select_ucs2.result56
-rw-r--r--mysql-test/suite/jp/r/jp_select_ujis.result140
-rw-r--r--mysql-test/suite/jp/r/jp_select_utf8.result140
-rw-r--r--mysql-test/suite/jp/r/jp_subquery_sjis.result63
-rw-r--r--mysql-test/suite/jp/r/jp_subquery_ucs2.result90
-rw-r--r--mysql-test/suite/jp/r/jp_subquery_ujis.result90
-rw-r--r--mysql-test/suite/jp/r/jp_subquery_utf8.result63
-rw-r--r--mysql-test/suite/jp/r/jp_substring_sjis.result690
-rw-r--r--mysql-test/suite/jp/r/jp_substring_ucs2.result354
-rw-r--r--mysql-test/suite/jp/r/jp_substring_ujis.result690
-rw-r--r--mysql-test/suite/jp/r/jp_substring_utf8.result690
-rw-r--r--mysql-test/suite/jp/r/jp_trim_sjis.result378
-rw-r--r--mysql-test/suite/jp/r/jp_trim_ucs2.result172
-rw-r--r--mysql-test/suite/jp/r/jp_trim_ujis.result172
-rw-r--r--mysql-test/suite/jp/r/jp_trim_utf8.result172
-rw-r--r--mysql-test/suite/jp/r/jp_union_ujis.result104
-rw-r--r--mysql-test/suite/jp/r/jp_update_sjis.result30
-rw-r--r--mysql-test/suite/jp/r/jp_update_ucs2.result30
-rw-r--r--mysql-test/suite/jp/r/jp_update_ujis.result30
-rw-r--r--mysql-test/suite/jp/r/jp_update_utf8.result30
-rw-r--r--mysql-test/suite/jp/r/jp_where_sjis.result43
-rw-r--r--mysql-test/suite/jp/r/jp_where_ucs2.result46
-rw-r--r--mysql-test/suite/jp/r/jp_where_ujis.result27
-rw-r--r--mysql-test/suite/jp/r/jp_where_utf8.result27
-rw-r--r--mysql-test/suite/jp/t/disabled.def13
-rw-r--r--mysql-test/suite/jp/t/jp_alter_sjis.test116
-rw-r--r--mysql-test/suite/jp/t/jp_alter_ucs2.test115
-rw-r--r--mysql-test/suite/jp/t/jp_alter_ujis.test116
-rw-r--r--mysql-test/suite/jp/t/jp_alter_utf8.test117
-rw-r--r--mysql-test/suite/jp/t/jp_charlength_sjis.test27
-rw-r--r--mysql-test/suite/jp/t/jp_charlength_ucs2.test26
-rw-r--r--mysql-test/suite/jp/t/jp_charlength_ujis.test26
-rw-r--r--mysql-test/suite/jp/t/jp_charlength_utf8.test27
-rw-r--r--mysql-test/suite/jp/t/jp_charset_sjis.test42
-rw-r--r--mysql-test/suite/jp/t/jp_charset_ucs2.test63
-rw-r--r--mysql-test/suite/jp/t/jp_charset_ujis.test41
-rw-r--r--mysql-test/suite/jp/t/jp_charset_utf8.test43
-rw-r--r--mysql-test/suite/jp/t/jp_convert_sjis.test37
-rw-r--r--mysql-test/suite/jp/t/jp_convert_ucs2.test58
-rw-r--r--mysql-test/suite/jp/t/jp_convert_ujis.test36
-rw-r--r--mysql-test/suite/jp/t/jp_convert_utf8.test37
-rw-r--r--mysql-test/suite/jp/t/jp_create_db_sjis.test1
-rw-r--r--mysql-test/suite/jp/t/jp_create_db_utf8.test1
-rw-r--r--mysql-test/suite/jp/t/jp_create_tbl_sjis.test116
-rw-r--r--mysql-test/suite/jp/t/jp_create_tbl_ucs2.test115
-rw-r--r--mysql-test/suite/jp/t/jp_create_tbl_ujis.test115
-rw-r--r--mysql-test/suite/jp/t/jp_create_tbl_utf8.test116
-rw-r--r--mysql-test/suite/jp/t/jp_enum_sjis-master.opt1
-rw-r--r--mysql-test/suite/jp/t/jp_enum_sjis.test51
-rw-r--r--mysql-test/suite/jp/t/jp_enum_ucs2-master.opt1
-rw-r--r--mysql-test/suite/jp/t/jp_enum_ucs2.test94
-rw-r--r--mysql-test/suite/jp/t/jp_enum_ujis-master.opt1
-rw-r--r--mysql-test/suite/jp/t/jp_enum_ujis.test37
-rw-r--r--mysql-test/suite/jp/t/jp_enum_utf8-master.opt1
-rw-r--r--mysql-test/suite/jp/t/jp_enum_utf8.test38
-rw-r--r--mysql-test/suite/jp/t/jp_insert_sjis.test84
-rw-r--r--mysql-test/suite/jp/t/jp_insert_ucs2.test83
-rw-r--r--mysql-test/suite/jp/t/jp_insert_ujis.test83
-rw-r--r--mysql-test/suite/jp/t/jp_insert_utf8.test84
-rw-r--r--mysql-test/suite/jp/t/jp_instr_sjis.test40
-rw-r--r--mysql-test/suite/jp/t/jp_instr_ucs2.test39
-rw-r--r--mysql-test/suite/jp/t/jp_instr_ujis.test39
-rw-r--r--mysql-test/suite/jp/t/jp_instr_utf8.test40
-rw-r--r--mysql-test/suite/jp/t/jp_join_sjis.test93
-rw-r--r--mysql-test/suite/jp/t/jp_join_ucs2.test104
-rw-r--r--mysql-test/suite/jp/t/jp_join_ujis.test104
-rw-r--r--mysql-test/suite/jp/t/jp_join_utf8.test119
-rw-r--r--mysql-test/suite/jp/t/jp_left_sjis.test42
-rw-r--r--mysql-test/suite/jp/t/jp_left_ucs2.test41
-rw-r--r--mysql-test/suite/jp/t/jp_left_ujis.test41
-rw-r--r--mysql-test/suite/jp/t/jp_left_utf8.test42
-rw-r--r--mysql-test/suite/jp/t/jp_length_sjis.test27
-rw-r--r--mysql-test/suite/jp/t/jp_length_ucs2.test26
-rw-r--r--mysql-test/suite/jp/t/jp_length_ujis.test26
-rw-r--r--mysql-test/suite/jp/t/jp_length_utf8.test27
-rw-r--r--mysql-test/suite/jp/t/jp_like_sjis.test46
-rw-r--r--mysql-test/suite/jp/t/jp_like_ucs2.test72
-rw-r--r--mysql-test/suite/jp/t/jp_like_ujis.test46
-rw-r--r--mysql-test/suite/jp/t/jp_like_utf8.test47
-rw-r--r--mysql-test/suite/jp/t/jp_locate_sjis.test41
-rw-r--r--mysql-test/suite/jp/t/jp_locate_ucs2.test40
-rw-r--r--mysql-test/suite/jp/t/jp_locate_ujis.test40
-rw-r--r--mysql-test/suite/jp/t/jp_locate_utf8.test41
-rw-r--r--mysql-test/suite/jp/t/jp_lpad_sjis.test27
-rw-r--r--mysql-test/suite/jp/t/jp_lpad_ucs2.test26
-rw-r--r--mysql-test/suite/jp/t/jp_lpad_ujis.test26
-rw-r--r--mysql-test/suite/jp/t/jp_lpad_utf8.test27
-rw-r--r--mysql-test/suite/jp/t/jp_ltrim_sjis.test46
-rw-r--r--mysql-test/suite/jp/t/jp_ltrim_ucs2.test45
-rw-r--r--mysql-test/suite/jp/t/jp_ltrim_ujis.test45
-rw-r--r--mysql-test/suite/jp/t/jp_ltrim_utf8.test46
-rw-r--r--mysql-test/suite/jp/t/jp_ps_sjis.test122
-rw-r--r--mysql-test/suite/jp/t/jp_ps_ujis.test120
-rw-r--r--mysql-test/suite/jp/t/jp_replace_sjis.test39
-rw-r--r--mysql-test/suite/jp/t/jp_replace_ucs2.test38
-rw-r--r--mysql-test/suite/jp/t/jp_replace_ujis.test38
-rw-r--r--mysql-test/suite/jp/t/jp_replace_utf8.test39
-rw-r--r--mysql-test/suite/jp/t/jp_reverse_sjis.test27
-rw-r--r--mysql-test/suite/jp/t/jp_reverse_ucs2.test26
-rw-r--r--mysql-test/suite/jp/t/jp_reverse_ujis.test26
-rw-r--r--mysql-test/suite/jp/t/jp_reverse_utf8.test27
-rw-r--r--mysql-test/suite/jp/t/jp_right_sjis.test42
-rw-r--r--mysql-test/suite/jp/t/jp_right_ucs2.test41
-rw-r--r--mysql-test/suite/jp/t/jp_right_ujis.test41
-rw-r--r--mysql-test/suite/jp/t/jp_right_utf8.test42
-rw-r--r--mysql-test/suite/jp/t/jp_rpad_sjis.test27
-rw-r--r--mysql-test/suite/jp/t/jp_rpad_ucs2.test26
-rw-r--r--mysql-test/suite/jp/t/jp_rpad_ujis.test26
-rw-r--r--mysql-test/suite/jp/t/jp_rpad_utf8.test28
-rw-r--r--mysql-test/suite/jp/t/jp_rtrim_sjis.test46
-rw-r--r--mysql-test/suite/jp/t/jp_rtrim_ucs2.test45
-rw-r--r--mysql-test/suite/jp/t/jp_rtrim_ujis.test45
-rw-r--r--mysql-test/suite/jp/t/jp_rtrim_utf8.test46
-rw-r--r--mysql-test/suite/jp/t/jp_select_sjis.test26
-rw-r--r--mysql-test/suite/jp/t/jp_select_ucs2.test39
-rw-r--r--mysql-test/suite/jp/t/jp_select_ujis.test25
-rw-r--r--mysql-test/suite/jp/t/jp_select_utf8.test26
-rw-r--r--mysql-test/suite/jp/t/jp_subquery_sjis.test44
-rw-r--r--mysql-test/suite/jp/t/jp_subquery_ucs2.test71
-rw-r--r--mysql-test/suite/jp/t/jp_subquery_ujis.test71
-rw-r--r--mysql-test/suite/jp/t/jp_subquery_utf8.test47
-rw-r--r--mysql-test/suite/jp/t/jp_substring_sjis.test111
-rw-r--r--mysql-test/suite/jp/t/jp_substring_ucs2.test109
-rw-r--r--mysql-test/suite/jp/t/jp_substring_ujis.test109
-rw-r--r--mysql-test/suite/jp/t/jp_substring_utf8.test110
-rw-r--r--mysql-test/suite/jp/t/jp_trim_sjis.test220
-rw-r--r--mysql-test/suite/jp/t/jp_trim_ucs2.test58
-rw-r--r--mysql-test/suite/jp/t/jp_trim_ujis.test58
-rw-r--r--mysql-test/suite/jp/t/jp_trim_utf8.test59
-rw-r--r--mysql-test/suite/jp/t/jp_union_ujis.test36
-rw-r--r--mysql-test/suite/jp/t/jp_update_sjis.test30
-rw-r--r--mysql-test/suite/jp/t/jp_update_ucs2.test29
-rw-r--r--mysql-test/suite/jp/t/jp_update_ujis.test29
-rw-r--r--mysql-test/suite/jp/t/jp_update_utf8.test30
-rw-r--r--mysql-test/suite/jp/t/jp_where_sjis.test41
-rw-r--r--mysql-test/suite/jp/t/jp_where_ucs2.test48
-rw-r--r--mysql-test/suite/jp/t/jp_where_ujis.test26
-rw-r--r--mysql-test/suite/jp/t/jp_where_utf8.test29
226 files changed, 3078 insertions, 18861 deletions
diff --git a/mysql-test/suite/jp/include/trim_sjis.inc b/mysql-test/suite/jp/include/trim_sjis.inc
new file mode 100644
index 00000000000..fee31a515a7
--- /dev/null
+++ b/mysql-test/suite/jp/include/trim_sjis.inc
@@ -0,0 +1,70 @@
+#
+# Test TRIM() function with Japanese characters sjis encoding
+#
+
+--source include/have_sjis.inc
+--character_set sjis
+SET NAMES sjis;
+SET character_set_database = sjis;
+
+--disable_warnings
+DROP TABLE IF EXISTS `sP`;
+DROP TABLE IF EXISTS `sQ`;
+DROP TABLE IF EXISTS `sR`;
+--enable_warnings
+--replace_result $engine <engine_to_be_tested>
+eval CREATE TABLE `sP` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = $engine;
+--replace_result $engine <engine_to_be_tested>
+eval CREATE TABLE `sQ` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = $engine;
+--replace_result $engine <engine_to_be_tested>
+eval CREATE TABLE `sR` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = $engine;
+
+# Nothing to trim
+INSERT INTO `sP` VALUES ('渦慨');
+# Test data for TRIM(TRAILING [remstr] FROM str)
+INSERT INTO `sP` VALUES ('渦慨偽');
+INSERT INTO `sP` VALUES ('渦慨偽');
+INSERT INTO `sP` VALUES ('渦慨偽橋');
+# Test data for TRIM(LEADING [remstr] FROM str)
+INSERT INTO `sP` VALUES ('怯桶患');
+INSERT INTO `sP` VALUES ('橋渦慨');
+INSERT INTO `sP` VALUES ('橋怯桶患');
+# Test data for TRIM(BOTH [remstr] FROM str)
+INSERT INTO `sP` VALUES ('橋怯桶患橋');
+# Test data for TRIM without [remstr] (remove spaces)
+INSERT INTO `sP` VALUES (' 渦慨 ');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES (' ');
+INSERT INTO `sR` VALUES ('\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\\\\');
+INSERT INTO `sR` VALUES (' \\\\\ ');
+
+SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sP`;
+SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sP`;
+SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sP`;
+SELECT `bP`,TRIM(`bP`) FROM `sP`;
+SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sQ`;
+SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sQ`;
+SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sQ`;
+SELECT `bP`,TRIM(`bP`) FROM `sQ`;
+SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sR`;
+SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sR`;
+SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sR`;
+SELECT `bP`,TRIM(`bP`) FROM `sR`;
+
+DROP TABLE `sP`;
+DROP TABLE `sQ`;
+DROP TABLE `sR`;
diff --git a/mysql-test/suite/jp/r/jp_alter_sjis.result b/mysql-test/suite/jp/r/jp_alter_sjis.result
index f970508229a..85d974df78e 100644
--- a/mysql-test/suite/jp/r/jp_alter_sjis.result
+++ b/mysql-test/suite/jp/r/jp_alter_sjis.result
@@ -31,17 +31,17 @@ NULL 崖崖 NULL NULL
DESC `臼`;
Field Type Null Key Default Extra
橋 char(1) YES MUL NULL
-祁 char(6) PRI
-幻 char(1) YES MUL NULL
+祁 char(6) NO PRI
+幻 char(1) YES UNI NULL
更 char(1) YES NULL
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL,
- `祁` char(6) NOT NULL default '',
- `幻` char(1) default NULL,
- `更` char(1) default NULL,
- PRIMARY KEY (`祁`),
+ `橋` char(1) DEFAULT NULL,
+ `祁` char(6) NOT NULL DEFAULT '',
+ `幻` char(1) DEFAULT NULL,
+ `更` char(1) DEFAULT NULL,
+ PRIMARY KEY (`祁`),
UNIQUE KEY `幻` (`幻`),
KEY `橋` (`橋`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
@@ -58,11 +58,11 @@ SELECT * FROM `臼`;
崖崖
DESC `臼`;
Field Type Null Key Default Extra
-祁 char(6)
+祁 char(6) NO
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `祁` char(6) NOT NULL default ''
+ `祁` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=sjis
ALTER TABLE `` ADD `` char(1) FIRST;
ALTER TABLE `` ADD `` char(1) AFTER ``;
@@ -80,17 +80,17 @@ NULL NULL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) YES MUL NULL
- char(6) PRI
- char(1) YES MUL NULL
+ char(6) NO PRI
+ char(1) YES UNI NULL
char(1) YES NULL
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
+ `` char(1) DEFAULT NULL,
+ `` char(6) NOT NULL DEFAULT '',
+ `` char(1) DEFAULT NULL,
+ `` char(1) DEFAULT NULL,
+ PRIMARY KEY (``),
UNIQUE KEY `` (``),
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
@@ -107,11 +107,11 @@ SELECT * FROM ``;
DESC ``;
Field Type Null Key Default Extra
- char(6)
+ char(6) NO
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(6) NOT NULL default ''
+ `` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=sjis
ALTER TABLE `\\\` ADD `\\\` char(1) FIRST;
ALTER TABLE `\\\` ADD `\\\` char(1) AFTER `\\\`;
@@ -129,17 +129,17 @@ NULL \\\\\ NULL NULL
DESC `\\\`;
Field Type Null Key Default Extra
\\ char(1) YES MUL NULL
-\\\ char(6) PRI
-\\\ char(1) YES MUL NULL
+\\\ char(6) NO PRI
+\\\ char(1) YES UNI NULL
\\\ char(1) YES NULL
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\` char(1) default NULL,
- `\\\` char(6) NOT NULL default '',
- `\\\` char(1) default NULL,
- `\\\` char(1) default NULL,
- PRIMARY KEY (`\\\`),
+ `\\` char(1) DEFAULT NULL,
+ `\\\` char(6) NOT NULL DEFAULT '',
+ `\\\` char(1) DEFAULT NULL,
+ `\\\` char(1) DEFAULT NULL,
+ PRIMARY KEY (`\\\`),
UNIQUE KEY `\\\` (`\\\`),
KEY `\\\` (`\\`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
@@ -156,11 +156,11 @@ SELECT * FROM `\\\`;
\\\\\
DESC `\\\`;
Field Type Null Key Default Extra
-\\\ char(6)
+\\\ char(6) NO
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(6) NOT NULL default ''
+ `\\\` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=sjis
DROP TABLE `臼`;
DROP TABLE `臆`;
@@ -193,17 +193,17 @@ NULL 崖崖 NULL NULL
DESC `臼`;
Field Type Null Key Default Extra
橋 char(1) YES MUL NULL
-祁 char(6) PRI
-幻 char(1) YES MUL NULL
+祁 char(6) NO PRI
+幻 char(1) YES UNI NULL
更 char(1) YES NULL
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL,
- `祁` char(6) NOT NULL default '',
- `幻` char(1) default NULL,
- `更` char(1) default NULL,
- PRIMARY KEY (`祁`),
+ `橋` char(1) DEFAULT NULL,
+ `祁` char(6) NOT NULL DEFAULT '',
+ `幻` char(1) DEFAULT NULL,
+ `更` char(1) DEFAULT NULL,
+ PRIMARY KEY (`祁`),
UNIQUE KEY `幻` (`幻`),
KEY `橋` (`橋`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
@@ -220,11 +220,11 @@ SELECT * FROM `臼`;
崖崖
DESC `臼`;
Field Type Null Key Default Extra
-祁 char(6)
+祁 char(6) NO
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `祁` char(6) NOT NULL default ''
+ `祁` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=sjis
ALTER TABLE `` ADD `` char(1) FIRST;
ALTER TABLE `` ADD `` char(1) AFTER ``;
@@ -242,17 +242,17 @@ NULL NULL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) YES MUL NULL
- char(6) PRI
- char(1) YES MUL NULL
+ char(6) NO PRI
+ char(1) YES UNI NULL
char(1) YES NULL
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
+ `` char(1) DEFAULT NULL,
+ `` char(6) NOT NULL DEFAULT '',
+ `` char(1) DEFAULT NULL,
+ `` char(1) DEFAULT NULL,
+ PRIMARY KEY (``),
UNIQUE KEY `` (``),
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
@@ -269,11 +269,11 @@ SELECT * FROM ``;
DESC ``;
Field Type Null Key Default Extra
- char(6)
+ char(6) NO
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(6) NOT NULL default ''
+ `` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=sjis
ALTER TABLE `\\\` ADD `\\\` char(1) FIRST;
ALTER TABLE `\\\` ADD `\\\` char(1) AFTER `\\\`;
@@ -291,17 +291,17 @@ NULL \\\\\ NULL NULL
DESC `\\\`;
Field Type Null Key Default Extra
\\ char(1) YES MUL NULL
-\\\ char(6) PRI
-\\\ char(1) YES MUL NULL
+\\\ char(6) NO PRI
+\\\ char(1) YES UNI NULL
\\\ char(1) YES NULL
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\` char(1) default NULL,
- `\\\` char(6) NOT NULL default '',
- `\\\` char(1) default NULL,
- `\\\` char(1) default NULL,
- PRIMARY KEY (`\\\`),
+ `\\` char(1) DEFAULT NULL,
+ `\\\` char(6) NOT NULL DEFAULT '',
+ `\\\` char(1) DEFAULT NULL,
+ `\\\` char(1) DEFAULT NULL,
+ PRIMARY KEY (`\\\`),
UNIQUE KEY `\\\` (`\\\`),
KEY `\\\` (`\\`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
@@ -318,11 +318,11 @@ SELECT * FROM `\\\`;
\\\\\
DESC `\\\`;
Field Type Null Key Default Extra
-\\\ char(6)
+\\\ char(6) NO
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(6) NOT NULL default ''
+ `\\\` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=sjis
DROP TABLE `臼`;
DROP TABLE `臆`;
@@ -330,12 +330,12 @@ DROP TABLE ``;
DROP TABLE ``;
DROP TABLE `\\\`;
DROP TABLE `\\\`;
-CREATE TABLE `臼`(`祁` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `臆`(`更` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
+CREATE TABLE `臼`(`祁` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `臆`(`更` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
INSERT INTO `臼` VALUES ('臼臼'),('臆臆'),('崖崖');
INSERT INTO `` VALUES (''),(''),('');
INSERT INTO `\\\` VALUES ('\\\\\'),('\\\\\'),('\\\\\');
@@ -355,20 +355,20 @@ NULL 崖崖 NULL NULL
DESC `臼`;
Field Type Null Key Default Extra
橋 char(1) YES MUL NULL
-祁 char(6) PRI
-幻 char(1) YES MUL NULL
+祁 char(6) NO PRI
+幻 char(1) YES UNI NULL
更 char(1) YES NULL
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL,
- `祁` char(6) NOT NULL default '',
- `幻` char(1) default NULL,
- `更` char(1) default NULL,
- PRIMARY KEY (`祁`),
+ `橋` char(1) DEFAULT NULL,
+ `祁` char(6) NOT NULL DEFAULT '',
+ `幻` char(1) DEFAULT NULL,
+ `更` char(1) DEFAULT NULL,
+ PRIMARY KEY (`祁`),
UNIQUE KEY `幻` (`幻`),
KEY `橋` (`橋`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
ALTER TABLE `臼` DROP INDEX `橋`;
ALTER TABLE `臼` DROP PRIMARY KEY;
ALTER TABLE `臼` DROP INDEX `幻`;
@@ -382,12 +382,12 @@ SELECT * FROM `臼`;
崖崖
DESC `臼`;
Field Type Null Key Default Extra
-祁 char(6)
+祁 char(6) NO
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `祁` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `祁` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
ALTER TABLE `` ADD `` char(1) FIRST;
ALTER TABLE `` ADD `` char(1) AFTER ``;
ALTER TABLE `` ADD `` char(1);
@@ -404,20 +404,20 @@ NULL NULL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) YES MUL NULL
- char(6) PRI
- char(1) YES MUL NULL
+ char(6) NO PRI
+ char(1) YES UNI NULL
char(1) YES NULL
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
+ `` char(1) DEFAULT NULL,
+ `` char(6) NOT NULL DEFAULT '',
+ `` char(1) DEFAULT NULL,
+ `` char(1) DEFAULT NULL,
+ PRIMARY KEY (``),
UNIQUE KEY `` (``),
KEY `` (``)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
ALTER TABLE `` DROP INDEX ``;
ALTER TABLE `` DROP PRIMARY KEY;
ALTER TABLE `` DROP INDEX ``;
@@ -431,12 +431,12 @@ SELECT * FROM ``;
DESC ``;
Field Type Null Key Default Extra
- char(6)
+ char(6) NO
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
ALTER TABLE `\\\` ADD `\\\` char(1) FIRST;
ALTER TABLE `\\\` ADD `\\\` char(1) AFTER `\\\`;
ALTER TABLE `\\\` ADD `\\\` char(1);
@@ -453,20 +453,20 @@ NULL \\\\\ NULL NULL
DESC `\\\`;
Field Type Null Key Default Extra
\\ char(1) YES MUL NULL
-\\\ char(6) PRI
-\\\ char(1) YES MUL NULL
+\\\ char(6) NO PRI
+\\\ char(1) YES UNI NULL
\\\ char(1) YES NULL
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\` char(1) default NULL,
- `\\\` char(6) NOT NULL default '',
- `\\\` char(1) default NULL,
- `\\\` char(1) default NULL,
- PRIMARY KEY (`\\\`),
+ `\\` char(1) DEFAULT NULL,
+ `\\\` char(6) NOT NULL DEFAULT '',
+ `\\\` char(1) DEFAULT NULL,
+ `\\\` char(1) DEFAULT NULL,
+ PRIMARY KEY (`\\\`),
UNIQUE KEY `\\\` (`\\\`),
KEY `\\\` (`\\`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
ALTER TABLE `\\\` DROP INDEX `\\\`;
ALTER TABLE `\\\` DROP PRIMARY KEY;
ALTER TABLE `\\\` DROP INDEX `\\\`;
@@ -480,165 +480,12 @@ SELECT * FROM `\\\`;
\\\\\
DESC `\\\`;
Field Type Null Key Default Extra
-\\\ char(6)
+\\\ char(6) NO
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=sjis
-DROP TABLE `臼`;
-DROP TABLE `臆`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-CREATE TABLE `臼`(`祁` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `臆`(`更` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-INSERT INTO `臼` VALUES ('臼臼'),('臆臆'),('崖崖');
-INSERT INTO `` VALUES (''),(''),('');
-INSERT INTO `\\\` VALUES ('\\\\\'),('\\\\\'),('\\\\\');
-ALTER TABLE `臼` ADD `橋` char(1) FIRST;
-ALTER TABLE `臼` ADD `幻` char(1) AFTER `祁`;
-ALTER TABLE `臼` ADD `更` char(1);
-ALTER TABLE `臼` ADD INDEX (`橋`);
-ALTER TABLE `臼` ADD PRIMARY KEY (`祁`);
-ALTER TABLE `臼` CHANGE `橋` `橋` char(1);
-ALTER TABLE `臼` MODIFY `祁` char(6);
-SELECT * FROM `臼`;
-橋 祁 幻 更
-NULL 臼臼 NULL NULL
-NULL 臆臆 NULL NULL
-NULL 崖崖 NULL NULL
-DESC `臼`;
-Field Type Null Key Default Extra
-橋 char(1) YES MUL NULL
-祁 char(6) PRI
-幻 char(1) YES NULL
-更 char(1) YES NULL
-SHOW CREATE TABLE `臼`;
-Table Create Table
-臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL,
- `祁` char(6) NOT NULL default '',
- `幻` char(1) default NULL,
- `更` char(1) default NULL,
- PRIMARY KEY (`祁`),
- KEY `橋` (`橋`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-ALTER TABLE `臼` DROP INDEX `橋`;
-ALTER TABLE `臼` DROP PRIMARY KEY;
-ALTER TABLE `臼` DROP `橋`;
-ALTER TABLE `臼` DROP `幻`;
-ALTER TABLE `臼` DROP `更`;
-SELECT * FROM `臼`;
-祁
-臼臼
-臆臆
-崖崖
-DESC `臼`;
-Field Type Null Key Default Extra
-祁 char(6)
-SHOW CREATE TABLE `臼`;
-Table Create Table
-臼 CREATE TABLE `臼` (
- `祁` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-ALTER TABLE `` ADD `` char(1) FIRST;
-ALTER TABLE `` ADD `` char(1) AFTER ``;
-ALTER TABLE `` ADD `` char(1);
-ALTER TABLE `` ADD INDEX (``);
-ALTER TABLE `` ADD PRIMARY KEY (``);
-ALTER TABLE `` CHANGE `` `` char(1);
-ALTER TABLE `` MODIFY `` char(6);
-SELECT * FROM ``;
-
-NULL NULL NULL
-NULL NULL NULL
-NULL NULL NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES MUL NULL
- char(6) PRI
- char(1) YES NULL
- char(1) YES NULL
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
- KEY `` (``)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-ALTER TABLE `` DROP INDEX ``;
-ALTER TABLE `` DROP PRIMARY KEY;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-SELECT * FROM ``;
-
-
-
-
-DESC ``;
-Field Type Null Key Default Extra
- char(6)
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-ALTER TABLE `\\\` ADD `\\\` char(1) FIRST;
-ALTER TABLE `\\\` ADD `\\\` char(1) AFTER `\\\`;
-ALTER TABLE `\\\` ADD `\\\` char(1);
-ALTER TABLE `\\\` ADD INDEX (`\\\`);
-ALTER TABLE `\\\` ADD PRIMARY KEY (`\\\`);
-ALTER TABLE `\\\` CHANGE `\\\` `\\` char(1);
-ALTER TABLE `\\\` MODIFY `\\\` char(6);
-SELECT * FROM `\\\`;
-\\ \\\ \\\ \\\
-NULL \\\\\ NULL NULL
-NULL \\\\\ NULL NULL
-NULL \\\\\ NULL NULL
-DESC `\\\`;
-Field Type Null Key Default Extra
-\\ char(1) YES MUL NULL
-\\\ char(6) PRI
-\\\ char(1) YES NULL
-\\\ char(1) YES NULL
-SHOW CREATE TABLE `\\\`;
-Table Create Table
-\\\ CREATE TABLE `\\\` (
- `\\` char(1) default NULL,
- `\\\` char(6) NOT NULL default '',
- `\\\` char(1) default NULL,
- `\\\` char(1) default NULL,
- PRIMARY KEY (`\\\`),
- KEY `\\\` (`\\`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-ALTER TABLE `\\\` DROP INDEX `\\\`;
-ALTER TABLE `\\\` DROP PRIMARY KEY;
-ALTER TABLE `\\\` DROP `\\`;
-ALTER TABLE `\\\` DROP `\\\`;
-ALTER TABLE `\\\` DROP `\\\`;
-SELECT * FROM `\\\`;
-\\\
-\\\\\
-\\\\\
-\\\\\
-DESC `\\\`;
-Field Type Null Key Default Extra
-\\\ char(6)
-SHOW CREATE TABLE `\\\`;
-Table Create Table
-\\\ CREATE TABLE `\\\` (
- `\\\` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
+ `\\\` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
DROP TABLE `臼`;
DROP TABLE `臆`;
DROP TABLE ``;
diff --git a/mysql-test/suite/jp/r/jp_alter_ucs2.result b/mysql-test/suite/jp/r/jp_alter_ucs2.result
index 2756e5a758d..7cbd8859ac1 100644
--- a/mysql-test/suite/jp/r/jp_alter_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_alter_ucs2.result
@@ -32,17 +32,17 @@ NULL ウウウウウ NULL NULL
DESC `アアア`;
Field Type Null Key Default Extra
カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES MUL NULL
+キキキ char(6) NO PRI
+ククク char(1) YES UNI NULL
ケケケ char(1) YES NULL
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
+ `カカ` char(1) DEFAULT NULL,
+ `キキキ` char(6) NOT NULL DEFAULT '',
+ `ククク` char(1) DEFAULT NULL,
+ `ケケケ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`キキキ`),
UNIQUE KEY `ククク` (`ククク`),
KEY `カカカ` (`カカ`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
@@ -59,11 +59,11 @@ SELECT * FROM `アアア`;
ウウウウウ
DESC `アアア`;
Field Type Null Key Default Extra
-キキキ char(6)
+キキキ char(6) NO
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
+ `キキキ` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
@@ -81,17 +81,17 @@ NULL ううううう NULL NULL
DESC `あああ`;
Field Type Null Key Default Extra
かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES MUL NULL
+ききき char(6) NO PRI
+くくく char(1) YES UNI NULL
けけけ char(1) YES NULL
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
+ `かか` char(1) DEFAULT NULL,
+ `ききき` char(6) NOT NULL DEFAULT '',
+ `くくく` char(1) DEFAULT NULL,
+ `けけけ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`ききき`),
UNIQUE KEY `くくく` (`くくく`),
KEY `かかか` (`かか`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
@@ -108,11 +108,11 @@ SELECT * FROM `あああ`;
ううううう
DESC `あああ`;
Field Type Null Key Default Extra
-ききき char(6)
+ききき char(6) NO
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
+ `ききき` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
@@ -130,17 +130,17 @@ NULL 丅丅丅丅丅 NULL NULL
DESC `龖龖龖`;
Field Type Null Key Default Extra
丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES MUL NULL
+丂丂丂 char(6) NO PRI
+丅丅丅 char(1) YES UNI NULL
乚乚乚 char(1) YES NULL
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
+ `丄丄` char(1) DEFAULT NULL,
+ `丂丂丂` char(6) NOT NULL DEFAULT '',
+ `丅丅丅` char(1) DEFAULT NULL,
+ `乚乚乚` char(1) DEFAULT NULL,
+ PRIMARY KEY (`丂丂丂`),
UNIQUE KEY `丅丅丅` (`丅丅丅`),
KEY `丄丄丄` (`丄丄`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
@@ -157,11 +157,11 @@ SELECT * FROM `龖龖龖`;
丅丅丅丅丅
DESC `龖龖龖`;
Field Type Null Key Default Extra
-丂丂丂 char(6)
+丂丂丂 char(6) NO
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
+ `丂丂丂` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -194,17 +194,17 @@ NULL ウウウウウ NULL NULL
DESC `アアア`;
Field Type Null Key Default Extra
カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES MUL NULL
+キキキ char(6) NO PRI
+ククク char(1) YES UNI NULL
ケケケ char(1) YES NULL
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
+ `カカ` char(1) DEFAULT NULL,
+ `キキキ` char(6) NOT NULL DEFAULT '',
+ `ククク` char(1) DEFAULT NULL,
+ `ケケケ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`キキキ`),
UNIQUE KEY `ククク` (`ククク`),
KEY `カカカ` (`カカ`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
@@ -221,11 +221,11 @@ SELECT * FROM `アアア`;
ウウウウウ
DESC `アアア`;
Field Type Null Key Default Extra
-キキキ char(6)
+キキキ char(6) NO
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
+ `キキキ` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
@@ -243,17 +243,17 @@ NULL ううううう NULL NULL
DESC `あああ`;
Field Type Null Key Default Extra
かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES MUL NULL
+ききき char(6) NO PRI
+くくく char(1) YES UNI NULL
けけけ char(1) YES NULL
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
+ `かか` char(1) DEFAULT NULL,
+ `ききき` char(6) NOT NULL DEFAULT '',
+ `くくく` char(1) DEFAULT NULL,
+ `けけけ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`ききき`),
UNIQUE KEY `くくく` (`くくく`),
KEY `かかか` (`かか`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
@@ -270,11 +270,11 @@ SELECT * FROM `あああ`;
ううううう
DESC `あああ`;
Field Type Null Key Default Extra
-ききき char(6)
+ききき char(6) NO
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
+ `ききき` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
@@ -292,17 +292,17 @@ NULL 丅丅丅丅丅 NULL NULL
DESC `龖龖龖`;
Field Type Null Key Default Extra
丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES MUL NULL
+丂丂丂 char(6) NO PRI
+丅丅丅 char(1) YES UNI NULL
乚乚乚 char(1) YES NULL
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
+ `丄丄` char(1) DEFAULT NULL,
+ `丂丂丂` char(6) NOT NULL DEFAULT '',
+ `丅丅丅` char(1) DEFAULT NULL,
+ `乚乚乚` char(1) DEFAULT NULL,
+ PRIMARY KEY (`丂丂丂`),
UNIQUE KEY `丅丅丅` (`丅丅丅`),
KEY `丄丄丄` (`丄丄`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
@@ -319,11 +319,11 @@ SELECT * FROM `龖龖龖`;
丅丅丅丅丅
DESC `龖龖龖`;
Field Type Null Key Default Extra
-丂丂丂 char(6)
+丂丂丂 char(6) NO
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
+ `丂丂丂` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -331,12 +331,12 @@ DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
+CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
INSERT INTO `龖龖龖` VALUES ('丂丂丂丂丂'),('丄丄丄丄丄'),('丅丅丅丅丅');
@@ -356,20 +356,20 @@ NULL ウウウウウ NULL NULL
DESC `アアア`;
Field Type Null Key Default Extra
カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES MUL NULL
+キキキ char(6) NO PRI
+ククク char(1) YES UNI NULL
ケケケ char(1) YES NULL
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
+ `カカ` char(1) DEFAULT NULL,
+ `キキキ` char(6) NOT NULL DEFAULT '',
+ `ククク` char(1) DEFAULT NULL,
+ `ケケケ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`キキキ`),
UNIQUE KEY `ククク` (`ククク`),
KEY `カカカ` (`カカ`)
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
ALTER TABLE `アアア` DROP INDEX `カカカ`;
ALTER TABLE `アアア` DROP PRIMARY KEY;
ALTER TABLE `アアア` DROP INDEX `ククク`;
@@ -383,12 +383,12 @@ SELECT * FROM `アアア`;
ウウウウウ
DESC `アアア`;
Field Type Null Key Default Extra
-キキキ char(6)
+キキキ char(6) NO
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `キキキ` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
ALTER TABLE `あああ` ADD `けけけ` char(1);
@@ -405,20 +405,20 @@ NULL ううううう NULL NULL
DESC `あああ`;
Field Type Null Key Default Extra
かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES MUL NULL
+ききき char(6) NO PRI
+くくく char(1) YES UNI NULL
けけけ char(1) YES NULL
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
+ `かか` char(1) DEFAULT NULL,
+ `ききき` char(6) NOT NULL DEFAULT '',
+ `くくく` char(1) DEFAULT NULL,
+ `けけけ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`ききき`),
UNIQUE KEY `くくく` (`くくく`),
KEY `かかか` (`かか`)
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
ALTER TABLE `あああ` DROP INDEX `かかか`;
ALTER TABLE `あああ` DROP PRIMARY KEY;
ALTER TABLE `あああ` DROP INDEX `くくく`;
@@ -432,12 +432,12 @@ SELECT * FROM `あああ`;
ううううう
DESC `あああ`;
Field Type Null Key Default Extra
-ききき char(6)
+ききき char(6) NO
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `ききき` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
ALTER TABLE `龖龖龖` ADD `乚乚乚` char(1);
@@ -454,20 +454,20 @@ NULL 丅丅丅丅丅 NULL NULL
DESC `龖龖龖`;
Field Type Null Key Default Extra
丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES MUL NULL
+丂丂丂 char(6) NO PRI
+丅丅丅 char(1) YES UNI NULL
乚乚乚 char(1) YES NULL
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
+ `丄丄` char(1) DEFAULT NULL,
+ `丂丂丂` char(6) NOT NULL DEFAULT '',
+ `丅丅丅` char(1) DEFAULT NULL,
+ `乚乚乚` char(1) DEFAULT NULL,
+ PRIMARY KEY (`丂丂丂`),
UNIQUE KEY `丅丅丅` (`丅丅丅`),
KEY `丄丄丄` (`丄丄`)
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
ALTER TABLE `龖龖龖` DROP INDEX `丄丄丄`;
ALTER TABLE `龖龖龖` DROP PRIMARY KEY;
ALTER TABLE `龖龖龖` DROP INDEX `丅丅丅`;
@@ -481,165 +481,12 @@ SELECT * FROM `龖龖龖`;
丅丅丅丅丅
DESC `龖龖龖`;
Field Type Null Key Default Extra
-丂丂丂 char(6)
+丂丂丂 char(6) NO
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
-INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
-INSERT INTO `龖龖龖` VALUES ('丂丂丂丂丂'),('丄丄丄丄丄'),('丅丅丅丅丅');
-ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
-ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
-ALTER TABLE `アアア` ADD `ケケケ` char(1);
-ALTER TABLE `アアア` ADD INDEX (`カカカ`);
-ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
-ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
-ALTER TABLE `アアア` MODIFY `キキキ` char(6);
-SELECT * FROM `アアア`;
-カカ キキキ ククク ケケケ
-NULL アアアアア NULL NULL
-NULL イイイイイ NULL NULL
-NULL ウウウウウ NULL NULL
-DESC `アアア`;
-Field Type Null Key Default Extra
-カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES NULL
-ケケケ char(1) YES NULL
-SHOW CREATE TABLE `アアア`;
-Table Create Table
-アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
- KEY `カカカ` (`カカ`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-ALTER TABLE `アアア` DROP INDEX `カカカ`;
-ALTER TABLE `アアア` DROP PRIMARY KEY;
-ALTER TABLE `アアア` DROP `カカ`;
-ALTER TABLE `アアア` DROP `ククク`;
-ALTER TABLE `アアア` DROP `ケケケ`;
-SELECT * FROM `アアア`;
-キキキ
-アアアアア
-イイイイイ
-ウウウウウ
-DESC `アアア`;
-Field Type Null Key Default Extra
-キキキ char(6)
-SHOW CREATE TABLE `アアア`;
-Table Create Table
-アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
-ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
-ALTER TABLE `あああ` ADD `けけけ` char(1);
-ALTER TABLE `あああ` ADD INDEX (`かかか`);
-ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
-ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
-ALTER TABLE `あああ` MODIFY `ききき` char(6);
-SELECT * FROM `あああ`;
-かか ききき くくく けけけ
-NULL あああああ NULL NULL
-NULL いいいいい NULL NULL
-NULL ううううう NULL NULL
-DESC `あああ`;
-Field Type Null Key Default Extra
-かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES NULL
-けけけ char(1) YES NULL
-SHOW CREATE TABLE `あああ`;
-Table Create Table
-あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
- KEY `かかか` (`かか`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-ALTER TABLE `あああ` DROP INDEX `かかか`;
-ALTER TABLE `あああ` DROP PRIMARY KEY;
-ALTER TABLE `あああ` DROP `かか`;
-ALTER TABLE `あああ` DROP `くくく`;
-ALTER TABLE `あああ` DROP `けけけ`;
-SELECT * FROM `あああ`;
-ききき
-あああああ
-いいいいい
-ううううう
-DESC `あああ`;
-Field Type Null Key Default Extra
-ききき char(6)
-SHOW CREATE TABLE `あああ`;
-Table Create Table
-あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
-ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
-ALTER TABLE `龖龖龖` ADD `乚乚乚` char(1);
-ALTER TABLE `龖龖龖` ADD INDEX (`丄丄丄`);
-ALTER TABLE `龖龖龖` ADD PRIMARY KEY (`丂丂丂`);
-ALTER TABLE `龖龖龖` CHANGE `丄丄丄` `丄丄` char(1);
-ALTER TABLE `龖龖龖` MODIFY `丂丂丂` char(6);
-SELECT * FROM `龖龖龖`;
-丄丄 丂丂丂 丅丅丅 乚乚乚
-NULL 丂丂丂丂丂 NULL NULL
-NULL 丄丄丄丄丄 NULL NULL
-NULL 丅丅丅丅丅 NULL NULL
-DESC `龖龖龖`;
-Field Type Null Key Default Extra
-丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES NULL
-乚乚乚 char(1) YES NULL
-SHOW CREATE TABLE `龖龖龖`;
-Table Create Table
-龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
- KEY `丄丄丄` (`丄丄`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-ALTER TABLE `龖龖龖` DROP INDEX `丄丄丄`;
-ALTER TABLE `龖龖龖` DROP PRIMARY KEY;
-ALTER TABLE `龖龖龖` DROP `丄丄`;
-ALTER TABLE `龖龖龖` DROP `丅丅丅`;
-ALTER TABLE `龖龖龖` DROP `乚乚乚`;
-SELECT * FROM `龖龖龖`;
-丂丂丂
-丂丂丂丂丂
-丄丄丄丄丄
-丅丅丅丅丅
-DESC `龖龖龖`;
-Field Type Null Key Default Extra
-丂丂丂 char(6)
-SHOW CREATE TABLE `龖龖龖`;
-Table Create Table
-龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
+ `丂丂丂` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `あああ`;
diff --git a/mysql-test/suite/jp/r/jp_alter_ujis.result b/mysql-test/suite/jp/r/jp_alter_ujis.result
index afa3c79cbce..7e4f19342f6 100644
--- a/mysql-test/suite/jp/r/jp_alter_ujis.result
+++ b/mysql-test/suite/jp/r/jp_alter_ujis.result
@@ -31,17 +31,17 @@ NULL ウウウウウ NULL NULL
DESC `アアア`;
Field Type Null Key Default Extra
カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES MUL NULL
+キキキ char(6) NO PRI
+ククク char(1) YES UNI NULL
ケケケ char(1) YES NULL
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
+ `カカ` char(1) DEFAULT NULL,
+ `キキキ` char(6) NOT NULL DEFAULT '',
+ `ククク` char(1) DEFAULT NULL,
+ `ケケケ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`キキキ`),
UNIQUE KEY `ククク` (`ククク`),
KEY `カカカ` (`カカ`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
@@ -58,11 +58,11 @@ SELECT * FROM `アアア`;
ウウウウウ
DESC `アアア`;
Field Type Null Key Default Extra
-キキキ char(6)
+キキキ char(6) NO
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
+ `キキキ` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=ujis
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
@@ -80,17 +80,17 @@ NULL ううううう NULL NULL
DESC `あああ`;
Field Type Null Key Default Extra
かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES MUL NULL
+ききき char(6) NO PRI
+くくく char(1) YES UNI NULL
けけけ char(1) YES NULL
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
+ `かか` char(1) DEFAULT NULL,
+ `ききき` char(6) NOT NULL DEFAULT '',
+ `くくく` char(1) DEFAULT NULL,
+ `けけけ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`ききき`),
UNIQUE KEY `くくく` (`くくく`),
KEY `かかか` (`かか`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
@@ -107,11 +107,11 @@ SELECT * FROM `あああ`;
ううううう
DESC `あああ`;
Field Type Null Key Default Extra
-ききき char(6)
+ききき char(6) NO
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
+ `ききき` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=ujis
ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
@@ -129,17 +129,17 @@ NULL 丅丅丅丅丅 NULL NULL
DESC `龖龖龖`;
Field Type Null Key Default Extra
丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES MUL NULL
+丂丂丂 char(6) NO PRI
+丅丅丅 char(1) YES UNI NULL
乚乚乚 char(1) YES NULL
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
+ `丄丄` char(1) DEFAULT NULL,
+ `丂丂丂` char(6) NOT NULL DEFAULT '',
+ `丅丅丅` char(1) DEFAULT NULL,
+ `乚乚乚` char(1) DEFAULT NULL,
+ PRIMARY KEY (`丂丂丂`),
UNIQUE KEY `丅丅丅` (`丅丅丅`),
KEY `丄丄丄` (`丄丄`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
@@ -156,11 +156,11 @@ SELECT * FROM `龖龖龖`;
丅丅丅丅丅
DESC `龖龖龖`;
Field Type Null Key Default Extra
-丂丂丂 char(6)
+丂丂丂 char(6) NO
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
+ `丂丂丂` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=ujis
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -193,17 +193,17 @@ NULL ウウウウウ NULL NULL
DESC `アアア`;
Field Type Null Key Default Extra
カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES MUL NULL
+キキキ char(6) NO PRI
+ククク char(1) YES UNI NULL
ケケケ char(1) YES NULL
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
+ `カカ` char(1) DEFAULT NULL,
+ `キキキ` char(6) NOT NULL DEFAULT '',
+ `ククク` char(1) DEFAULT NULL,
+ `ケケケ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`キキキ`),
UNIQUE KEY `ククク` (`ククク`),
KEY `カカカ` (`カカ`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
@@ -220,11 +220,11 @@ SELECT * FROM `アアア`;
ウウウウウ
DESC `アアア`;
Field Type Null Key Default Extra
-キキキ char(6)
+キキキ char(6) NO
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
+ `キキキ` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=ujis
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
@@ -242,17 +242,17 @@ NULL ううううう NULL NULL
DESC `あああ`;
Field Type Null Key Default Extra
かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES MUL NULL
+ききき char(6) NO PRI
+くくく char(1) YES UNI NULL
けけけ char(1) YES NULL
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
+ `かか` char(1) DEFAULT NULL,
+ `ききき` char(6) NOT NULL DEFAULT '',
+ `くくく` char(1) DEFAULT NULL,
+ `けけけ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`ききき`),
UNIQUE KEY `くくく` (`くくく`),
KEY `かかか` (`かか`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
@@ -269,11 +269,11 @@ SELECT * FROM `あああ`;
ううううう
DESC `あああ`;
Field Type Null Key Default Extra
-ききき char(6)
+ききき char(6) NO
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
+ `ききき` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=ujis
ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
@@ -291,17 +291,17 @@ NULL 丅丅丅丅丅 NULL NULL
DESC `龖龖龖`;
Field Type Null Key Default Extra
丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES MUL NULL
+丂丂丂 char(6) NO PRI
+丅丅丅 char(1) YES UNI NULL
乚乚乚 char(1) YES NULL
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
+ `丄丄` char(1) DEFAULT NULL,
+ `丂丂丂` char(6) NOT NULL DEFAULT '',
+ `丅丅丅` char(1) DEFAULT NULL,
+ `乚乚乚` char(1) DEFAULT NULL,
+ PRIMARY KEY (`丂丂丂`),
UNIQUE KEY `丅丅丅` (`丅丅丅`),
KEY `丄丄丄` (`丄丄`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
@@ -318,11 +318,11 @@ SELECT * FROM `龖龖龖`;
丅丅丅丅丅
DESC `龖龖龖`;
Field Type Null Key Default Extra
-丂丂丂 char(6)
+丂丂丂 char(6) NO
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
+ `丂丂丂` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=ujis
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -330,12 +330,12 @@ DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
+CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
INSERT INTO `龖龖龖` VALUES ('丂丂丂丂丂'),('丄丄丄丄丄'),('丅丅丅丅丅');
@@ -355,20 +355,20 @@ NULL ウウウウウ NULL NULL
DESC `アアア`;
Field Type Null Key Default Extra
カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES MUL NULL
+キキキ char(6) NO PRI
+ククク char(1) YES UNI NULL
ケケケ char(1) YES NULL
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
+ `カカ` char(1) DEFAULT NULL,
+ `キキキ` char(6) NOT NULL DEFAULT '',
+ `ククク` char(1) DEFAULT NULL,
+ `ケケケ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`キキキ`),
UNIQUE KEY `ククク` (`ククク`),
KEY `カカカ` (`カカ`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
ALTER TABLE `アアア` DROP INDEX `カカカ`;
ALTER TABLE `アアア` DROP PRIMARY KEY;
ALTER TABLE `アアア` DROP INDEX `ククク`;
@@ -382,12 +382,12 @@ SELECT * FROM `アアア`;
ウウウウウ
DESC `アアア`;
Field Type Null Key Default Extra
-キキキ char(6)
+キキキ char(6) NO
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `キキキ` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
ALTER TABLE `あああ` ADD `けけけ` char(1);
@@ -404,20 +404,20 @@ NULL ううううう NULL NULL
DESC `あああ`;
Field Type Null Key Default Extra
かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES MUL NULL
+ききき char(6) NO PRI
+くくく char(1) YES UNI NULL
けけけ char(1) YES NULL
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
+ `かか` char(1) DEFAULT NULL,
+ `ききき` char(6) NOT NULL DEFAULT '',
+ `くくく` char(1) DEFAULT NULL,
+ `けけけ` char(1) DEFAULT NULL,
+ PRIMARY KEY (`ききき`),
UNIQUE KEY `くくく` (`くくく`),
KEY `かかか` (`かか`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
ALTER TABLE `あああ` DROP INDEX `かかか`;
ALTER TABLE `あああ` DROP PRIMARY KEY;
ALTER TABLE `あああ` DROP INDEX `くくく`;
@@ -431,12 +431,12 @@ SELECT * FROM `あああ`;
ううううう
DESC `あああ`;
Field Type Null Key Default Extra
-ききき char(6)
+ききき char(6) NO
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `ききき` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
ALTER TABLE `龖龖龖` ADD `乚乚乚` char(1);
@@ -453,20 +453,20 @@ NULL 丅丅丅丅丅 NULL NULL
DESC `龖龖龖`;
Field Type Null Key Default Extra
丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES MUL NULL
+丂丂丂 char(6) NO PRI
+丅丅丅 char(1) YES UNI NULL
乚乚乚 char(1) YES NULL
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
+ `丄丄` char(1) DEFAULT NULL,
+ `丂丂丂` char(6) NOT NULL DEFAULT '',
+ `丅丅丅` char(1) DEFAULT NULL,
+ `乚乚乚` char(1) DEFAULT NULL,
+ PRIMARY KEY (`丂丂丂`),
UNIQUE KEY `丅丅丅` (`丅丅丅`),
KEY `丄丄丄` (`丄丄`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
ALTER TABLE `龖龖龖` DROP INDEX `丄丄丄`;
ALTER TABLE `龖龖龖` DROP PRIMARY KEY;
ALTER TABLE `龖龖龖` DROP INDEX `丅丅丅`;
@@ -480,165 +480,12 @@ SELECT * FROM `龖龖龖`;
丅丅丅丅丅
DESC `龖龖龖`;
Field Type Null Key Default Extra
-丂丂丂 char(6)
+丂丂丂 char(6) NO
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=ujis
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
-INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
-INSERT INTO `龖龖龖` VALUES ('丂丂丂丂丂'),('丄丄丄丄丄'),('丅丅丅丅丅');
-ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
-ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
-ALTER TABLE `アアア` ADD `ケケケ` char(1);
-ALTER TABLE `アアア` ADD INDEX (`カカカ`);
-ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
-ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
-ALTER TABLE `アアア` MODIFY `キキキ` char(6);
-SELECT * FROM `アアア`;
-カカ キキキ ククク ケケケ
-NULL アアアアア NULL NULL
-NULL イイイイイ NULL NULL
-NULL ウウウウウ NULL NULL
-DESC `アアア`;
-Field Type Null Key Default Extra
-カカ char(1) YES MUL NULL
-キキキ char(6) PRI
-ククク char(1) YES NULL
-ケケケ char(1) YES NULL
-SHOW CREATE TABLE `アアア`;
-Table Create Table
-アアア CREATE TABLE `アアア` (
- `カカ` char(1) default NULL,
- `キキキ` char(6) NOT NULL default '',
- `ククク` char(1) default NULL,
- `ケケケ` char(1) default NULL,
- PRIMARY KEY (`キキキ`),
- KEY `カカカ` (`カカ`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-ALTER TABLE `アアア` DROP INDEX `カカカ`;
-ALTER TABLE `アアア` DROP PRIMARY KEY;
-ALTER TABLE `アアア` DROP `カカ`;
-ALTER TABLE `アアア` DROP `ククク`;
-ALTER TABLE `アアア` DROP `ケケケ`;
-SELECT * FROM `アアア`;
-キキキ
-アアアアア
-イイイイイ
-ウウウウウ
-DESC `アアア`;
-Field Type Null Key Default Extra
-キキキ char(6)
-SHOW CREATE TABLE `アアア`;
-Table Create Table
-アアア CREATE TABLE `アアア` (
- `キキキ` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
-ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
-ALTER TABLE `あああ` ADD `けけけ` char(1);
-ALTER TABLE `あああ` ADD INDEX (`かかか`);
-ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
-ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
-ALTER TABLE `あああ` MODIFY `ききき` char(6);
-SELECT * FROM `あああ`;
-かか ききき くくく けけけ
-NULL あああああ NULL NULL
-NULL いいいいい NULL NULL
-NULL ううううう NULL NULL
-DESC `あああ`;
-Field Type Null Key Default Extra
-かか char(1) YES MUL NULL
-ききき char(6) PRI
-くくく char(1) YES NULL
-けけけ char(1) YES NULL
-SHOW CREATE TABLE `あああ`;
-Table Create Table
-あああ CREATE TABLE `あああ` (
- `かか` char(1) default NULL,
- `ききき` char(6) NOT NULL default '',
- `くくく` char(1) default NULL,
- `けけけ` char(1) default NULL,
- PRIMARY KEY (`ききき`),
- KEY `かかか` (`かか`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-ALTER TABLE `あああ` DROP INDEX `かかか`;
-ALTER TABLE `あああ` DROP PRIMARY KEY;
-ALTER TABLE `あああ` DROP `かか`;
-ALTER TABLE `あああ` DROP `くくく`;
-ALTER TABLE `あああ` DROP `けけけ`;
-SELECT * FROM `あああ`;
-ききき
-あああああ
-いいいいい
-ううううう
-DESC `あああ`;
-Field Type Null Key Default Extra
-ききき char(6)
-SHOW CREATE TABLE `あああ`;
-Table Create Table
-あああ CREATE TABLE `あああ` (
- `ききき` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
-ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
-ALTER TABLE `龖龖龖` ADD `乚乚乚` char(1);
-ALTER TABLE `龖龖龖` ADD INDEX (`丄丄丄`);
-ALTER TABLE `龖龖龖` ADD PRIMARY KEY (`丂丂丂`);
-ALTER TABLE `龖龖龖` CHANGE `丄丄丄` `丄丄` char(1);
-ALTER TABLE `龖龖龖` MODIFY `丂丂丂` char(6);
-SELECT * FROM `龖龖龖`;
-丄丄 丂丂丂 丅丅丅 乚乚乚
-NULL 丂丂丂丂丂 NULL NULL
-NULL 丄丄丄丄丄 NULL NULL
-NULL 丅丅丅丅丅 NULL NULL
-DESC `龖龖龖`;
-Field Type Null Key Default Extra
-丄丄 char(1) YES MUL NULL
-丂丂丂 char(6) PRI
-丅丅丅 char(1) YES NULL
-乚乚乚 char(1) YES NULL
-SHOW CREATE TABLE `龖龖龖`;
-Table Create Table
-龖龖龖 CREATE TABLE `龖龖龖` (
- `丄丄` char(1) default NULL,
- `丂丂丂` char(6) NOT NULL default '',
- `丅丅丅` char(1) default NULL,
- `乚乚乚` char(1) default NULL,
- PRIMARY KEY (`丂丂丂`),
- KEY `丄丄丄` (`丄丄`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-ALTER TABLE `龖龖龖` DROP INDEX `丄丄丄`;
-ALTER TABLE `龖龖龖` DROP PRIMARY KEY;
-ALTER TABLE `龖龖龖` DROP `丄丄`;
-ALTER TABLE `龖龖龖` DROP `丅丅丅`;
-ALTER TABLE `龖龖龖` DROP `乚乚乚`;
-SELECT * FROM `龖龖龖`;
-丂丂丂
-丂丂丂丂丂
-丄丄丄丄丄
-丅丅丅丅丅
-DESC `龖龖龖`;
-Field Type Null Key Default Extra
-丂丂丂 char(6)
-SHOW CREATE TABLE `龖龖龖`;
-Table Create Table
-龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
+ `丂丂丂` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `あああ`;
diff --git a/mysql-test/suite/jp/r/jp_alter_utf8.result b/mysql-test/suite/jp/r/jp_alter_utf8.result
index 19475e06a87..b641e9de78d 100644
--- a/mysql-test/suite/jp/r/jp_alter_utf8.result
+++ b/mysql-test/suite/jp/r/jp_alter_utf8.result
@@ -31,17 +31,17 @@ NULL 鐔鰹蹴鐔鰹蹴鐔 NULL NULL
DESC `鐔縁襲鐔`;
Field Type Null Key Default Extra
鐔駈酋 char(1) YES MUL NULL
-鐔件酬鐔 char(6) PRI
-鐔醐集鐔 char(1) YES MUL NULL
+鐔件酬鐔 char(6) NO PRI
+鐔醐集鐔 char(1) YES UNI NULL
鐔刻醜鐔 char(1) YES NULL
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋` char(1) default NULL,
- `鐔件酬鐔` char(6) NOT NULL default '',
- `鐔醐集鐔` char(1) default NULL,
- `鐔刻醜鐔` char(1) default NULL,
- PRIMARY KEY (`鐔件酬鐔`),
+ `鐔駈酋` char(1) DEFAULT NULL,
+ `鐔件酬鐔` char(6) NOT NULL DEFAULT '',
+ `鐔醐集鐔` char(1) DEFAULT NULL,
+ `鐔刻醜鐔` char(1) DEFAULT NULL,
+ PRIMARY KEY (`鐔件酬鐔`),
UNIQUE KEY `鐔醐集鐔` (`鐔醐集鐔`),
KEY `鐔駈酋鐔` (`鐔駈酋`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
@@ -58,11 +58,11 @@ SELECT * FROM `鐔縁襲鐔`;
鐔鰹蹴鐔鰹蹴鐔
DESC `鐔縁襲鐔`;
Field Type Null Key Default Extra
-鐔件酬鐔 char(6)
+鐔件酬鐔 char(6) NO
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔件酬鐔` char(6) NOT NULL default ''
+ `鐔件酬鐔` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8
ALTER TABLE `` ADD `` char(1) FIRST;
ALTER TABLE `` ADD `` char(1) AFTER ``;
@@ -80,17 +80,17 @@ NULL NULL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) YES MUL NULL
- char(6) PRI
- char(1) YES MUL NULL
+ char(6) NO PRI
+ char(1) YES UNI NULL
char(1) YES NULL
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
+ `` char(1) DEFAULT NULL,
+ `` char(6) NOT NULL DEFAULT '',
+ `` char(1) DEFAULT NULL,
+ `` char(1) DEFAULT NULL,
+ PRIMARY KEY (``),
UNIQUE KEY `` (``),
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
@@ -107,11 +107,11 @@ SELECT * FROM ``;
DESC ``;
Field Type Null Key Default Extra
- char(6)
+ char(6) NO
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(6) NOT NULL default ''
+ `` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8
ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) FIRST;
ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) AFTER `筝筝筝`;
@@ -129,17 +129,17 @@ NULL 筝筝筝筝筝 NULL NULL
DESC `蘊蘊蘊`;
Field Type Null Key Default Extra
筝筝 char(1) YES MUL NULL
-筝筝筝 char(6) PRI
-筝筝筝 char(1) YES MUL NULL
+筝筝筝 char(6) NO PRI
+筝筝筝 char(1) YES UNI NULL
箙箙箙 char(1) YES NULL
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝` char(1) default NULL,
- `筝筝筝` char(6) NOT NULL default '',
- `筝筝筝` char(1) default NULL,
- `箙箙箙` char(1) default NULL,
- PRIMARY KEY (`筝筝筝`),
+ `筝筝` char(1) DEFAULT NULL,
+ `筝筝筝` char(6) NOT NULL DEFAULT '',
+ `筝筝筝` char(1) DEFAULT NULL,
+ `箙箙箙` char(1) DEFAULT NULL,
+ PRIMARY KEY (`筝筝筝`),
UNIQUE KEY `筝筝筝` (`筝筝筝`),
KEY `筝筝筝` (`筝筝`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
@@ -156,11 +156,11 @@ SELECT * FROM `蘊蘊蘊`;
筝筝筝筝筝
DESC `蘊蘊蘊`;
Field Type Null Key Default Extra
-筝筝筝 char(6)
+筝筝筝 char(6) NO
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(6) NOT NULL default ''
+ `筝筝筝` char(6) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8
DROP TABLE `鐔縁襲鐔`;
DROP TABLE `鐔駕讐鐔`;
@@ -193,17 +193,17 @@ NULL 鐔鰹蹴鐔鰹蹴鐔 NULL NULL
DESC `鐔縁襲鐔`;
Field Type Null Key Default Extra
鐔駈酋 char(1) YES MUL NULL
-鐔件酬鐔 char(6) PRI
-鐔醐集鐔 char(1) YES MUL NULL
+鐔件酬鐔 char(6) NO PRI
+鐔醐集鐔 char(1) YES UNI NULL
鐔刻醜鐔 char(1) YES NULL
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋` char(1) default NULL,
- `鐔件酬鐔` char(6) NOT NULL default '',
- `鐔醐集鐔` char(1) default NULL,
- `鐔刻醜鐔` char(1) default NULL,
- PRIMARY KEY (`鐔件酬鐔`),
+ `鐔駈酋` char(1) DEFAULT NULL,
+ `鐔件酬鐔` char(6) NOT NULL DEFAULT '',
+ `鐔醐集鐔` char(1) DEFAULT NULL,
+ `鐔刻醜鐔` char(1) DEFAULT NULL,
+ PRIMARY KEY (`鐔件酬鐔`),
UNIQUE KEY `鐔醐集鐔` (`鐔醐集鐔`),
KEY `鐔駈酋鐔` (`鐔駈酋`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
@@ -220,11 +220,11 @@ SELECT * FROM `鐔縁襲鐔`;
鐔鰹蹴鐔鰹蹴鐔
DESC `鐔縁襲鐔`;
Field Type Null Key Default Extra
-鐔件酬鐔 char(6)
+鐔件酬鐔 char(6) NO
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔件酬鐔` char(6) NOT NULL default ''
+ `鐔件酬鐔` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8
ALTER TABLE `` ADD `` char(1) FIRST;
ALTER TABLE `` ADD `` char(1) AFTER ``;
@@ -242,17 +242,17 @@ NULL NULL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) YES MUL NULL
- char(6) PRI
- char(1) YES MUL NULL
+ char(6) NO PRI
+ char(1) YES UNI NULL
char(1) YES NULL
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
+ `` char(1) DEFAULT NULL,
+ `` char(6) NOT NULL DEFAULT '',
+ `` char(1) DEFAULT NULL,
+ `` char(1) DEFAULT NULL,
+ PRIMARY KEY (``),
UNIQUE KEY `` (``),
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
@@ -269,11 +269,11 @@ SELECT * FROM ``;
DESC ``;
Field Type Null Key Default Extra
- char(6)
+ char(6) NO
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(6) NOT NULL default ''
+ `` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8
ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) FIRST;
ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) AFTER `筝筝筝`;
@@ -291,17 +291,17 @@ NULL 筝筝筝筝筝 NULL NULL
DESC `蘊蘊蘊`;
Field Type Null Key Default Extra
筝筝 char(1) YES MUL NULL
-筝筝筝 char(6) PRI
-筝筝筝 char(1) YES MUL NULL
+筝筝筝 char(6) NO PRI
+筝筝筝 char(1) YES UNI NULL
箙箙箙 char(1) YES NULL
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝` char(1) default NULL,
- `筝筝筝` char(6) NOT NULL default '',
- `筝筝筝` char(1) default NULL,
- `箙箙箙` char(1) default NULL,
- PRIMARY KEY (`筝筝筝`),
+ `筝筝` char(1) DEFAULT NULL,
+ `筝筝筝` char(6) NOT NULL DEFAULT '',
+ `筝筝筝` char(1) DEFAULT NULL,
+ `箙箙箙` char(1) DEFAULT NULL,
+ PRIMARY KEY (`筝筝筝`),
UNIQUE KEY `筝筝筝` (`筝筝筝`),
KEY `筝筝筝` (`筝筝`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
@@ -318,11 +318,11 @@ SELECT * FROM `蘊蘊蘊`;
筝筝筝筝筝
DESC `蘊蘊蘊`;
Field Type Null Key Default Extra
-筝筝筝 char(6)
+筝筝筝 char(6) NO
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(6) NOT NULL default ''
+ `筝筝筝` char(6) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8
DROP TABLE `鐔縁襲鐔`;
DROP TABLE `鐔駕讐鐔`;
@@ -330,12 +330,12 @@ DROP TABLE ``;
DROP TABLE ``;
DROP TABLE `蘊蘊蘊`;
DROP TABLE `蘊蘊蘊`;
-CREATE TABLE `鐔縁襲鐔`(`鐔件酬鐔` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `鐔駕讐鐔`(`鐔刻醜鐔` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`箙箙箙` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
+CREATE TABLE `鐔縁襲鐔`(`鐔件酬鐔` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `鐔駕讐鐔`(`鐔刻醜鐔` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`箙箙箙` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
INSERT INTO `鐔縁襲鐔` VALUES ('鐔縁襲鐔縁襲鐔'),('鐔駕讐鐔駕讐鐔'),('鐔鰹蹴鐔鰹蹴鐔');
INSERT INTO `` VALUES (''),(''),('');
INSERT INTO `蘊蘊蘊` VALUES ('筝筝筝筝筝'),('筝筝筝筝筝'),('筝筝筝筝筝');
@@ -355,20 +355,20 @@ NULL 鐔鰹蹴鐔鰹蹴鐔 NULL NULL
DESC `鐔縁襲鐔`;
Field Type Null Key Default Extra
鐔駈酋 char(1) YES MUL NULL
-鐔件酬鐔 char(6) PRI
-鐔醐集鐔 char(1) YES MUL NULL
+鐔件酬鐔 char(6) NO PRI
+鐔醐集鐔 char(1) YES UNI NULL
鐔刻醜鐔 char(1) YES NULL
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋` char(1) default NULL,
- `鐔件酬鐔` char(6) NOT NULL default '',
- `鐔醐集鐔` char(1) default NULL,
- `鐔刻醜鐔` char(1) default NULL,
- PRIMARY KEY (`鐔件酬鐔`),
+ `鐔駈酋` char(1) DEFAULT NULL,
+ `鐔件酬鐔` char(6) NOT NULL DEFAULT '',
+ `鐔醐集鐔` char(1) DEFAULT NULL,
+ `鐔刻醜鐔` char(1) DEFAULT NULL,
+ PRIMARY KEY (`鐔件酬鐔`),
UNIQUE KEY `鐔醐集鐔` (`鐔醐集鐔`),
KEY `鐔駈酋鐔` (`鐔駈酋`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
ALTER TABLE `鐔縁襲鐔` DROP INDEX `鐔駈酋鐔`;
ALTER TABLE `鐔縁襲鐔` DROP PRIMARY KEY;
ALTER TABLE `鐔縁襲鐔` DROP INDEX `鐔醐集鐔`;
@@ -382,12 +382,12 @@ SELECT * FROM `鐔縁襲鐔`;
鐔鰹蹴鐔鰹蹴鐔
DESC `鐔縁襲鐔`;
Field Type Null Key Default Extra
-鐔件酬鐔 char(6)
+鐔件酬鐔 char(6) NO
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔件酬鐔` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `鐔件酬鐔` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
ALTER TABLE `` ADD `` char(1) FIRST;
ALTER TABLE `` ADD `` char(1) AFTER ``;
ALTER TABLE `` ADD `` char(1);
@@ -404,20 +404,20 @@ NULL NULL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) YES MUL NULL
- char(6) PRI
- char(1) YES MUL NULL
+ char(6) NO PRI
+ char(1) YES UNI NULL
char(1) YES NULL
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
+ `` char(1) DEFAULT NULL,
+ `` char(6) NOT NULL DEFAULT '',
+ `` char(1) DEFAULT NULL,
+ `` char(1) DEFAULT NULL,
+ PRIMARY KEY (``),
UNIQUE KEY `` (``),
KEY `` (``)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
ALTER TABLE `` DROP INDEX ``;
ALTER TABLE `` DROP PRIMARY KEY;
ALTER TABLE `` DROP INDEX ``;
@@ -431,12 +431,12 @@ SELECT * FROM ``;
DESC ``;
Field Type Null Key Default Extra
- char(6)
+ char(6) NO
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) FIRST;
ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) AFTER `筝筝筝`;
ALTER TABLE `蘊蘊蘊` ADD `箙箙箙` char(1);
@@ -453,20 +453,20 @@ NULL 筝筝筝筝筝 NULL NULL
DESC `蘊蘊蘊`;
Field Type Null Key Default Extra
筝筝 char(1) YES MUL NULL
-筝筝筝 char(6) PRI
-筝筝筝 char(1) YES MUL NULL
+筝筝筝 char(6) NO PRI
+筝筝筝 char(1) YES UNI NULL
箙箙箙 char(1) YES NULL
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝` char(1) default NULL,
- `筝筝筝` char(6) NOT NULL default '',
- `筝筝筝` char(1) default NULL,
- `箙箙箙` char(1) default NULL,
- PRIMARY KEY (`筝筝筝`),
+ `筝筝` char(1) DEFAULT NULL,
+ `筝筝筝` char(6) NOT NULL DEFAULT '',
+ `筝筝筝` char(1) DEFAULT NULL,
+ `箙箙箙` char(1) DEFAULT NULL,
+ PRIMARY KEY (`筝筝筝`),
UNIQUE KEY `筝筝筝` (`筝筝筝`),
KEY `筝筝筝` (`筝筝`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
ALTER TABLE `蘊蘊蘊` DROP INDEX `筝筝筝`;
ALTER TABLE `蘊蘊蘊` DROP PRIMARY KEY;
ALTER TABLE `蘊蘊蘊` DROP INDEX `筝筝筝`;
@@ -480,165 +480,12 @@ SELECT * FROM `蘊蘊蘊`;
筝筝筝筝筝
DESC `蘊蘊蘊`;
Field Type Null Key Default Extra
-筝筝筝 char(6)
+筝筝筝 char(6) NO
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(6) NOT NULL default ''
-) ENGINE=HEAP DEFAULT CHARSET=utf8
-DROP TABLE `鐔縁襲鐔`;
-DROP TABLE `鐔駕讐鐔`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊蘊蘊`;
-CREATE TABLE `鐔縁襲鐔`(`鐔件酬鐔` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `鐔駕讐鐔`(`鐔刻醜鐔` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`箙箙箙` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-INSERT INTO `鐔縁襲鐔` VALUES ('鐔縁襲鐔縁襲鐔'),('鐔駕讐鐔駕讐鐔'),('鐔鰹蹴鐔鰹蹴鐔');
-INSERT INTO `` VALUES (''),(''),('');
-INSERT INTO `蘊蘊蘊` VALUES ('筝筝筝筝筝'),('筝筝筝筝筝'),('筝筝筝筝筝');
-ALTER TABLE `鐔縁襲鐔` ADD `鐔駈酋鐔` char(1) FIRST;
-ALTER TABLE `鐔縁襲鐔` ADD `鐔醐集鐔` char(1) AFTER `鐔件酬鐔`;
-ALTER TABLE `鐔縁襲鐔` ADD `鐔刻醜鐔` char(1);
-ALTER TABLE `鐔縁襲鐔` ADD INDEX (`鐔駈酋鐔`);
-ALTER TABLE `鐔縁襲鐔` ADD PRIMARY KEY (`鐔件酬鐔`);
-ALTER TABLE `鐔縁襲鐔` CHANGE `鐔駈酋鐔` `鐔駈酋` char(1);
-ALTER TABLE `鐔縁襲鐔` MODIFY `鐔件酬鐔` char(6);
-SELECT * FROM `鐔縁襲鐔`;
-鐔駈酋 鐔件酬鐔 鐔醐集鐔 鐔刻醜鐔
-NULL 鐔縁襲鐔縁襲鐔 NULL NULL
-NULL 鐔駕讐鐔駕讐鐔 NULL NULL
-NULL 鐔鰹蹴鐔鰹蹴鐔 NULL NULL
-DESC `鐔縁襲鐔`;
-Field Type Null Key Default Extra
-鐔駈酋 char(1) YES MUL NULL
-鐔件酬鐔 char(6) PRI
-鐔醐集鐔 char(1) YES NULL
-鐔刻醜鐔 char(1) YES NULL
-SHOW CREATE TABLE `鐔縁襲鐔`;
-Table Create Table
-鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋` char(1) default NULL,
- `鐔件酬鐔` char(6) NOT NULL default '',
- `鐔醐集鐔` char(1) default NULL,
- `鐔刻醜鐔` char(1) default NULL,
- PRIMARY KEY (`鐔件酬鐔`),
- KEY `鐔駈酋鐔` (`鐔駈酋`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-ALTER TABLE `鐔縁襲鐔` DROP INDEX `鐔駈酋鐔`;
-ALTER TABLE `鐔縁襲鐔` DROP PRIMARY KEY;
-ALTER TABLE `鐔縁襲鐔` DROP `鐔駈酋`;
-ALTER TABLE `鐔縁襲鐔` DROP `鐔醐集鐔`;
-ALTER TABLE `鐔縁襲鐔` DROP `鐔刻醜鐔`;
-SELECT * FROM `鐔縁襲鐔`;
-鐔件酬鐔
-鐔縁襲鐔縁襲鐔
-鐔駕讐鐔駕讐鐔
-鐔鰹蹴鐔鰹蹴鐔
-DESC `鐔縁襲鐔`;
-Field Type Null Key Default Extra
-鐔件酬鐔 char(6)
-SHOW CREATE TABLE `鐔縁襲鐔`;
-Table Create Table
-鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔件酬鐔` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-ALTER TABLE `` ADD `` char(1) FIRST;
-ALTER TABLE `` ADD `` char(1) AFTER ``;
-ALTER TABLE `` ADD `` char(1);
-ALTER TABLE `` ADD INDEX (``);
-ALTER TABLE `` ADD PRIMARY KEY (``);
-ALTER TABLE `` CHANGE `` `` char(1);
-ALTER TABLE `` MODIFY `` char(6);
-SELECT * FROM ``;
-
-NULL NULL NULL
-NULL NULL NULL
-NULL NULL NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES MUL NULL
- char(6) PRI
- char(1) YES NULL
- char(1) YES NULL
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL,
- `` char(6) NOT NULL default '',
- `` char(1) default NULL,
- `` char(1) default NULL,
- PRIMARY KEY (``),
- KEY `` (``)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-ALTER TABLE `` DROP INDEX ``;
-ALTER TABLE `` DROP PRIMARY KEY;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-SELECT * FROM ``;
-
-
-
-
-DESC ``;
-Field Type Null Key Default Extra
- char(6)
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) FIRST;
-ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) AFTER `筝筝筝`;
-ALTER TABLE `蘊蘊蘊` ADD `箙箙箙` char(1);
-ALTER TABLE `蘊蘊蘊` ADD INDEX (`筝筝筝`);
-ALTER TABLE `蘊蘊蘊` ADD PRIMARY KEY (`筝筝筝`);
-ALTER TABLE `蘊蘊蘊` CHANGE `筝筝筝` `筝筝` char(1);
-ALTER TABLE `蘊蘊蘊` MODIFY `筝筝筝` char(6);
-SELECT * FROM `蘊蘊蘊`;
-筝筝 筝筝筝 筝筝筝 箙箙箙
-NULL 筝筝筝筝筝 NULL NULL
-NULL 筝筝筝筝筝 NULL NULL
-NULL 筝筝筝筝筝 NULL NULL
-DESC `蘊蘊蘊`;
-Field Type Null Key Default Extra
-筝筝 char(1) YES MUL NULL
-筝筝筝 char(6) PRI
-筝筝筝 char(1) YES NULL
-箙箙箙 char(1) YES NULL
-SHOW CREATE TABLE `蘊蘊蘊`;
-Table Create Table
-蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝` char(1) default NULL,
- `筝筝筝` char(6) NOT NULL default '',
- `筝筝筝` char(1) default NULL,
- `箙箙箙` char(1) default NULL,
- PRIMARY KEY (`筝筝筝`),
- KEY `筝筝筝` (`筝筝`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-ALTER TABLE `蘊蘊蘊` DROP INDEX `筝筝筝`;
-ALTER TABLE `蘊蘊蘊` DROP PRIMARY KEY;
-ALTER TABLE `蘊蘊蘊` DROP `筝筝`;
-ALTER TABLE `蘊蘊蘊` DROP `筝筝筝`;
-ALTER TABLE `蘊蘊蘊` DROP `箙箙箙`;
-SELECT * FROM `蘊蘊蘊`;
-筝筝筝
-筝筝筝筝筝
-筝筝筝筝筝
-筝筝筝筝筝
-DESC `蘊蘊蘊`;
-Field Type Null Key Default Extra
-筝筝筝 char(6)
-SHOW CREATE TABLE `蘊蘊蘊`;
-Table Create Table
-蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(6) NOT NULL default ''
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
+ `筝筝筝` char(6) NOT NULL DEFAULT ''
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
DROP TABLE `鐔縁襲鐔`;
DROP TABLE `鐔駕讐鐔`;
DROP TABLE ``;
diff --git a/mysql-test/suite/jp/r/jp_charlength_sjis.result b/mysql-test/suite/jp/r/jp_charlength_sjis.result
index 57d538ef8d0..5c734b4b8cf 100644
--- a/mysql-test/suite/jp/r/jp_charlength_sjis.result
+++ b/mysql-test/suite/jp/r/jp_charlength_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sR` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sP`;
bP CHAR_LENGTH(`bP`)
0
@@ -108,30 +99,6 @@ SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sX`;
\\ 2
\ 1
0
-SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sPO`;
-bP CHAR_LENGTH(`bP`)
-渦慨 5
-渦慨 4
-渦 3
-渦 2
- 1
- 0
-SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sPP`;
-bP CHAR_LENGTH(`bP`)
- 5
- 4
- 3
- 2
- 1
- 0
-SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sPQ`;
-bP CHAR_LENGTH(`bP`)
-\\\\\ 5
-\\\\ 4
-\\\ 3
-\\ 2
-\ 1
- 0
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -141,6 +108,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_charlength_ucs2.result b/mysql-test/suite/jp/r/jp_charlength_ucs2.result
index 3695ee5159a..b211c87c420 100644
--- a/mysql-test/suite/jp/r/jp_charlength_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_charlength_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -34,9 +28,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
C1 CHAR_LENGTH(`C1`)
0
@@ -109,30 +100,6 @@ SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
龔龖 2
龔 1
0
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
-C1 CHAR_LENGTH(`C1`)
-アイウエオ 5
-アイウエ 4
-アイウ 3
-アイ 2
-ア 1
- 0
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
-C1 CHAR_LENGTH(`C1`)
-あいうえお 5
-あいうえ 4
-あいう 3
-あい 2
-あ 1
- 0
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
-C1 CHAR_LENGTH(`C1`)
-龔龖龗龞龡 5
-龔龖龗龞 4
-龔龖龗 3
-龔龖 2
-龔 1
- 0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -142,6 +109,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_charlength_ujis.result b/mysql-test/suite/jp/r/jp_charlength_ujis.result
index ccfbf4fa3a1..910952b482f 100644
--- a/mysql-test/suite/jp/r/jp_charlength_ujis.result
+++ b/mysql-test/suite/jp/r/jp_charlength_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -33,9 +27,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
C1 CHAR_LENGTH(`C1`)
0
@@ -108,30 +99,6 @@ SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
龔龖 2
龔 1
0
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
-C1 CHAR_LENGTH(`C1`)
-アイウエオ 5
-アイウエ 4
-アイウ 3
-アイ 2
-ア 1
- 0
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
-C1 CHAR_LENGTH(`C1`)
-あいうえお 5
-あいうえ 4
-あいう 3
-あい 2
-あ 1
- 0
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
-C1 CHAR_LENGTH(`C1`)
-龔龖龗龞龡 5
-龔龖龗龞 4
-龔龖龗 3
-龔龖 2
-龔 1
- 0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -141,6 +108,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_charlength_utf8.result b/mysql-test/suite/jp/r/jp_charlength_utf8.result
index d4d7f68f933..473eb9870c6 100644
--- a/mysql-test/suite/jp/r/jp_charlength_utf8.result
+++ b/mysql-test/suite/jp/r/jp_charlength_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
鐚o CHAR_LENGTH(`鐚o`)
0
@@ -108,30 +99,6 @@ SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
蘊蘊 2
蘊 1
0
-SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器鐚`;
-鐚o CHAR_LENGTH(`鐚o`)
-鐔縁讐鐔鰹輯鐔 5
-鐔縁讐鐔鰹輯 4
-鐔縁讐鐔 3
-鐔縁讐 2
-鐔 1
- 0
-SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器鐚`;
-鐚o CHAR_LENGTH(`鐚o`)
- 5
- 4
- 3
- 2
- 1
- 0
-SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器鐚`;
-鐚o CHAR_LENGTH(`鐚o`)
-蘊蘊蘊蘊蘊 5
-蘊蘊蘊蘊 4
-蘊蘊蘊 3
-蘊蘊 2
-蘊 1
- 0
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -141,6 +108,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_charset_sjis.result b/mysql-test/suite/jp/r/jp_charset_sjis.result
index 80ef24a7334..049f872cfa1 100644
--- a/mysql-test/suite/jp/r/jp_charset_sjis.result
+++ b/mysql-test/suite/jp/r/jp_charset_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(20)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(20)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20)) DEFAULT CHARSET = sjis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sP`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sQ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sR`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
SELECT DISTINCT CHARSET(`bP`) FROM `sP`;
CHARSET(`bP`)
sjis
@@ -171,51 +162,6 @@ sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sX`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
-SELECT DISTINCT CHARSET(`bP`) FROM `sPO`;
-CHARSET(`bP`)
-sjis
-SELECT DISTINCT CHARSET(`bP`) FROM `sPP`;
-CHARSET(`bP`)
-sjis
-SELECT DISTINCT CHARSET(`bP`) FROM `sPQ`;
-CHARSET(`bP`)
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPO`;
-CHARSET(CONVERT(`bP` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPO`;
-CHARSET(CONVERT(`bP` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPO`;
-CHARSET(CONVERT(`bP` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPO`;
-CHARSET(CONVERT(`bP` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPP`;
-CHARSET(CONVERT(`bP` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPP`;
-CHARSET(CONVERT(`bP` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPP`;
-CHARSET(CONVERT(`bP` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPP`;
-CHARSET(CONVERT(`bP` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPQ`;
-CHARSET(CONVERT(`bP` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPQ`;
-CHARSET(CONVERT(`bP` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPQ`;
-CHARSET(CONVERT(`bP` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPQ`;
-CHARSET(CONVERT(`bP` USING ujis))
-ujis
drop table `sP`;
drop table `sQ`;
drop table `sR`;
@@ -225,6 +171,3 @@ drop table `sU`;
drop table `sV`;
drop table `sW`;
drop table `sX`;
-drop table `sPO`;
-drop table `sPP`;
-drop table `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_charset_ucs2.result b/mysql-test/suite/jp/r/jp_charset_ucs2.result
index d121e98fc00..c5aee82c3c5 100644
--- a/mysql-test/suite/jp/r/jp_charset_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_charset_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
CREATE TABLE `T1` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES
('PQRSTUVWXYZ[\\]^_')
,(' 。「」、・ヲァィゥェォャュョッ')
@@ -90,28 +84,6 @@ INSERT INTO `T9` VALUES
,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
-('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-INSERT INTO `T11` VALUES
-('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-INSERT INTO `T12` VALUES
-('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
SELECT DISTINCT CHARSET(`C1`) FROM `T1`;
CHARSET(`C1`)
ucs2
@@ -247,51 +219,6 @@ sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T9`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
-SELECT DISTINCT CHARSET(`C1`) FROM `T10`;
-CHARSET(`C1`)
-ucs2
-SELECT DISTINCT CHARSET(`C1`) FROM `T11`;
-CHARSET(`C1`)
-ucs2
-SELECT DISTINCT CHARSET(`C1`) FROM `T12`;
-CHARSET(`C1`)
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING ujis))
-ujis
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -301,6 +228,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/r/jp_charset_ujis.result b/mysql-test/suite/jp/r/jp_charset_ujis.result
index 964477896bd..746b53ee5e1 100644
--- a/mysql-test/suite/jp/r/jp_charset_ujis.result
+++ b/mysql-test/suite/jp/r/jp_charset_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(20)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(20)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T4` (`C1` char(20)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ujis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T1`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T2`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T3`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
SELECT DISTINCT CHARSET(`C1`) FROM `T1`;
CHARSET(`C1`)
ujis
@@ -171,51 +162,6 @@ sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T9`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
-SELECT DISTINCT CHARSET(`C1`) FROM `T10`;
-CHARSET(`C1`)
-ujis
-SELECT DISTINCT CHARSET(`C1`) FROM `T11`;
-CHARSET(`C1`)
-ujis
-SELECT DISTINCT CHARSET(`C1`) FROM `T12`;
-CHARSET(`C1`)
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T10`;
-CHARSET(CONVERT(`C1` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T11`;
-CHARSET(CONVERT(`C1` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T12`;
-CHARSET(CONVERT(`C1` USING ujis))
-ujis
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -225,6 +171,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/r/jp_charset_utf8.result b/mysql-test/suite/jp/r/jp_charset_utf8.result
index 2fdd3fb1a6b..9f22bda74f0 100644
--- a/mysql-test/suite/jp/r/jp_charset_utf8.result
+++ b/mysql-test/suite/jp/r/jp_charset_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = innodb
CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器`;
CHARSET(`鐚o`)
utf8
@@ -171,51 +162,6 @@ sjis
SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器`;
CHARSET(CONVERT(`鐚o` USING ujis))
ujis
-SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器鐚`;
-CHARSET(`鐚o`)
-utf8
-SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器鐚`;
-CHARSET(`鐚o`)
-utf8
-SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器鐚`;
-CHARSET(`鐚o`)
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING utf8)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING utf8)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING ujis))
-ujis
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING utf8)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING utf8))
-utf8
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING ucs2))
-ucs2
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING sjis))
-sjis
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器鐚`;
-CHARSET(CONVERT(`鐚o` USING ujis))
-ujis
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
@@ -225,6 +171,3 @@ drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_convert_sjis.result b/mysql-test/suite/jp/r/jp_convert_sjis.result
index 8c9df3606c8..abb0c28f4f6 100644
--- a/mysql-test/suite/jp/r/jp_convert_sjis.result
+++ b/mysql-test/suite/jp/r/jp_convert_sjis.result
@@ -9,21 +9,15 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
CREATE TABLE `sP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sP`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sQ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sR`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
SELECT `bP`, CONVERT(`bP` using utf8) FROM `sP`;
bP CONVERT(`bP` using utf8)
!"#$%&'()*+,-./ !"#$%&'()*+,-./
@@ -783,255 +774,6 @@ SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sX`;
SELECT `bP`, CONVERT(`bP` using ujis) FROM `sX`;
bP CONVERT(`bP` using ujis)
\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\
-SELECT `bP`, CONVERT(`bP` using utf8) FROM `sPO`;
-bP CONVERT(`bP` using utf8)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[_]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 、ぅΗ┤ 、ぅΗ┤
-葦桶患況弦沙悉梢 葦桶患況弦沙悉梢
-請唾津毒班碧麺力 請唾津毒班碧麺力
-佰厶壞嶐慵无槿渤 佰厶壞嶐慵无槿渤
-SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sPO`;
-bP CONVERT(`bP` using ucs2)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[_]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 、ぅΗ┤ 、ぅΗ┤
-葦桶患況弦沙悉梢 葦桶患況弦沙悉梢
-請唾津毒班碧麺力 請唾津毒班碧麺力
-佰厶壞嶐慵无槿渤 佰厶壞嶐慵无槿渤
-SELECT `bP`, CONVERT(`bP` using ujis) FROM `sPO`;
-bP CONVERT(`bP` using ujis)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[_]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 、ぅΗ┤ 、ぅΗ┤
-葦桶患況弦沙悉梢 葦桶患況弦沙悉梢
-請唾津毒班碧麺力 請唾津毒班碧麺力
-佰厶壞嶐慵无槿渤 佰厶壞嶐慵无槿渤
-SELECT `bP`, CONVERT(`bP` using utf8) FROM `sPP`;
-bP CONVERT(`bP` using utf8)
-@@ABCDEFGHIJKLMNOPQR @@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{]}~ {]}~
-EEEEE EEEEE
-EEEEEE EEEEEE
-EEEEEEEEEEEE EEEEEEEEEEEE
-EEEEEEEEEEEEE EEEEEEEEEEEEE
-EEEEE EEEEE
-EEEEEEEEEE@ EEEEEEEEEE@
-EEEEEEEEEEEEEEEEOPQR EEEEEEEEEEEEEEEEOPQR
-STUVWXEEEEEEE`abcdef STUVWXEEEEEEE`abcdef
-ghijklmnopqrstuvwxyE ghijklmnopqrstuvwxyE
-EEEEE EEEEE
-EEEEEEEEE EEEEEEEEE
-E E
-
-
-
-EEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{|}~ {|}~
-EEEEEEEEEEEEE EEEEEEEEEEEEE
-E E
-EEEEEEEE EEEEEEEE
-EEE EEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`EEEEEE STUVWXYZ[\]^_`EEEEEE
-EEEEEEEEEpqrstuvwxyz EEEEEEEEEpqrstuvwxyz
-{|}~ {|}~
-EEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEE
-E E
-EEEEEEE EEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E E
-
-
-
-EEEEE EEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrEEEEEEEE ghijklmnopqrEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E E
-
-
-
-EEEEE EEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{|}~ {|}~
-EEEEE EEEEE
-E蝓蝣蝪蠅EEEEEEEEEEEEE E蝓蝣蝪蠅EEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sPP`;
-bP CONVERT(`bP` using ucs2)
-@@ABCDEFGHIJKLMNOPQR @@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{]}~ {]}~
-EEEEE EEEEE
-EEEEEE EEEEEE
-EEEEEEEEEEEE EEEEEEEEEEEE
-EEEEEEEEEEEEE EEEEEEEEEEEEE
-EEEEE EEEEE
-EEEEEEEEEE@ EEEEEEEEEE@
-EEEEEEEEEEEEEEEEOPQR EEEEEEEEEEEEEEEEOPQR
-STUVWXEEEEEEE`abcdef STUVWXEEEEEEE`abcdef
-ghijklmnopqrstuvwxyE ghijklmnopqrstuvwxyE
-EEEEE EEEEE
-EEEEEEEEE EEEEEEEEE
-E E
-
-
-
-EEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{|}~ {|}~
-EEEEEEEEEEEEE EEEEEEEEEEEEE
-E E
-EEEEEEEE EEEEEEEE
-EEE EEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`EEEEEE STUVWXYZ[\]^_`EEEEEE
-EEEEEEEEEpqrstuvwxyz EEEEEEEEEpqrstuvwxyz
-{|}~ {|}~
-EEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEE
-E E
-EEEEEEE EEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E E
-
-
-
-EEEEE EEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrEEEEEEEE ghijklmnopqrEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E E
-
-
-
-EEEEE EEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{|}~ {|}~
-EEEEE EEEEE
-E蝓蝣蝪蠅EEEEEEEEEEEEE E蝓蝣蝪蠅EEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-SELECT `bP`, CONVERT(`bP` using ujis) FROM `sPP`;
-bP CONVERT(`bP` using ujis)
-@@ABCDEFGHIJKLMNOPQR @@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{]}~ {]}~
-EEEEE EEEEE
-EEEEEE EEEEEE
-EEEEEEEEEEEE EEEEEEEEEEEE
-EEEEEEEEEEEEE EEEEEEEEEEEEE
-EEEEE EEEEE
-EEEEEEEEEE@ EEEEEEEEEE@
-EEEEEEEEEEEEEEEEOPQR EEEEEEEEEEEEEEEEOPQR
-STUVWXEEEEEEE`abcdef STUVWXEEEEEEE`abcdef
-ghijklmnopqrstuvwxyE ghijklmnopqrstuvwxyE
-EEEEE EEEEE
-EEEEEEEEE EEEEEEEEE
-E E
-
-
-
-EEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{|}~ {|}~
-EEEEEEEEEEEEE EEEEEEEEEEEEE
-E E
-EEEEEEEE EEEEEEEE
-EEE EEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`EEEEEE STUVWXYZ[\]^_`EEEEEE
-EEEEEEEEEpqrstuvwxyz EEEEEEEEEpqrstuvwxyz
-{|}~ {|}~
-EEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEE
-E E
-EEEEEEE EEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E E
-
-
-
-EEEEE EEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrEEEEEEEE ghijklmnopqrEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-E E
-
-
-
-EEEEE EEEEE
-E@ABCDEFGHIJKLMNOPQR E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz ghijklmnopqrstuvwxyz
-{|}~ {|}~
-EEEEE EEEEE
-E蝓蝣蝪蠅EEEEEEEEEEEEE E蝓蝣蝪蠅EEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEE
-SELECT `bP`, CONVERT(`bP` using utf8) FROM `sPQ`;
-bP CONVERT(`bP` using utf8)
-\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\
-SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sPQ`;
-bP CONVERT(`bP` using ucs2)
-\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\
-SELECT `bP`, CONVERT(`bP` using ujis) FROM `sPQ`;
-bP CONVERT(`bP` using ujis)
-\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\
drop table `sP`;
drop table `sQ`;
drop table `sR`;
@@ -1041,6 +783,3 @@ drop table `sU`;
drop table `sV`;
drop table `sW`;
drop table `sX`;
-drop table `sPO`;
-drop table `sPP`;
-drop table `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_convert_ucs2.result b/mysql-test/suite/jp/r/jp_convert_ucs2.result
index 92c2032993e..5d5b0761ad8 100644
--- a/mysql-test/suite/jp/r/jp_convert_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_convert_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES
('PQRSTUVWXYZ[\\]^_')
,(' 。「」、・ヲァィゥェォャュョッ')
@@ -91,28 +85,6 @@ INSERT INTO `T9` VALUES
,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
-('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-INSERT INTO `T11` VALUES
-('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-INSERT INTO `T12` VALUES
-('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
SELECT `C1`, CONVERT(`C1` using utf8) FROM `T1`;
C1 CONVERT(`C1` using utf8)
。「」、・ヲァィゥェォャュョッ 。「」、・ヲァィゥェォャュョッ
@@ -338,81 +310,6 @@ SELECT `C1`, CONVERT(`C1` using sjis) FROM `T9`;
・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪 ・???????????????????
鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖 ????????????????????
齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 ????????????????????
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T10`;
-C1 CONVERT(`C1` using utf8)
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
- 。「」、・ヲァィゥェォャュョッ 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚ ミムメモヤユヨラリルレロワン゙゚
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T10`;
-C1 CONVERT(`C1` using ucs2)
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
- 。「」、・ヲァィゥェォャュョッ 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚ ミムメモヤユヨラリルレロワン゙゚
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T10`;
-C1 CONVERT(`C1` using sjis)
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
- 。「」、・ヲァィゥェォャュョッ 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚ ミムメモヤユヨラリルレロワン゙゚
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T11`;
-C1 CONVERT(`C1` using utf8)
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’ ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】 “”()〔〕[]{}〈〉《》「」『』【】
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ ・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-・ァアィイゥウェエォオカガキギクグケゲコ ・ァアィイゥウェエォオカガキギクグケゲコ
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵 ・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞 ・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻 ・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T11`;
-C1 CONVERT(`C1` using ucs2)
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’ ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】 “”()〔〕[]{}〈〉《》「」『』【】
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ ・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-・ァアィイゥウェエォオカガキギクグケゲコ ・ァアィイゥウェエォオカガキギクグケゲコ
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵 ・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞 ・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻 ・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T11`;
-C1 CONVERT(`C1` using sjis)
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’ ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】 “”()〔〕[]{}〈〉《》「」『』【】
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ ・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-・ァアィイゥウェエォオカガキギクグケゲコ ・ァアィイゥウェエォオカガキギクグケゲコ
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵 ・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞 ・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻 ・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T12`;
-C1 CONVERT(`C1` using utf8)
-・˛˚~΄΅・・・・・・・・¡¦¿・・・ ・˛˚~΄΅・・・・・・・・¡¦¿・・・
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠 乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众 仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘 伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪 ・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖 鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T12`;
-C1 CONVERT(`C1` using ucs2)
-・˛˚~΄΅・・・・・・・・¡¦¿・・・ ・˛˚~΄΅・・・・・・・・¡¦¿・・・
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠 乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众 仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘 伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪 ・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖 鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T12`;
-C1 CONVERT(`C1` using sjis)
-・˛˚~΄΅・・・・・・・・¡¦¿・・・ ・??~??・・・・・・・・???・・・
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠 ????????????????????
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众 ????????????????????
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘 ????????????????????
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪 ・???????????????????
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖 ????????????????????
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 ????????????????????
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -422,6 +319,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/r/jp_convert_ujis.result b/mysql-test/suite/jp/r/jp_convert_ujis.result
index 55f2ab0aea3..314a9e95086 100644
--- a/mysql-test/suite/jp/r/jp_convert_ujis.result
+++ b/mysql-test/suite/jp/r/jp_convert_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T1`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T2`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T3`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
SELECT `C1`, CONVERT(`C1` using utf8) FROM `T1`;
C1 CONVERT(`C1` using utf8)
!"#$%&'()*+,-./ !"#$%&'()*+,-./
@@ -1134,372 +1125,6 @@ SELECT `C1`, CONVERT(`C1` using sjis) FROM `T9`;
齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 ????????????????????
龔龖龗龞龡龢龣龥・・・・・・・・・・・・ ????????・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T10`;
-C1 CONVERT(`C1` using utf8)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 。「」、・ヲァィゥェォャュョッ 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚ ミムメモヤユヨラリルレロワン゙゚
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T10`;
-C1 CONVERT(`C1` using ucs2)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 。「」、・ヲァィゥェォャュョッ 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚ ミムメモヤユヨラリルレロワン゙゚
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T10`;
-C1 CONVERT(`C1` using sjis)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 。「」、・ヲァィゥェォャュョッ 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚ ミムメモヤユヨラリルレロワン゙゚
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T11`;
-C1 CONVERT(`C1` using utf8)
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ   、。,.・:;?!゛゜´`¨^ ̄_ヽ
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’ ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】 “”()〔〕[]{}〈〉《》「」『』【】
-+‐±×÷=≠<>≦≧∞∴♂♀°′″℃¥ +‐±×÷=≠<>≦≧∞∴♂♀°′″℃¥
-$¢£%#&*@§☆★○●◎◇・・・・・ $¢£%#&*@§☆★○●◎◇・・・・・
-・◆□■△▲▽▼※〒→←↑↓〓・・・・・ ・◆□■△▲▽▼※〒→←↑↓〓・・・・・
-・・・・・・∈∋⊆⊇⊂⊃∪∩・・・・・・ ・・・・・・∈∋⊆⊇⊂⊃∪∩・・・・・・
-・・∧∨¬⇒⇔∀∃・・・・・・・・・・・ ・・∧∨¬⇒⇔∀∃・・・・・・・・・・・
-∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬・・・・・ ∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬・・・・・
-・・ʼn♯♭♪†‡¶・・・・◯・・・・  ・・ʼn♯♭♪†‡¶・・・・◯・・・・ 
-・・・・・・・・・・・・・・・・0123 ・・・・・・・・・・・・・・・・0123
-456789・・・・・・・ABCDEFG 456789・・・・・・・ABCDEFG
-HIJKLMNOPQRSTUVWXYZ・ HIJKLMNOPQRSTUVWXYZ・
-・・・・・abcdefghijklmno ・・・・・abcdefghijklmno
-pqrstuvwxyz・・・・・・・・・ pqrstuvwxyz・・・・・・・・・
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ ・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-ごさざしじすずせぜそぞただちぢっつづてで ごさざしじすずせぜそぞただちぢっつづてで
-とどなにぬねのはばぱひびぴふぶぷへべぺほ とどなにぬねのはばぱひびぴふぶぷへべぺほ
-ぼぽまみむめもゃやゅゆょよらりるれろゎわ ぼぽまみむめもゃやゅゆょよらりるれろゎわ
-ゐゑをん・・・・・・・・・・・・・・・・ ゐゑをん・・・・・・・・・・・・・・・・
-・ァアィイゥウェエォオカガキギクグケゲコ ・ァアィイゥウェエォオカガキギクグケゲコ
-ゴサザシジスズセゼソゾタダチヂッツヅテデ ゴサザシジスズセゼソゾタダチヂッツヅテデ
-トドナニヌネノハバパヒビピフブプヘベペホ トドナニヌネノハバパヒビピフブプヘベペホ
-ボポマミムメモャヤュユョヨラリルレロヮワ ボポマミムメモャヤュユョヨラリルレロヮワ
-ヰヱヲンヴヵヶ・・・・・・・・・・・・・ ヰヱヲンヴヵヶ・・・・・・・・・・・・・
-・ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤ ・ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤ
-ΥΦΧΨΩ・・・・・・・・αβγδεζη ΥΦΧΨΩ・・・・・・・・αβγδεζη
-θικλμνξοπρστυφχψω・・・ θικλμνξοπρστυφχψω・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・АБВГДЕЁЖЗИЙКЛМНОПРС ・АБВГДЕЁЖЗИЙКЛМНОПРС
-ТУФХЦЧШЩЪЫЬЭЮЯ・・・・・・ ТУФХЦЧШЩЪЫЬЭЮЯ・・・・・・
-・・・・・・・・・абвгдеёжзий ・・・・・・・・・абвгдеёжзий
-клмнопрстуфхцчшщъыьэ клмнопрстуфхцчшщъыьэ
-юя・・・・・・・・・・・・・・・・・・ юя・・・・・・・・・・・・・・・・・・
-・─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳ ・─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳
-┫┻╋┠┯┨┷┿┝┰┥┸╂・・・・・・・ ┫┻╋┠┯┨┷┿┝┰┥┸╂・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵 ・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇 梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇
-鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異 鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異
-移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸 移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸
-稲茨芋鰯允印咽員因姻引飲淫胤蔭・・・・・ 稲茨芋鰯允印咽員因姻引飲淫胤蔭・・・・・
-・蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏 ・蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏
-牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑 牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑
-枠鷲亙亘鰐詫藁蕨椀湾碗腕・・・・・・・・ 枠鷲亙亘鰐詫藁蕨椀湾碗腕・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞 ・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛 亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛
-佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛 佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛
-俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆 俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆
-偃假會偕偐偈做偖偬偸傀傚傅傴傲・・・・・ 偃假會偕偐偈做偖偬偸傀傚傅傴傲・・・・・
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻 ・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈 鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈
-麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝 麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝
-黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒 黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒
-齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠・・・・・ 齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠・・・・・
-・堯槇遙瑤凜熙・・・・・・・・・・・・・ ・堯槇遙瑤凜熙・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T11`;
-C1 CONVERT(`C1` using ucs2)
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ   、。,.・:;?!゛゜´`¨^ ̄_ヽ
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’ ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】 “”()〔〕[]{}〈〉《》「」『』【】
-+‐±×÷=≠<>≦≧∞∴♂♀°′″℃¥ +‐±×÷=≠<>≦≧∞∴♂♀°′″℃¥
-$¢£%#&*@§☆★○●◎◇・・・・・ $¢£%#&*@§☆★○●◎◇・・・・・
-・◆□■△▲▽▼※〒→←↑↓〓・・・・・ ・◆□■△▲▽▼※〒→←↑↓〓・・・・・
-・・・・・・∈∋⊆⊇⊂⊃∪∩・・・・・・ ・・・・・・∈∋⊆⊇⊂⊃∪∩・・・・・・
-・・∧∨¬⇒⇔∀∃・・・・・・・・・・・ ・・∧∨¬⇒⇔∀∃・・・・・・・・・・・
-∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬・・・・・ ∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬・・・・・
-・・ʼn♯♭♪†‡¶・・・・◯・・・・  ・・ʼn♯♭♪†‡¶・・・・◯・・・・ 
-・・・・・・・・・・・・・・・・0123 ・・・・・・・・・・・・・・・・0123
-456789・・・・・・・ABCDEFG 456789・・・・・・・ABCDEFG
-HIJKLMNOPQRSTUVWXYZ・ HIJKLMNOPQRSTUVWXYZ・
-・・・・・abcdefghijklmno ・・・・・abcdefghijklmno
-pqrstuvwxyz・・・・・・・・・ pqrstuvwxyz・・・・・・・・・
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ ・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-ごさざしじすずせぜそぞただちぢっつづてで ごさざしじすずせぜそぞただちぢっつづてで
-とどなにぬねのはばぱひびぴふぶぷへべぺほ とどなにぬねのはばぱひびぴふぶぷへべぺほ
-ぼぽまみむめもゃやゅゆょよらりるれろゎわ ぼぽまみむめもゃやゅゆょよらりるれろゎわ
-ゐゑをん・・・・・・・・・・・・・・・・ ゐゑをん・・・・・・・・・・・・・・・・
-・ァアィイゥウェエォオカガキギクグケゲコ ・ァアィイゥウェエォオカガキギクグケゲコ
-ゴサザシジスズセゼソゾタダチヂッツヅテデ ゴサザシジスズセゼソゾタダチヂッツヅテデ
-トドナニヌネノハバパヒビピフブプヘベペホ トドナニヌネノハバパヒビピフブプヘベペホ
-ボポマミムメモャヤュユョヨラリルレロヮワ ボポマミムメモャヤュユョヨラリルレロヮワ
-ヰヱヲンヴヵヶ・・・・・・・・・・・・・ ヰヱヲンヴヵヶ・・・・・・・・・・・・・
-・ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤ ・ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤ
-ΥΦΧΨΩ・・・・・・・・αβγδεζη ΥΦΧΨΩ・・・・・・・・αβγδεζη
-θικλμνξοπρστυφχψω・・・ θικλμνξοπρστυφχψω・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・АБВГДЕЁЖЗИЙКЛМНОПРС ・АБВГДЕЁЖЗИЙКЛМНОПРС
-ТУФХЦЧШЩЪЫЬЭЮЯ・・・・・・ ТУФХЦЧШЩЪЫЬЭЮЯ・・・・・・
-・・・・・・・・・абвгдеёжзий ・・・・・・・・・абвгдеёжзий
-клмнопрстуфхцчшщъыьэ клмнопрстуфхцчшщъыьэ
-юя・・・・・・・・・・・・・・・・・・ юя・・・・・・・・・・・・・・・・・・
-・─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳ ・─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳
-┫┻╋┠┯┨┷┿┝┰┥┸╂・・・・・・・ ┫┻╋┠┯┨┷┿┝┰┥┸╂・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵 ・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇 梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇
-鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異 鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異
-移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸 移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸
-稲茨芋鰯允印咽員因姻引飲淫胤蔭・・・・・ 稲茨芋鰯允印咽員因姻引飲淫胤蔭・・・・・
-・蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏 ・蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏
-牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑 牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑
-枠鷲亙亘鰐詫藁蕨椀湾碗腕・・・・・・・・ 枠鷲亙亘鰐詫藁蕨椀湾碗腕・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞 ・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛 亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛
-佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛 佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛
-俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆 俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆
-偃假會偕偐偈做偖偬偸傀傚傅傴傲・・・・・ 偃假會偕偐偈做偖偬偸傀傚傅傴傲・・・・・
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻 ・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈 鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈
-麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝 麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝
-黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒 黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒
-齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠・・・・・ 齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠・・・・・
-・堯槇遙瑤凜熙・・・・・・・・・・・・・ ・堯槇遙瑤凜熙・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T11`;
-C1 CONVERT(`C1` using sjis)
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ   、。,.・:;?!゛゜´`¨^ ̄_ヽ
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’ ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】 “”()〔〕[]{}〈〉《》「」『』【】
-+‐±×÷=≠<>≦≧∞∴♂♀°′″℃¥ +‐±×÷=≠<>≦≧∞∴♂♀°′″℃¥
-$¢£%#&*@§☆★○●◎◇・・・・・ $¢£%#&*@§☆★○●◎◇・・・・・
-・◆□■△▲▽▼※〒→←↑↓〓・・・・・ ・◆□■△▲▽▼※〒→←↑↓〓・・・・・
-・・・・・・∈∋⊆⊇⊂⊃∪∩・・・・・・ ・・・・・・∈∋⊆⊇⊂⊃∪∩・・・・・・
-・・∧∨¬⇒⇔∀∃・・・・・・・・・・・ ・・∧∨¬⇒⇔∀∃・・・・・・・・・・・
-∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬・・・・・ ∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬・・・・・
-・・ʼn♯♭♪†‡¶・・・・◯・・・・  ・・ʼn♯♭♪†‡¶・・・・◯・・・・ 
-・・・・・・・・・・・・・・・・0123 ・・・・・・・・・・・・・・・・0123
-456789・・・・・・・ABCDEFG 456789・・・・・・・ABCDEFG
-HIJKLMNOPQRSTUVWXYZ・ HIJKLMNOPQRSTUVWXYZ・
-・・・・・abcdefghijklmno ・・・・・abcdefghijklmno
-pqrstuvwxyz・・・・・・・・・ pqrstuvwxyz・・・・・・・・・
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ ・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-ごさざしじすずせぜそぞただちぢっつづてで ごさざしじすずせぜそぞただちぢっつづてで
-とどなにぬねのはばぱひびぴふぶぷへべぺほ とどなにぬねのはばぱひびぴふぶぷへべぺほ
-ぼぽまみむめもゃやゅゆょよらりるれろゎわ ぼぽまみむめもゃやゅゆょよらりるれろゎわ
-ゐゑをん・・・・・・・・・・・・・・・・ ゐゑをん・・・・・・・・・・・・・・・・
-・ァアィイゥウェエォオカガキギクグケゲコ ・ァアィイゥウェエォオカガキギクグケゲコ
-ゴサザシジスズセゼソゾタダチヂッツヅテデ ゴサザシジスズセゼソゾタダチヂッツヅテデ
-トドナニヌネノハバパヒビピフブプヘベペホ トドナニヌネノハバパヒビピフブプヘベペホ
-ボポマミムメモャヤュユョヨラリルレロヮワ ボポマミムメモャヤュユョヨラリルレロヮワ
-ヰヱヲンヴヵヶ・・・・・・・・・・・・・ ヰヱヲンヴヵヶ・・・・・・・・・・・・・
-・ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤ ・ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤ
-ΥΦΧΨΩ・・・・・・・・αβγδεζη ΥΦΧΨΩ・・・・・・・・αβγδεζη
-θικλμνξοπρστυφχψω・・・ θικλμνξοπρστυφχψω・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・АБВГДЕЁЖЗИЙКЛМНОПРС ・АБВГДЕЁЖЗИЙКЛМНОПРС
-ТУФХЦЧШЩЪЫЬЭЮЯ・・・・・・ ТУФХЦЧШЩЪЫЬЭЮЯ・・・・・・
-・・・・・・・・・абвгдеёжзий ・・・・・・・・・абвгдеёжзий
-клмнопрстуфхцчшщъыьэ клмнопрстуфхцчшщъыьэ
-юя・・・・・・・・・・・・・・・・・・ юя・・・・・・・・・・・・・・・・・・
-・─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳ ・─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳
-┫┻╋┠┯┨┷┿┝┰┥┸╂・・・・・・・ ┫┻╋┠┯┨┷┿┝┰┥┸╂・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵 ・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇 梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇
-鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異 鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異
-移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸 移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸
-稲茨芋鰯允印咽員因姻引飲淫胤蔭・・・・・ 稲茨芋鰯允印咽員因姻引飲淫胤蔭・・・・・
-・蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏 ・蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏
-牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑 牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑
-枠鷲亙亘鰐詫藁蕨椀湾碗腕・・・・・・・・ 枠鷲亙亘鰐詫藁蕨椀湾碗腕・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞 ・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛 亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛
-佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛 佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛
-俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆 俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆
-偃假會偕偐偈做偖偬偸傀傚傅傴傲・・・・・ 偃假會偕偐偈做偖偬偸傀傚傅傴傲・・・・・
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻 ・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈 鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈
-麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝 麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝
-黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒 黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒
-齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠・・・・・ 齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠・・・・・
-・堯槇遙瑤凜熙・・・・・・・・・・・・・ ・堯槇遙瑤凜熙・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T12`;
-C1 CONVERT(`C1` using utf8)
-・・・・・・・・・・・・・・・˘ˇ¸˙˝ ・・・・・・・・・・・・・・・˘ˇ¸˙˝
-・˛˚~΄΅・・・・・・・・¡¦¿・・・ ・˛˚~΄΅・・・・・・・・¡¦¿・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・ºª©®™ ・・・・・・・・・・・・・・・ºª©®™
-¤№・・・・・・・・・・・・・・・・・・ ¤№・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・ΆΈΉΊΪ・Ό・ΎΫ・Ώ・・・ ・・・・・ΆΈΉΊΪ・Ό・ΎΫ・Ώ・・・
-・άέήίϊΐόςύϋΰώ・・・・・・・ ・άέήίϊΐόςύϋΰώ・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・ЂЃЄЅІЇ ・・・・・・・・・・・・・・ЂЃЄЅІЇ
-ЈЉЊЋЌЎЏ・・・・・・・・・・・・・ ЈЉЊЋЌЎЏ・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・ђѓєѕіїјљњћќўџ・・・・・ ・・ђѓєѕіїјљњћќўџ・・・・・
-・ÆĐ・Ħ・IJ・ŁĿ・ŊØŒ・ŦÞ・・・ ・ÆĐ・Ħ・IJ・ŁĿ・ŊØŒ・ŦÞ・・・
-・・・・・・・・・・・・・æđðħıijĸ ・・・・・・・・・・・・・æđðħıijĸ
-łŀʼnŋøœßŧþ・・・・・・・・・・・ łŀʼnŋøœßŧþ・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈË ・ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈË
-ÊĚĖĒĘ・ĜĞĢĠĤÍÌÏÎǏİĪĮĨ ÊĚĖĒĘ・ĜĞĢĠĤÍÌÏÎǏİĪĮĨ
-ĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖ ĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖ
-ŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙ ŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙ
-ǕŴÝŸŶŹŽŻ・・・・・・・・・・・・ ǕŴÝŸŶŹŽŻ・・・・・・・・・・・・
-・áàäâăǎāąåãćĉčçċďéèë ・áàäâăǎāąåãćĉčçċďéèë
-êěėēęǵĝğ・ġĥíìïîǐ・īįĩ êěėēęǵĝğ・ġĥíìïîǐ・īįĩ
-ĵķĺľļńňņñóòöôǒőōõŕřŗ ĵķĺľļńňņñóòöôǒőōõŕřŗ
-śŝšşťţúùüûŭǔűūųůũǘǜǚ śŝšşťţúùüûŭǔűūųůũǘǜǚ
-ǖŵýÿŷźžż・・・・・・・・・・・・ ǖŵýÿŷźžż・・・・・・・・・・・・
-・丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑 ・丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠 乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众 仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘 伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘
-佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄・・・・・ 佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄・・・・・
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪 ・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖 鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
-龔龖龗龞龡龢龣龥・・・・・・・・・・・・ 龔龖龗龞龡龢龣龥・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T12`;
-C1 CONVERT(`C1` using ucs2)
-・・・・・・・・・・・・・・・˘ˇ¸˙˝ ・・・・・・・・・・・・・・・˘ˇ¸˙˝
-・˛˚~΄΅・・・・・・・・¡¦¿・・・ ・˛˚~΄΅・・・・・・・・¡¦¿・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・ºª©®™ ・・・・・・・・・・・・・・・ºª©®™
-¤№・・・・・・・・・・・・・・・・・・ ¤№・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・ΆΈΉΊΪ・Ό・ΎΫ・Ώ・・・ ・・・・・ΆΈΉΊΪ・Ό・ΎΫ・Ώ・・・
-・άέήίϊΐόςύϋΰώ・・・・・・・ ・άέήίϊΐόςύϋΰώ・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・ЂЃЄЅІЇ ・・・・・・・・・・・・・・ЂЃЄЅІЇ
-ЈЉЊЋЌЎЏ・・・・・・・・・・・・・ ЈЉЊЋЌЎЏ・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・ђѓєѕіїјљњћќўџ・・・・・ ・・ђѓєѕіїјљњћќўџ・・・・・
-・ÆĐ・Ħ・IJ・ŁĿ・ŊØŒ・ŦÞ・・・ ・ÆĐ・Ħ・IJ・ŁĿ・ŊØŒ・ŦÞ・・・
-・・・・・・・・・・・・・æđðħıijĸ ・・・・・・・・・・・・・æđðħıijĸ
-łŀʼnŋøœßŧþ・・・・・・・・・・・ łŀʼnŋøœßŧþ・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈË ・ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈË
-ÊĚĖĒĘ・ĜĞĢĠĤÍÌÏÎǏİĪĮĨ ÊĚĖĒĘ・ĜĞĢĠĤÍÌÏÎǏİĪĮĨ
-ĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖ ĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖ
-ŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙ ŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙ
-ǕŴÝŸŶŹŽŻ・・・・・・・・・・・・ ǕŴÝŸŶŹŽŻ・・・・・・・・・・・・
-・áàäâăǎāąåãćĉčçċďéèë ・áàäâăǎāąåãćĉčçċďéèë
-êěėēęǵĝğ・ġĥíìïîǐ・īįĩ êěėēęǵĝğ・ġĥíìïîǐ・īįĩ
-ĵķĺľļńňņñóòöôǒőōõŕřŗ ĵķĺľļńňņñóòöôǒőōõŕřŗ
-śŝšşťţúùüûŭǔűūųůũǘǜǚ śŝšşťţúùüûŭǔűūųůũǘǜǚ
-ǖŵýÿŷźžż・・・・・・・・・・・・ ǖŵýÿŷźžż・・・・・・・・・・・・
-・丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑 ・丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠 乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众 仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘 伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘
-佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄・・・・・ 佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄・・・・・
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪 ・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖 鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
-龔龖龗龞龡龢龣龥・・・・・・・・・・・・ 龔龖龗龞龡龢龣龥・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T12`;
-C1 CONVERT(`C1` using sjis)
-・・・・・・・・・・・・・・・˘ˇ¸˙˝ ・・・・・・・・・・・・・・・?????
-・˛˚~΄΅・・・・・・・・¡¦¿・・・ ・??~??・・・・・・・・???・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・ºª©®™ ・・・・・・・・・・・・・・・?????
-¤№・・・・・・・・・・・・・・・・・・ ??・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・ΆΈΉΊΪ・Ό・ΎΫ・Ώ・・・ ・・・・・?????・?・??・?・・・
-・άέήίϊΐόςύϋΰώ・・・・・・・ ・????????????・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・ЂЃЄЅІЇ ・・・・・・・・・・・・・・??????
-ЈЉЊЋЌЎЏ・・・・・・・・・・・・・ ???????・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・ђѓєѕіїјљњћќўџ・・・・・ ・・?????????????・・・・・
-・ÆĐ・Ħ・IJ・ŁĿ・ŊØŒ・ŦÞ・・・ ・??・?・?・??・???・??・・・
-・・・・・・・・・・・・・æđðħıijĸ ・・・・・・・・・・・・・???????
-łŀʼnŋøœßŧþ・・・・・・・・・・・ ?????????・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
-・ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈË ・???????????????????
-ÊĚĖĒĘ・ĜĞĢĠĤÍÌÏÎǏİĪĮĨ ?????・??????????????
-ĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖ ????????????????????
-ŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙ ????????????????????
-ǕŴÝŸŶŹŽŻ・・・・・・・・・・・・ ????????・・・・・・・・・・・・
-・áàäâăǎāąåãćĉčçċďéèë ・???????????????????
-êěėēęǵĝğ・ġĥíìïîǐ・īįĩ ????????・???????・???
-ĵķĺľļńňņñóòöôǒőōõŕřŗ ????????????????????
-śŝšşťţúùüûŭǔűūųůũǘǜǚ ????????????????????
-ǖŵýÿŷźžż・・・・・・・・・・・・ ????????・・・・・・・・・・・・
-・丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑 ・???????????????????
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠 ????????????????????
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众 ????????????????????
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘 ????????????????????
-佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄・・・・・ ???????????????・・・・・
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪 ・???????????????????
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖 ????????????????????
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒 ????????????????????
-龔龖龗龞龡龢龣龥・・・・・・・・・・・・ ????????・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -1509,6 +1134,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/r/jp_convert_utf8.result b/mysql-test/suite/jp/r/jp_convert_utf8.result
index 505d6c1cebf..5a47d5d687a 100644
--- a/mysql-test/suite/jp/r/jp_convert_utf8.result
+++ b/mysql-test/suite/jp/r/jp_convert_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器`;
鐚o CONVERT(`鐚o` using ujis)
!"#$%&'()*+,-./ !"#$%&'()*+,-./
@@ -1134,372 +1125,6 @@ SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器`;
藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊 ????????????????????
蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉 ????????祉祉祉祉祉祉祉祉祉祉祉
祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using ujis)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔
-鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎 鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓 鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓 鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using ucs2)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔
-鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎 鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓 鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓 鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using sjis)
- !"#$%&'()*+,-./ !"#$%&'()*+,-./
-0123456789:;<=>? 0123456789:;<=>?
-@ABCDEFGHIJKLMNO @ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_ PQRSTUVWXYZ[\]^_
-abcdefghijklmno abcdefghijklmno
-pqrstuvwxyz{|}~ pqrstuvwxyz{|}~
- 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔
-鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎 鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓 鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓 鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using ujis)
-鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥 鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥
-障篁錫鐚鐚若鐔モ 障篁錫鐚?鐔モ
-鐚鐚鐚誌悉鐔鐔 鐚鐚鐚誌悉鐔鐔
-鐚賊歎鐚鐚鐚р癌属霞鰍鐃 鐚賊歎鐚鐚鐚р癌属霞鰍鐃
-鐚蔵贈鐚鐚鐚鐚鐚則祉祉祉祉 鐚蔵贈鐚鐚鐚鐚鐚則祉祉祉祉
-獅≠鰍霞盾錫祉祉祉祉祉 獅≠鰍霞盾錫祉祉祉祉祉
-祉祉祉祉祉獅祉祉祉祉祉 祉祉祉祉祉獅祉祉祉祉祉
-祉獅р測祉祉祉祉祉祉祉祉祉祉 祉獅р測祉祉祉祉祉祉祉祉祉祉
-モ≠盾汲祉祉祉祉 モ≠盾汲祉祉祉祉
-祉獅謂‖吟祉祉祉獅祉祉祉祉 祉獅謂‖吟祉祉祉獅祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉誌鐚鐚鐚 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉誌鐚鐚鐚
-鐚鐚鐚鐚鐚鐚祉祉祉祉祉祉誌次鐚鐚o爾鐚ワ痔鐚 鐚鐚鐚鐚鐚鐚祉祉祉祉祉祉誌次鐚鐚o爾鐚ワ痔鐚
-鐚鐚鐚鐚鐚鐚鐚鐚鐚逸識鐚駕竺鐚器宍鐚駈七鐚醐執鐚冴 鐚鐚鐚鐚鐚鐚鐚鐚鐚逸識鐚駕竺鐚器宍鐚駈七鐚醐執鐚冴
-祉祉祉祉誌鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔 祉祉祉祉誌鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔
-鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔祉祉祉祉祉祉祉祉 鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔祉祉祉祉祉祉祉祉
-祉 祉
-<≪cゃャ <≪cゃャ
-違宴蚊潟眼泣吟激吾鴻冴 違宴蚊潟眼泣吟激吾鴻冴
-若純障帥 若純障帥
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉<≪cゃャс違宴蚊 祉<≪cゃャс違宴蚊
-眼泣吟激吾鴻冴祉若純障帥 眼泣吟激吾鴻冴祉若純障帥
-
-<≪cゃャс <≪cゃャс
-違宴蚊潟眼泣吟祉祉祉祉祉祉祉祉祉祉祉祉 違宴蚊潟眼泣吟祉祉祉祉祉祉祉祉祉祉祉祉
-士痢裡里 士痢裡里
-離陸律率立祉祉祉祉祉祉祉士盈歌確肝砧粁 離陸律率立祉祉祉祉祉祉祉士盈歌確肝砧粁
-慮旅虜了亮僚両凌祉祉 慮旅虜了亮僚両凌祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-姉弌 姉弌
-丐丕个丱丶丼丿乂乖乘亂亅豫亊祉祉祉祉祉 丐丕个丱丶丼丿乂乖乘亂亅豫亊祉祉祉祉祉
-祉祉祉祉祉祉祉祉姉夷頴火覚莞却亢亰亳亶 祉祉祉祉祉祉祉祉姉夷頴火覚莞却亢亰亳亶
-从仍仄仆仂仗 从仍仄仆仂仗
-ム祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 ム祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-獅も癌錫b 獅も癌錫b
-獅撃垂謂モ呉祉祉祉祉祉祉 獅撃垂謂モ呉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-私紲水紮狗∵笈腥≧献薇 私紲水紮狗∵笈腥≧献薇
-罌ф≧怨紮脂4腟∝蕎藪膕茴桁綺究罅 罌ф≧怨紮脂4腟∝蕎藪膕茴桁綺究罅
-鋌ヤ篏箴峨し紮紲絨井罎榊 鋌ヤ篏箴峨し紮紲絨井罎榊
-腱紫境膩茵h阪私篋ュ臥脾筝紕掩頃 腱紫境膩茵h阪私篋ュ臥脾筝紕掩頃
-腮画薜医遵≦紮糸蕋我繰よ祉祉祉祉 腮画薜医遵≦紮糸蕋我繰よ祉祉祉祉
-肢i薛罠莖莊峨翫綮綣罐惹羌羲 肢i薛罠莖莊峨翫綮綣罐惹羌羲
-∝主乗藝胼画荅掩莖 ∝主乗藝胼画荅掩莖
-薹俄篋薜荅罎羚丞祉祉祉祉祉祉祉 薹俄篋薜荅罎羚丞祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-糸筝筝筝筝延原筝寂舷箙箙箙篋篋莟篋綣篋篋 糸筝筝筝筝延原筝寂舷箙箙箙篋篋莟篋綣篋篋
-篋篋篋≫紺篋割唆篁篁篁篁篁篁篁篁篁篁隙篏篌遺 篋篋篋≫紺篋割唆篁篁篁篁篁篁篁篁篁篁隙篏篌遺
-篏篏篏篏銀箴鋐篏私秋篏遺篏箴箴篆篆篆篆篆 篏篏篏篏銀箴鋐篏私秋篏遺篏箴箴篆篆篆篆篆
-篆篆篆篆や織ュ篌篆九≦篆鞘侵 篆篆篆篆や織ュ篌篆九≦篆鞘侵
-後翫蚊祉祉祉祉 後翫蚊祉祉祉祉
-脂薺薺ら薺薺薺臥藏藏薺薺咲藏ら匡藏臥薹藏 脂薺薺ら薺薺薺臥藏藏薺薺咲藏ら匡藏臥薹藏
-藏檎矯薹薹騂薹薹薹檎窪薹薹薹初藐藐藕級更藕初藝 藏檎矯薹薹騂薹薹薹檎窪薹薹薹初藐藐藕級更藕初藝
-藝藝藝藝藝藝藝ラ懇藝檎昏藝♂藥藥騌藥藥藥藥 藝藝藝藝藝藝藝ラ懇藝檎昏藝♂藥藥騌藥藥藥藥
-藥藥ラ雑藥藥顔散藥潔珊藥脂纂藥初藜潔藜♂蒔藜冗藹 藥藥ラ雑藥藥顔散藥潔珊藥脂纂藥初藜潔藜♂蒔藜冗藹
-藹藹i藹藹♂拾藹ч習藹藹潔讐藹狗蘊蘊祉祉祉祉 藹藹i藹藹♂拾藹ч習藹藹潔讐藹狗蘊蘊祉祉祉祉
-糸罕ゅ祉祉祉祉祉祉祉祉祉祉祉祉 糸罕ゅ祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using ucs2)
-鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥 鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥
-障篁錫鐚鐚若鐔モ 障篁錫鐚鐚若鐔モ
-鐚鐚鐚誌悉鐔鐔 鐚鐚鐚誌悉鐔鐔
-鐚賊歎鐚鐚鐚р癌属霞鰍鐃 鐚賊歎鐚鐚鐚р癌属霞鰍鐃
-鐚蔵贈鐚鐚鐚鐚鐚則祉祉祉祉 鐚蔵贈鐚鐚鐚鐚鐚則祉祉祉祉
-獅≠鰍霞盾錫祉祉祉祉祉 獅≠鰍霞盾錫祉祉祉祉祉
-祉祉祉祉祉獅祉祉祉祉祉 祉祉祉祉祉獅祉祉祉祉祉
-祉獅р測祉祉祉祉祉祉祉祉祉祉 祉獅р測祉祉祉祉祉祉祉祉祉祉
-モ≠盾汲祉祉祉祉 モ≠盾汲祉祉祉祉
-祉獅謂‖吟祉祉祉獅祉祉祉祉 祉獅謂‖吟祉祉祉獅祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉誌鐚鐚鐚 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉誌鐚鐚鐚
-鐚鐚鐚鐚鐚鐚祉祉祉祉祉祉誌次鐚鐚o爾鐚ワ痔鐚 鐚鐚鐚鐚鐚鐚祉祉祉祉祉祉誌次鐚鐚o爾鐚ワ痔鐚
-鐚鐚鐚鐚鐚鐚鐚鐚鐚逸識鐚駕竺鐚器宍鐚駈七鐚醐執鐚冴 鐚鐚鐚鐚鐚鐚鐚鐚鐚逸識鐚駕竺鐚器宍鐚駈七鐚醐執鐚冴
-祉祉祉祉誌鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔 祉祉祉祉誌鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔
-鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔祉祉祉祉祉祉祉祉 鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔祉祉祉祉祉祉祉祉
-祉 祉
-<≪cゃャ <≪cゃャ
-違宴蚊潟眼泣吟激吾鴻冴 違宴蚊潟眼泣吟激吾鴻冴
-若純障帥 若純障帥
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉<≪cゃャс違宴蚊 祉<≪cゃャс違宴蚊
-眼泣吟激吾鴻冴祉若純障帥 眼泣吟激吾鴻冴祉若純障帥
-
-<≪cゃャс <≪cゃャс
-違宴蚊潟眼泣吟祉祉祉祉祉祉祉祉祉祉祉祉 違宴蚊潟眼泣吟祉祉祉祉祉祉祉祉祉祉祉祉
-士痢裡里 士痢裡里
-離陸律率立祉祉祉祉祉祉祉士盈歌確肝砧粁 離陸律率立祉祉祉祉祉祉祉士盈歌確肝砧粁
-慮旅虜了亮僚両凌祉祉 慮旅虜了亮僚両凌祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-姉弌 姉弌
-丐丕个丱丶丼丿乂乖乘亂亅豫亊祉祉祉祉祉 丐丕个丱丶丼丿乂乖乘亂亅豫亊祉祉祉祉祉
-祉祉祉祉祉祉祉祉姉夷頴火覚莞却亢亰亳亶 祉祉祉祉祉祉祉祉姉夷頴火覚莞却亢亰亳亶
-从仍仄仆仂仗 从仍仄仆仂仗
-ム祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 ム祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-獅も癌錫b 獅も癌錫b
-獅撃垂謂モ呉祉祉祉祉祉祉 獅撃垂謂モ呉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-私紲水紮狗∵笈腥≧献薇 私紲水紮狗∵笈腥≧献薇
-罌ф≧怨紮脂4腟∝蕎藪膕茴桁綺究罅 罌ф≧怨紮脂4腟∝蕎藪膕茴桁綺究罅
-鋌ヤ篏箴峨し紮紲絨井罎榊 鋌ヤ篏箴峨し紮紲絨井罎榊
-腱紫境膩茵h阪私篋ュ臥脾筝紕掩頃 腱紫境膩茵h阪私篋ュ臥脾筝紕掩頃
-腮画薜医遵≦紮糸蕋我繰よ祉祉祉祉 腮画薜医遵≦紮糸蕋我繰よ祉祉祉祉
-肢i薛罠莖莊峨翫綮綣罐惹羌羲 肢i薛罠莖莊峨翫綮綣罐惹羌羲
-∝主乗藝胼画荅掩莖 ∝主乗藝胼画荅掩莖
-薹俄篋薜荅罎羚丞祉祉祉祉祉祉祉 薹俄篋薜荅罎羚丞祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-糸筝筝筝筝延原筝寂舷箙箙箙篋篋莟篋綣篋篋 糸筝筝筝筝延原筝寂舷箙箙箙篋篋莟篋綣篋篋
-篋篋篋≫紺篋割唆篁篁篁篁篁篁篁篁篁篁隙篏篌遺 篋篋篋≫紺篋割唆篁篁篁篁篁篁篁篁篁篁隙篏篌遺
-篏篏篏篏銀箴鋐篏私秋篏遺篏箴箴篆篆篆篆篆 篏篏篏篏銀箴鋐篏私秋篏遺篏箴箴篆篆篆篆篆
-篆篆篆篆や織ュ篌篆九≦篆鞘侵 篆篆篆篆や織ュ篌篆九≦篆鞘侵
-後翫蚊祉祉祉祉 後翫蚊祉祉祉祉
-脂薺薺ら薺薺薺臥藏藏薺薺咲藏ら匡藏臥薹藏 脂薺薺ら薺薺薺臥藏藏薺薺咲藏ら匡藏臥薹藏
-藏檎矯薹薹騂薹薹薹檎窪薹薹薹初藐藐藕級更藕初藝 藏檎矯薹薹騂薹薹薹檎窪薹薹薹初藐藐藕級更藕初藝
-藝藝藝藝藝藝藝ラ懇藝檎昏藝♂藥藥騌藥藥藥藥 藝藝藝藝藝藝藝ラ懇藝檎昏藝♂藥藥騌藥藥藥藥
-藥藥ラ雑藥藥顔散藥潔珊藥脂纂藥初藜潔藜♂蒔藜冗藹 藥藥ラ雑藥藥顔散藥潔珊藥脂纂藥初藜潔藜♂蒔藜冗藹
-藹藹i藹藹♂拾藹ч習藹藹潔讐藹狗蘊蘊祉祉祉祉 藹藹i藹藹♂拾藹ч習藹藹潔讐藹狗蘊蘊祉祉祉祉
-糸罕ゅ祉祉祉祉祉祉祉祉祉祉祉祉 糸罕ゅ祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using sjis)
-鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥 鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥
-障篁錫鐚鐚若鐔モ 障篁錫鐚?鐔モ
-鐚鐚鐚誌悉鐔鐔 鐚鐚鐚誌悉鐔鐔
-鐚賊歎鐚鐚鐚р癌属霞鰍鐃 鐚賊歎鐚鐚鐚р癌属霞鰍鐃
-鐚蔵贈鐚鐚鐚鐚鐚則祉祉祉祉 鐚蔵贈鐚鐚鐚鐚鐚則祉祉祉祉
-獅≠鰍霞盾錫祉祉祉祉祉 獅≠鰍霞盾錫祉祉祉祉祉
-祉祉祉祉祉獅祉祉祉祉祉 祉祉祉祉祉獅祉祉祉祉祉
-祉獅р測祉祉祉祉祉祉祉祉祉祉 祉獅р測祉祉祉祉祉祉祉祉祉祉
-モ≠盾汲祉祉祉祉 モ≠盾汲祉祉祉祉
-祉獅謂‖吟祉祉祉獅祉祉祉祉 祉獅謂‖吟祉祉祉獅祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉誌鐚鐚鐚 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉誌鐚鐚鐚
-鐚鐚鐚鐚鐚鐚祉祉祉祉祉祉誌次鐚鐚o爾鐚ワ痔鐚 鐚鐚鐚鐚鐚鐚祉祉祉祉祉祉誌次鐚鐚o爾鐚ワ痔鐚
-鐚鐚鐚鐚鐚鐚鐚鐚鐚逸識鐚駕竺鐚器宍鐚駈七鐚醐執鐚冴 鐚鐚鐚鐚鐚鐚鐚鐚鐚逸識鐚駕竺鐚器宍鐚駈七鐚醐執鐚冴
-祉祉祉祉誌鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔 祉祉祉祉誌鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔
-鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔祉祉祉祉祉祉祉祉 鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔祉祉祉祉祉祉祉祉
-祉 祉
-<≪cゃャ <≪cゃャ
-違宴蚊潟眼泣吟激吾鴻冴 違宴蚊潟眼泣吟激吾鴻冴
-若純障帥 若純障帥
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉<≪cゃャс違宴蚊 祉<≪cゃャс違宴蚊
-眼泣吟激吾鴻冴祉若純障帥 眼泣吟激吾鴻冴祉若純障帥
-
-<≪cゃャс <≪cゃャс
-違宴蚊潟眼泣吟祉祉祉祉祉祉祉祉祉祉祉祉 違宴蚊潟眼泣吟祉祉祉祉祉祉祉祉祉祉祉祉
-士痢裡里 士痢裡里
-離陸律率立祉祉祉祉祉祉祉士盈歌確肝砧粁 離陸律率立祉祉祉祉祉祉祉士盈歌確肝砧粁
-慮旅虜了亮僚両凌祉祉 慮旅虜了亮僚両凌祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-姉弌 姉弌
-丐丕个丱丶丼丿乂乖乘亂亅豫亊祉祉祉祉祉 丐丕个丱丶丼丿乂乖乘亂亅豫亊祉祉祉祉祉
-祉祉祉祉祉祉祉祉姉夷頴火覚莞却亢亰亳亶 祉祉祉祉祉祉祉祉姉夷頴火覚莞却亢亰亳亶
-从仍仄仆仂仗 从仍仄仆仂仗
-ム祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 ム祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-獅も癌錫b 獅も癌錫b
-獅撃垂謂モ呉祉祉祉祉祉祉 獅撃垂謂モ呉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-私紲水紮狗∵笈腥≧献薇 私紲水紮狗∵笈腥≧献薇
-罌ф≧怨紮脂4腟∝蕎藪膕茴桁綺究罅 罌ф≧怨紮脂4腟∝蕎藪膕茴桁綺究罅
-鋌ヤ篏箴峨し紮紲絨井罎榊 鋌ヤ篏箴峨し紮紲絨井罎榊
-腱紫境膩茵h阪私篋ュ臥脾筝紕掩頃 腱紫境膩茵h阪私篋ュ臥脾筝紕掩頃
-腮画薜医遵≦紮糸蕋我繰よ祉祉祉祉 腮画薜医遵≦紮糸蕋我繰よ祉祉祉祉
-肢i薛罠莖莊峨翫綮綣罐惹羌羲 肢i薛罠莖莊峨翫綮綣罐惹羌羲
-∝主乗藝胼画荅掩莖 ∝主乗藝胼画荅掩莖
-薹俄篋薜荅罎羚丞祉祉祉祉祉祉祉 薹俄篋薜荅罎羚丞祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-糸筝筝筝筝延原筝寂舷箙箙箙篋篋莟篋綣篋篋 糸筝筝筝筝延原筝寂舷箙箙箙篋篋莟篋綣篋篋
-篋篋篋≫紺篋割唆篁篁篁篁篁篁篁篁篁篁隙篏篌遺 篋篋篋≫紺篋割唆篁篁篁篁篁篁篁篁篁篁隙篏篌遺
-篏篏篏篏銀箴鋐篏私秋篏遺篏箴箴篆篆篆篆篆 篏篏篏篏銀箴鋐篏私秋篏遺篏箴箴篆篆篆篆篆
-篆篆篆篆や織ュ篌篆九≦篆鞘侵 篆篆篆篆や織ュ篌篆九≦篆鞘侵
-後翫蚊祉祉祉祉 後翫蚊祉祉祉祉
-脂薺薺ら薺薺薺臥藏藏薺薺咲藏ら匡藏臥薹藏 脂薺薺ら薺薺薺臥藏藏薺薺咲藏ら匡藏臥薹藏
-藏檎矯薹薹騂薹薹薹檎窪薹薹薹初藐藐藕級更藕初藝 藏檎矯薹薹騂薹薹薹檎窪薹薹薹初藐藐藕級更藕初藝
-藝藝藝藝藝藝藝ラ懇藝檎昏藝♂藥藥騌藥藥藥藥 藝藝藝藝藝藝藝ラ懇藝檎昏藝♂藥藥騌藥藥藥藥
-藥藥ラ雑藥藥顔散藥潔珊藥脂纂藥初藜潔藜♂蒔藜冗藹 藥藥ラ雑藥藥顔散藥潔珊藥脂纂藥初藜潔藜♂蒔藜冗藹
-藹藹i藹藹♂拾藹ч習藹藹潔讐藹狗蘊蘊祉祉祉祉 藹藹i藹藹♂拾藹ч習藹藹潔讐藹狗蘊蘊祉祉祉祉
-糸罕ゅ祉祉祉祉祉祉祉祉祉祉祉祉 糸罕ゅ祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using ujis)
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉史存 祉祉祉祉祉祉祉祉祉祉祉祉祉祉史存
-史鐔祉祉祉祉祉祉祉斬‖β帥祉祉 史?祉祉祉祉祉祉祉斬‖β帥祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉斬座息速 祉祉祉祉祉祉祉祉祉祉祉祉祉祉斬座息速
-造祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 造祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉士葎士士ホ士祉祉 祉祉祉祉士葎士士ホ士祉祉
-士劉流溜琉祉祉祉祉祉祉 士劉流溜琉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉姉 祉祉祉祉祉祉祉祉祉祉祉祉祉姉
-ミ祉祉祉祉祉祉祉祉祉祉祉祉 ミ祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉姿祉祉祉祉 祉姿祉祉祉祉
-暫残残蚊仕朕仕仕γ祉祉 暫残残蚊仕朕仕仕γ祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉暫δ丹徴脹蝶銚 祉祉祉祉祉祉祉祉祉祉祉祉暫δ丹徴脹蝶銚
-淡擢綻祉祉祉祉祉祉祉祉祉祉 淡擢綻祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-暫テ 暫テ
-残帳弔ヌ棵暢町懲 残帳弔ヌ棵暢町懲
-調超長捗鳥 調超長捗鳥
-鼎鄭適徹的轍溺敵 鼎鄭適徹的轍溺敵
-鉄展填店貼纏祉祉祉祉祉祉祉祉祉祉祉 鉄展填店貼纏祉祉祉祉祉祉祉祉祉祉祉
-暫|辰但ト奪達巽枎竪谷 暫|辰但ト奪達巽枎竪谷
-棚乃残…ッ狸誰樽残眺挑 棚乃残…ッ狸誰樽残眺挑
-諜跳頂直勅単坦嘆旦担探 諜跳頂直勅単坦嘆旦担探
-邸泥釘炭湛端短鏑撤笛迭哲滴 邸泥釘炭湛端短鏑撤笛迭哲滴
-典箪耽天添転甜祉祉祉祉祉祉祉祉祉祉祉 典箪耽天添転甜祉祉祉祉祉祉祉祉祉祉祉
-私筝筝筝筝筝筝d犬筝筝筝筝筝遺元箙箙箙箙箙 私筝筝筝筝筝筝d犬筝筝筝筝筝遺元箙箙箙箙箙
-箙箙箙d宏箙箙岩控箙剛洪篋篋篋篋篋篋剛篁篁篁篁 箙箙箙d宏箙箙岩控箙剛洪篋篋篋篋篋篋剛篁篁篁篁
-篁>拶篁篁篁延山篁灸蚕篁鞘賛篌篌篌篌篌篌篌篌篌篌 篁>拶篁篁篁延山篁灸蚕篁鞘賛篌篌篌篌篌篌篌篌篌篌
-篌篌篌延篌割宍篌隙執篌私湿篏篏篏篏篏篏篏篏篏篏 篌篌篌延篌割宍篌隙執篌私湿篏篏篏篏篏篏篏篏篏篏
-篏篏d終篏篏篏延酬篏娯醜篏坂十篏鞘箴箴祉祉祉祉 篏篏d終篏篏篏延酬篏娯醜篏坂十篏鞘箴箴祉祉祉祉
-脂燦藥翠藜藜藜騐藜藜藜藜藜藜藜藜藜藜∫痔藜 脂燦藥翠藜藜藜騐藜藜藜藜藜藜藜藜藜藜∫痔藜
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹 藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
-藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊 藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊
-蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉 蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using ucs2)
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉史存 祉祉祉祉祉祉祉祉祉祉祉祉祉祉史存
-史鐔祉祉祉祉祉祉祉斬‖β帥祉祉 史鐔祉祉祉祉祉祉祉斬‖β帥祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉斬座息速 祉祉祉祉祉祉祉祉祉祉祉祉祉祉斬座息速
-造祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 造祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉士葎士士ホ士祉祉 祉祉祉祉士葎士士ホ士祉祉
-士劉流溜琉祉祉祉祉祉祉 士劉流溜琉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉姉 祉祉祉祉祉祉祉祉祉祉祉祉祉姉
-ミ祉祉祉祉祉祉祉祉祉祉祉祉 ミ祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉姿祉祉祉祉 祉姿祉祉祉祉
-暫残残蚊仕朕仕仕γ祉祉 暫残残蚊仕朕仕仕γ祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉暫δ丹徴脹蝶銚 祉祉祉祉祉祉祉祉祉祉祉祉暫δ丹徴脹蝶銚
-淡擢綻祉祉祉祉祉祉祉祉祉祉 淡擢綻祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-暫テ 暫テ
-残帳弔ヌ棵暢町懲 残帳弔ヌ棵暢町懲
-調超長捗鳥 調超長捗鳥
-鼎鄭適徹的轍溺敵 鼎鄭適徹的轍溺敵
-鉄展填店貼纏祉祉祉祉祉祉祉祉祉祉祉 鉄展填店貼纏祉祉祉祉祉祉祉祉祉祉祉
-暫|辰但ト奪達巽枎竪谷 暫|辰但ト奪達巽枎竪谷
-棚乃残…ッ狸誰樽残眺挑 棚乃残…ッ狸誰樽残眺挑
-諜跳頂直勅単坦嘆旦担探 諜跳頂直勅単坦嘆旦担探
-邸泥釘炭湛端短鏑撤笛迭哲滴 邸泥釘炭湛端短鏑撤笛迭哲滴
-典箪耽天添転甜祉祉祉祉祉祉祉祉祉祉祉 典箪耽天添転甜祉祉祉祉祉祉祉祉祉祉祉
-私筝筝筝筝筝筝d犬筝筝筝筝筝遺元箙箙箙箙箙 私筝筝筝筝筝筝d犬筝筝筝筝筝遺元箙箙箙箙箙
-箙箙箙d宏箙箙岩控箙剛洪篋篋篋篋篋篋剛篁篁篁篁 箙箙箙d宏箙箙岩控箙剛洪篋篋篋篋篋篋剛篁篁篁篁
-篁>拶篁篁篁延山篁灸蚕篁鞘賛篌篌篌篌篌篌篌篌篌篌 篁>拶篁篁篁延山篁灸蚕篁鞘賛篌篌篌篌篌篌篌篌篌篌
-篌篌篌延篌割宍篌隙執篌私湿篏篏篏篏篏篏篏篏篏篏 篌篌篌延篌割宍篌隙執篌私湿篏篏篏篏篏篏篏篏篏篏
-篏篏d終篏篏篏延酬篏娯醜篏坂十篏鞘箴箴祉祉祉祉 篏篏d終篏篏篏延酬篏娯醜篏坂十篏鞘箴箴祉祉祉祉
-脂燦藥翠藜藜藜騐藜藜藜藜藜藜藜藜藜藜∫痔藜 脂燦藥翠藜藜藜騐藜藜藜藜藜藜藜藜藜藜∫痔藜
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹 藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
-藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊 藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊
-蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉 蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器鐚`;
-鐚o CONVERT(`鐚o` using sjis)
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉史存 祉祉祉祉祉祉祉祉祉祉祉祉祉祉?????
-史鐔祉祉祉祉祉祉祉斬‖β帥祉祉 ?????祉祉祉祉祉祉祉???祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉斬座息速 祉祉祉祉祉祉祉祉祉祉祉祉祉祉?????
-造祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 ??祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉士葎士士ホ士祉祉 祉祉祉祉?????????祉祉
-士劉流溜琉祉祉祉祉祉祉 ????????????祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉姉 祉祉祉祉祉祉祉祉祉祉祉祉祉??????
-ミ祉祉祉祉祉祉祉祉祉祉祉祉 ???????祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉姿祉祉祉祉 祉?????????????祉祉祉祉
-暫残残蚊仕朕仕仕γ祉祉 ???????????祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉暫δ丹徴脹蝶銚 祉祉祉祉祉祉祉祉祉祉祉祉???????
-淡擢綻祉祉祉祉祉祉祉祉祉祉 ?????????祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-暫テ ???????????????????
-残帳弔ヌ棵暢町懲 ???????????????????
-調超長捗鳥 ????????????????????
-鼎鄭適徹的轍溺敵 ????????????????????
-鉄展填店貼纏祉祉祉祉祉祉祉祉祉祉祉 ????????祉祉祉祉祉祉祉祉祉祉祉
-暫|辰但ト奪達巽枎竪谷 ???????????????????
-棚乃残…ッ狸誰樽残眺挑 ??????????????????
-諜跳頂直勅単坦嘆旦担探 ????????????????????
-邸泥釘炭湛端短鏑撤笛迭哲滴 ????????????????????
-典箪耽天添転甜祉祉祉祉祉祉祉祉祉祉祉 ????????祉祉祉祉祉祉祉祉祉祉祉
-私筝筝筝筝筝筝d犬筝筝筝筝筝遺元箙箙箙箙箙 ???????????????????
-箙箙箙d宏箙箙岩控箙剛洪篋篋篋篋篋篋剛篁篁篁篁 ????????????????????
-篁>拶篁篁篁延山篁灸蚕篁鞘賛篌篌篌篌篌篌篌篌篌篌 ????????????????????
-篌篌篌延篌割宍篌隙執篌私湿篏篏篏篏篏篏篏篏篏篏 ????????????????????
-篏篏d終篏篏篏延酬篏娯醜篏坂十篏鞘箴箴祉祉祉祉 ???????????????祉祉祉祉
-脂燦藥翠藜藜藜騐藜藜藜藜藜藜藜藜藜藜∫痔藜 ???????????????????
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹 ????????????????????
-藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊 ????????????????????
-蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉 ????????祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉 祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
@@ -1509,6 +1134,3 @@ drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_create_db_sjis.result b/mysql-test/suite/jp/r/jp_create_db_sjis.result
index 1ce0b7228d5..2534e958931 100644
--- a/mysql-test/suite/jp/r/jp_create_db_sjis.result
+++ b/mysql-test/suite/jp/r/jp_create_db_sjis.result
@@ -8,11 +8,12 @@ CREATE DATABASE `{`;
CREATE DATABASE `\\\`;
SHOW DATABASES;
Database
-mysql
-test
+information_schema
\\\
{
椴欹
+mysql
+test
USE `椴欹`;
USE `{`;
USE `\\\`;
diff --git a/mysql-test/suite/jp/r/jp_create_db_ucs2.result b/mysql-test/suite/jp/r/jp_create_db_ucs2.result
index 8fd921ea8e6..4ba1b7b47b9 100644
--- a/mysql-test/suite/jp/r/jp_create_db_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_create_db_ucs2.result
@@ -9,11 +9,12 @@ CREATE DATABASE `日本語`;
CREATE DATABASE `龔龖龗`;
SHOW DATABASES;
Database
-mysql
-test
+information_schema
日本語
龔龖龗
ニホンゴ
+mysql
+test
USE `ニホンゴ`;
USE `日本語`;
USE `龔龖龗`;
diff --git a/mysql-test/suite/jp/r/jp_create_db_ujis.result b/mysql-test/suite/jp/r/jp_create_db_ujis.result
index 45fdb34717b..b3beebbd917 100644
--- a/mysql-test/suite/jp/r/jp_create_db_ujis.result
+++ b/mysql-test/suite/jp/r/jp_create_db_ujis.result
@@ -8,11 +8,12 @@ CREATE DATABASE `日本語`;
CREATE DATABASE `龔龖龗`;
SHOW DATABASES;
Database
-mysql
-test
+information_schema
日本語
龔龖龗
ニホンゴ
+mysql
+test
USE `ニホンゴ`;
USE `日本語`;
USE `龔龖龗`;
diff --git a/mysql-test/suite/jp/r/jp_create_db_utf8.result b/mysql-test/suite/jp/r/jp_create_db_utf8.result
index c0e996040de..0e1725a9c86 100644
--- a/mysql-test/suite/jp/r/jp_create_db_utf8.result
+++ b/mysql-test/suite/jp/r/jp_create_db_utf8.result
@@ -8,11 +8,12 @@ CREATE DATABASE `ユ茯`;
CREATE DATABASE `蘊蘊蘊`;
SHOW DATABASES;
Database
-mysql
-test
+information_schema
ユ茯
蘊蘊蘊
鐓鐓鐓鐔削
+mysql
+test
USE `鐓鐓鐓鐔削`;
USE `ユ茯`;
USE `蘊蘊蘊`;
diff --git a/mysql-test/suite/jp/r/jp_create_tbl_sjis.result b/mysql-test/suite/jp/r/jp_create_tbl_sjis.result
index ecc72f9d91b..b3a5a52f0d1 100644
--- a/mysql-test/suite/jp/r/jp_create_tbl_sjis.result
+++ b/mysql-test/suite/jp/r/jp_create_tbl_sjis.result
@@ -22,11 +22,23 @@ CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
+Warnings:
+Note 1050 Table '臼' already exists
CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
+Warnings:
+Note 1050 Table '臆' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
+Warnings:
+Note 1050 Table '\\\' already exists
CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
+Warnings:
+Note 1050 Table '\\\' already exists
CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=INNODB;
CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=INNODB;
@@ -84,77 +96,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL
+ `橋` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `臆`;
Table Create Table
臆 CREATE TABLE `臆` (
- `祁` char(1) default NULL
+ `祁` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `崖`;
Table Create Table
崖 CREATE TABLE `崖` (
- `幻` char(1) default NULL
+ `幻` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `幹`;
Table Create Table
幹 CREATE TEMPORARY TABLE `幹` (
- `更` char(1) default NULL
+ `更` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `亀`;
Table Create Table
亀 CREATE TEMPORARY TABLE `亀` (
- `査` char(1) default NULL
+ `査` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=sjis
DROP TABLE `臼`;
DROP TABLE `臆`;
@@ -178,11 +190,23 @@ CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
+Warnings:
+Note 1050 Table '臼' already exists
CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
+Warnings:
+Note 1050 Table '臆' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
+Warnings:
+Note 1050 Table '\\\' already exists
CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
+Warnings:
+Note 1050 Table '\\\' already exists
CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=MyISAM;
@@ -240,77 +264,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL
+ `橋` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `臆`;
Table Create Table
臆 CREATE TABLE `臆` (
- `祁` char(1) default NULL
+ `祁` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `崖`;
Table Create Table
崖 CREATE TABLE `崖` (
- `幻` char(1) default NULL
+ `幻` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `幹`;
Table Create Table
幹 CREATE TEMPORARY TABLE `幹` (
- `更` char(1) default NULL
+ `更` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `亀`;
Table Create Table
亀 CREATE TEMPORARY TABLE `亀` (
- `査` char(1) default NULL
+ `査` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
+ `\\\` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=sjis
DROP TABLE `臼`;
DROP TABLE `臆`;
@@ -327,27 +351,39 @@ DROP TABLE `\\\`;
DROP TABLE `\\\`;
DROP TABLE `\\\`;
DROP TABLE `\\\`;
-CREATE TABLE `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `幹`(`更` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `亀`(`査` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
+CREATE TABLE `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+Warnings:
+Note 1050 Table '臼' already exists
+CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+Warnings:
+Note 1050 Table '臆' already exists
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+Warnings:
+Note 1050 Table '' already exists
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+Warnings:
+Note 1050 Table '' already exists
+CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+Warnings:
+Note 1050 Table '\\\' already exists
+CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+Warnings:
+Note 1050 Table '\\\' already exists
+CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `幹`(`更` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `亀`(`査` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
DESC `臼`;
Field Type Null Key Default Extra
橋 char(1) YES NULL
@@ -396,234 +432,78 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `臼`;
Table Create Table
臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `橋` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `臆`;
Table Create Table
臆 CREATE TABLE `臆` (
- `祁` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `祁` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `崖`;
Table Create Table
崖 CREATE TABLE `崖` (
- `幻` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `幻` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `幹`;
Table Create Table
幹 CREATE TEMPORARY TABLE `幹` (
- `更` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `更` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `亀`;
Table Create Table
亀 CREATE TEMPORARY TABLE `亀` (
- `査` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `査` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `\\\` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `\\\` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `\\\` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+ `\\\` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `\\\`;
Table Create Table
\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=sjis
-DROP TABLE `臼`;
-DROP TABLE `臆`;
-DROP TABLE `崖`;
-DROP TABLE `幹`;
-DROP TABLE `亀`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-CREATE TABLE `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `幹`(`更` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `亀`(`査` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-DESC `臼`;
-Field Type Null Key Default Extra
-橋 char(1) YES NULL
-DESC `臆`;
-Field Type Null Key Default Extra
-祁 char(1) YES NULL
-DESC `崖`;
-Field Type Null Key Default Extra
-幻 char(1) YES NULL
-DESC `幹`;
-Field Type Null Key Default Extra
-更 char(1) YES NULL
-DESC `亀`;
-Field Type Null Key Default Extra
-査 char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC `\\\`;
-Field Type Null Key Default Extra
-\\\ char(1) YES NULL
-DESC `\\\`;
-Field Type Null Key Default Extra
-\\\ char(1) YES NULL
-DESC `\\\`;
-Field Type Null Key Default Extra
-\\\ char(1) YES NULL
-DESC `\\\`;
-Field Type Null Key Default Extra
-\\\ char(1) YES NULL
-DESC `\\\`;
-Field Type Null Key Default Extra
-\\\ char(1) YES NULL
-SHOW CREATE TABLE `臼`;
-Table Create Table
-臼 CREATE TABLE `臼` (
- `橋` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `臆`;
-Table Create Table
-臆 CREATE TABLE `臆` (
- `祁` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `崖`;
-Table Create Table
-崖 CREATE TABLE `崖` (
- `幻` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `幹`;
-Table Create Table
-幹 CREATE TEMPORARY TABLE `幹` (
- `更` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `亀`;
-Table Create Table
-亀 CREATE TEMPORARY TABLE `亀` (
- `査` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `\\\`;
-Table Create Table
-\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `\\\`;
-Table Create Table
-\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `\\\`;
-Table Create Table
-\\\ CREATE TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `\\\`;
-Table Create Table
-\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `\\\`;
-Table Create Table
-\\\ CREATE TEMPORARY TABLE `\\\` (
- `\\\` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
+ `\\\` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
DROP TABLE `臼`;
DROP TABLE `臆`;
DROP TABLE `崖`;
diff --git a/mysql-test/suite/jp/r/jp_create_tbl_ucs2.result b/mysql-test/suite/jp/r/jp_create_tbl_ucs2.result
index 0bf5a6891b0..5ca3d84465e 100644
--- a/mysql-test/suite/jp/r/jp_create_tbl_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_create_tbl_ucs2.result
@@ -22,11 +22,23 @@ CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
+Warnings:
+Note 1050 Table 'アアア' already exists
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
+Warnings:
+Note 1050 Table 'イイイ' already exists
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
+Warnings:
+Note 1050 Table 'あああ' already exists
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
+Warnings:
+Note 1050 Table 'いいい' already exists
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
+Warnings:
+Note 1050 Table '龖龖龖' already exists
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
+Warnings:
+Note 1050 Table '龗龗龗' already exists
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=INNODB;
@@ -84,77 +96,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
+ `カカカ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `イイイ`;
Table Create Table
イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
+ `キキキ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `ウウウ`;
Table Create Table
ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
+ `ククク` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `エエエ`;
Table Create Table
エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
+ `ケケケ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `オオオ`;
Table Create Table
オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
+ `コココ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
+ `かかか` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `いいい`;
Table Create Table
いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
+ `ききき` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `ううう`;
Table Create Table
ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
+ `くくく` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `えええ`;
Table Create Table
えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
+ `けけけ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `おおお`;
Table Create Table
おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
+ `こここ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
+ `丂丂丂` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龗龗龗`;
Table Create Table
龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
+ `丄丄丄` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龞龞龞`;
Table Create Table
龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
+ `丅丅丅` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龡龡龡`;
Table Create Table
龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
+ `丌丌丌` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龢龢龢`;
Table Create Table
龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
+ `丒丒丒` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -178,11 +190,23 @@ CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
+Warnings:
+Note 1050 Table 'アアア' already exists
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
+Warnings:
+Note 1050 Table 'イイイ' already exists
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
+Warnings:
+Note 1050 Table 'あああ' already exists
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
+Warnings:
+Note 1050 Table 'いいい' already exists
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
+Warnings:
+Note 1050 Table '龖龖龖' already exists
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
+Warnings:
+Note 1050 Table '龗龗龗' already exists
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=MyISAM;
@@ -240,77 +264,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
+ `カカカ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `イイイ`;
Table Create Table
イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
+ `キキキ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `ウウウ`;
Table Create Table
ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
+ `ククク` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `エエエ`;
Table Create Table
エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
+ `ケケケ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `オオオ`;
Table Create Table
オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
+ `コココ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
+ `かかか` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `いいい`;
Table Create Table
いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
+ `ききき` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `ううう`;
Table Create Table
ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
+ `くくく` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `えええ`;
Table Create Table
えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
+ `けけけ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `おおお`;
Table Create Table
おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
+ `こここ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
+ `丂丂丂` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龗龗龗`;
Table Create Table
龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
+ `丄丄丄` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龞龞龞`;
Table Create Table
龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
+ `丅丅丅` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龡龡龡`;
Table Create Table
龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
+ `丌丌丌` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龢龢龢`;
Table Create Table
龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
+ `丒丒丒` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -327,27 +351,39 @@ DROP TABLE `龗龗龗`;
DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
+CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+Warnings:
+Note 1050 Table 'アアア' already exists
+CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+Warnings:
+Note 1050 Table 'イイイ' already exists
+CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+Warnings:
+Note 1050 Table 'あああ' already exists
+CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+Warnings:
+Note 1050 Table 'いいい' already exists
+CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+Warnings:
+Note 1050 Table '龖龖龖' already exists
+CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+Warnings:
+Note 1050 Table '龗龗龗' already exists
+CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
DESC `アアア`;
Field Type Null Key Default Extra
カカカ char(1) YES NULL
@@ -396,234 +432,78 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `カカカ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `イイイ`;
Table Create Table
イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `キキキ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `ウウウ`;
Table Create Table
ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `ククク` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `エエエ`;
Table Create Table
エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `ケケケ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `オオオ`;
Table Create Table
オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `コココ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `かかか` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `いいい`;
Table Create Table
いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `ききき` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `ううう`;
Table Create Table
ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `くくく` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `えええ`;
Table Create Table
えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `けけけ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `おおお`;
Table Create Table
おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `こここ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `丂丂丂` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龗龗龗`;
Table Create Table
龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `丄丄丄` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龞龞龞`;
Table Create Table
龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `丅丅丅` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龡龡龡`;
Table Create Table
龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+ `丌丌丌` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `龢龢龢`;
Table Create Table
龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `ウウウ`;
-DROP TABLE `エエエ`;
-DROP TABLE `オオオ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `ううう`;
-DROP TABLE `えええ`;
-DROP TABLE `おおお`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
-DROP TABLE `龞龞龞`;
-DROP TABLE `龡龡龡`;
-DROP TABLE `龢龢龢`;
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-DESC `アアア`;
-Field Type Null Key Default Extra
-カカカ char(1) YES NULL
-DESC `イイイ`;
-Field Type Null Key Default Extra
-キキキ char(1) YES NULL
-DESC `ウウウ`;
-Field Type Null Key Default Extra
-ククク char(1) YES NULL
-DESC `エエエ`;
-Field Type Null Key Default Extra
-ケケケ char(1) YES NULL
-DESC `オオオ`;
-Field Type Null Key Default Extra
-コココ char(1) YES NULL
-DESC `あああ`;
-Field Type Null Key Default Extra
-かかか char(1) YES NULL
-DESC `いいい`;
-Field Type Null Key Default Extra
-ききき char(1) YES NULL
-DESC `ううう`;
-Field Type Null Key Default Extra
-くくく char(1) YES NULL
-DESC `えええ`;
-Field Type Null Key Default Extra
-けけけ char(1) YES NULL
-DESC `おおお`;
-Field Type Null Key Default Extra
-こここ char(1) YES NULL
-DESC `龖龖龖`;
-Field Type Null Key Default Extra
-丂丂丂 char(1) YES NULL
-DESC `龗龗龗`;
-Field Type Null Key Default Extra
-丄丄丄 char(1) YES NULL
-DESC `龞龞龞`;
-Field Type Null Key Default Extra
-丅丅丅 char(1) YES NULL
-DESC `龡龡龡`;
-Field Type Null Key Default Extra
-丌丌丌 char(1) YES NULL
-DESC `龢龢龢`;
-Field Type Null Key Default Extra
-丒丒丒 char(1) YES NULL
-SHOW CREATE TABLE `アアア`;
-Table Create Table
-アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `イイイ`;
-Table Create Table
-イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `ウウウ`;
-Table Create Table
-ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `エエエ`;
-Table Create Table
-エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `オオオ`;
-Table Create Table
-オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `あああ`;
-Table Create Table
-あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `いいい`;
-Table Create Table
-いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `ううう`;
-Table Create Table
-ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `えええ`;
-Table Create Table
-えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `おおお`;
-Table Create Table
-おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `龖龖龖`;
-Table Create Table
-龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `龗龗龗`;
-Table Create Table
-龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `龞龞龞`;
-Table Create Table
-龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `龡龡龡`;
-Table Create Table
-龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `龢龢龢`;
-Table Create Table
-龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
+ `丒丒丒` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `ウウウ`;
diff --git a/mysql-test/suite/jp/r/jp_create_tbl_ujis.result b/mysql-test/suite/jp/r/jp_create_tbl_ujis.result
index ae555e5af15..f79e131ec5f 100644
--- a/mysql-test/suite/jp/r/jp_create_tbl_ujis.result
+++ b/mysql-test/suite/jp/r/jp_create_tbl_ujis.result
@@ -22,11 +22,23 @@ CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
+Warnings:
+Note 1050 Table 'アアア' already exists
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
+Warnings:
+Note 1050 Table 'イイイ' already exists
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
+Warnings:
+Note 1050 Table 'あああ' already exists
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
+Warnings:
+Note 1050 Table 'いいい' already exists
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
+Warnings:
+Note 1050 Table '龖龖龖' already exists
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
+Warnings:
+Note 1050 Table '龗龗龗' already exists
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=INNODB;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=INNODB;
@@ -84,77 +96,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
+ `カカカ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `イイイ`;
Table Create Table
イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
+ `キキキ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `ウウウ`;
Table Create Table
ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
+ `ククク` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `エエエ`;
Table Create Table
エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
+ `ケケケ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `オオオ`;
Table Create Table
オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
+ `コココ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
+ `かかか` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `いいい`;
Table Create Table
いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
+ `ききき` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `ううう`;
Table Create Table
ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
+ `くくく` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `えええ`;
Table Create Table
えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
+ `けけけ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `おおお`;
Table Create Table
おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
+ `こここ` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
+ `丂丂丂` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龗龗龗`;
Table Create Table
龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
+ `丄丄丄` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龞龞龞`;
Table Create Table
龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
+ `丅丅丅` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龡龡龡`;
Table Create Table
龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
+ `丌丌丌` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龢龢龢`;
Table Create Table
龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
+ `丒丒丒` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ujis
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -178,11 +190,23 @@ CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
+Warnings:
+Note 1050 Table 'アアア' already exists
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
+Warnings:
+Note 1050 Table 'イイイ' already exists
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
+Warnings:
+Note 1050 Table 'あああ' already exists
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
+Warnings:
+Note 1050 Table 'いいい' already exists
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
+Warnings:
+Note 1050 Table '龖龖龖' already exists
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
+Warnings:
+Note 1050 Table '龗龗龗' already exists
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=MyISAM;
@@ -240,77 +264,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
+ `カカカ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `イイイ`;
Table Create Table
イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
+ `キキキ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `ウウウ`;
Table Create Table
ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
+ `ククク` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `エエエ`;
Table Create Table
エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
+ `ケケケ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `オオオ`;
Table Create Table
オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
+ `コココ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
+ `かかか` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `いいい`;
Table Create Table
いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
+ `ききき` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `ううう`;
Table Create Table
ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
+ `くくく` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `えええ`;
Table Create Table
えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
+ `けけけ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `おおお`;
Table Create Table
おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
+ `こここ` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
+ `丂丂丂` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龗龗龗`;
Table Create Table
龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
+ `丄丄丄` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龞龞龞`;
Table Create Table
龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
+ `丅丅丅` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龡龡龡`;
Table Create Table
龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
+ `丌丌丌` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龢龢龢`;
Table Create Table
龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
+ `丒丒丒` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ujis
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
@@ -327,27 +351,39 @@ DROP TABLE `龗龗龗`;
DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
+CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+Warnings:
+Note 1050 Table 'アアア' already exists
+CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+Warnings:
+Note 1050 Table 'イイイ' already exists
+CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+Warnings:
+Note 1050 Table 'あああ' already exists
+CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+Warnings:
+Note 1050 Table 'いいい' already exists
+CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+Warnings:
+Note 1050 Table '龖龖龖' already exists
+CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+Warnings:
+Note 1050 Table '龗龗龗' already exists
+CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
DESC `アアア`;
Field Type Null Key Default Extra
カカカ char(1) YES NULL
@@ -396,234 +432,78 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `アアア`;
Table Create Table
アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `カカカ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `イイイ`;
Table Create Table
イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `キキキ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `ウウウ`;
Table Create Table
ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `ククク` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `エエエ`;
Table Create Table
エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `ケケケ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `オオオ`;
Table Create Table
オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `コココ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `あああ`;
Table Create Table
あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `かかか` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `いいい`;
Table Create Table
いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `ききき` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `ううう`;
Table Create Table
ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `くくく` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `えええ`;
Table Create Table
えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `けけけ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `おおお`;
Table Create Table
おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `こここ` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龖龖龖`;
Table Create Table
龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `丂丂丂` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龗龗龗`;
Table Create Table
龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `丄丄丄` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龞龞龞`;
Table Create Table
龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `丅丅丅` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龡龡龡`;
Table Create Table
龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+ `丌丌丌` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `龢龢龢`;
Table Create Table
龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=ujis
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `ウウウ`;
-DROP TABLE `エエエ`;
-DROP TABLE `オオオ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `ううう`;
-DROP TABLE `えええ`;
-DROP TABLE `おおお`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
-DROP TABLE `龞龞龞`;
-DROP TABLE `龡龡龡`;
-DROP TABLE `龢龢龢`;
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-DESC `アアア`;
-Field Type Null Key Default Extra
-カカカ char(1) YES NULL
-DESC `イイイ`;
-Field Type Null Key Default Extra
-キキキ char(1) YES NULL
-DESC `ウウウ`;
-Field Type Null Key Default Extra
-ククク char(1) YES NULL
-DESC `エエエ`;
-Field Type Null Key Default Extra
-ケケケ char(1) YES NULL
-DESC `オオオ`;
-Field Type Null Key Default Extra
-コココ char(1) YES NULL
-DESC `あああ`;
-Field Type Null Key Default Extra
-かかか char(1) YES NULL
-DESC `いいい`;
-Field Type Null Key Default Extra
-ききき char(1) YES NULL
-DESC `ううう`;
-Field Type Null Key Default Extra
-くくく char(1) YES NULL
-DESC `えええ`;
-Field Type Null Key Default Extra
-けけけ char(1) YES NULL
-DESC `おおお`;
-Field Type Null Key Default Extra
-こここ char(1) YES NULL
-DESC `龖龖龖`;
-Field Type Null Key Default Extra
-丂丂丂 char(1) YES NULL
-DESC `龗龗龗`;
-Field Type Null Key Default Extra
-丄丄丄 char(1) YES NULL
-DESC `龞龞龞`;
-Field Type Null Key Default Extra
-丅丅丅 char(1) YES NULL
-DESC `龡龡龡`;
-Field Type Null Key Default Extra
-丌丌丌 char(1) YES NULL
-DESC `龢龢龢`;
-Field Type Null Key Default Extra
-丒丒丒 char(1) YES NULL
-SHOW CREATE TABLE `アアア`;
-Table Create Table
-アアア CREATE TABLE `アアア` (
- `カカカ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `イイイ`;
-Table Create Table
-イイイ CREATE TABLE `イイイ` (
- `キキキ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `ウウウ`;
-Table Create Table
-ウウウ CREATE TABLE `ウウウ` (
- `ククク` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `エエエ`;
-Table Create Table
-エエエ CREATE TEMPORARY TABLE `エエエ` (
- `ケケケ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `オオオ`;
-Table Create Table
-オオオ CREATE TEMPORARY TABLE `オオオ` (
- `コココ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `あああ`;
-Table Create Table
-あああ CREATE TABLE `あああ` (
- `かかか` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `いいい`;
-Table Create Table
-いいい CREATE TABLE `いいい` (
- `ききき` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `ううう`;
-Table Create Table
-ううう CREATE TABLE `ううう` (
- `くくく` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `えええ`;
-Table Create Table
-えええ CREATE TEMPORARY TABLE `えええ` (
- `けけけ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `おおお`;
-Table Create Table
-おおお CREATE TEMPORARY TABLE `おおお` (
- `こここ` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `龖龖龖`;
-Table Create Table
-龖龖龖 CREATE TABLE `龖龖龖` (
- `丂丂丂` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `龗龗龗`;
-Table Create Table
-龗龗龗 CREATE TABLE `龗龗龗` (
- `丄丄丄` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `龞龞龞`;
-Table Create Table
-龞龞龞 CREATE TABLE `龞龞龞` (
- `丅丅丅` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `龡龡龡`;
-Table Create Table
-龡龡龡 CREATE TEMPORARY TABLE `龡龡龡` (
- `丌丌丌` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `龢龢龢`;
-Table Create Table
-龢龢龢 CREATE TEMPORARY TABLE `龢龢龢` (
- `丒丒丒` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
+ `丒丒丒` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `ウウウ`;
diff --git a/mysql-test/suite/jp/r/jp_create_tbl_utf8.result b/mysql-test/suite/jp/r/jp_create_tbl_utf8.result
index d4873406c46..5dc64d2df5c 100644
--- a/mysql-test/suite/jp/r/jp_create_tbl_utf8.result
+++ b/mysql-test/suite/jp/r/jp_create_tbl_utf8.result
@@ -22,11 +22,23 @@ CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=INNO
CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
+Warnings:
+Note 1050 Table '鐔縁襲鐔' already exists
CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
+Warnings:
+Note 1050 Table '鐔駕讐鐔' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
+Warnings:
+Note 1050 Table '蘊蘊蘊' already exists
CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
+Warnings:
+Note 1050 Table '蘊蘊蘊' already exists
CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
@@ -84,77 +96,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋鐔` char(1) default NULL
+ `鐔駈酋鐔` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔駕讐鐔`;
Table Create Table
鐔駕讐鐔 CREATE TABLE `鐔駕讐鐔` (
- `鐔件酬鐔` char(1) default NULL
+ `鐔件酬鐔` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔鰹蹴鐔`;
Table Create Table
鐔鰹蹴鐔 CREATE TABLE `鐔鰹蹴鐔` (
- `鐔醐集鐔` char(1) default NULL
+ `鐔醐集鐔` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔器輯鐔`;
Table Create Table
鐔器輯鐔 CREATE TEMPORARY TABLE `鐔器輯鐔` (
- `鐔刻醜鐔` char(1) default NULL
+ `鐔刻醜鐔` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔居週鐔`;
Table Create Table
鐔居週鐔 CREATE TEMPORARY TABLE `鐔居週鐔` (
- `鐔削什鐔` char(1) default NULL
+ `鐔削什鐔` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊♂勝蘊`;
Table Create Table
蘊♂勝蘊 CREATE TEMPORARY TABLE `蘊♂勝蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊∫匠蘊`;
Table Create Table
蘊∫匠蘊 CREATE TEMPORARY TABLE `蘊∫匠蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
DROP TABLE `鐔縁襲鐔`;
DROP TABLE `鐔駕讐鐔`;
@@ -178,11 +190,23 @@ CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MyIS
CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
+Warnings:
+Note 1050 Table '鐔縁襲鐔' already exists
CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
+Warnings:
+Note 1050 Table '鐔駕讐鐔' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
+Warnings:
+Note 1050 Table '' already exists
CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
+Warnings:
+Note 1050 Table '蘊蘊蘊' already exists
CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
+Warnings:
+Note 1050 Table '蘊蘊蘊' already exists
CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
@@ -240,77 +264,77 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋鐔` char(1) default NULL
+ `鐔駈酋鐔` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔駕讐鐔`;
Table Create Table
鐔駕讐鐔 CREATE TABLE `鐔駕讐鐔` (
- `鐔件酬鐔` char(1) default NULL
+ `鐔件酬鐔` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔鰹蹴鐔`;
Table Create Table
鐔鰹蹴鐔 CREATE TABLE `鐔鰹蹴鐔` (
- `鐔醐集鐔` char(1) default NULL
+ `鐔醐集鐔` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔器輯鐔`;
Table Create Table
鐔器輯鐔 CREATE TEMPORARY TABLE `鐔器輯鐔` (
- `鐔刻醜鐔` char(1) default NULL
+ `鐔刻醜鐔` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔居週鐔`;
Table Create Table
鐔居週鐔 CREATE TEMPORARY TABLE `鐔居週鐔` (
- `鐔削什鐔` char(1) default NULL
+ `鐔削什鐔` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
+ `` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊♂勝蘊`;
Table Create Table
蘊♂勝蘊 CREATE TEMPORARY TABLE `蘊♂勝蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊∫匠蘊`;
Table Create Table
蘊∫匠蘊 CREATE TEMPORARY TABLE `蘊∫匠蘊` (
- `筝筝筝` char(1) default NULL
+ `筝筝筝` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
DROP TABLE `鐔縁襲鐔`;
DROP TABLE `鐔駕讐鐔`;
@@ -327,27 +351,39 @@ DROP TABLE `蘊蘊蘊`;
DROP TABLE `蘊蘊蘊`;
DROP TABLE `蘊♂勝蘊`;
DROP TABLE `蘊∫匠蘊`;
-CREATE TABLE `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `鐔器輯鐔`(`鐔刻醜鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `鐔居週鐔`(`鐔削什鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `蘊♂勝蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `蘊∫匠蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
+CREATE TABLE `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+Warnings:
+Note 1050 Table '鐔縁襲鐔' already exists
+CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+Warnings:
+Note 1050 Table '鐔駕讐鐔' already exists
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+Warnings:
+Note 1050 Table '' already exists
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+Warnings:
+Note 1050 Table '' already exists
+CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+Warnings:
+Note 1050 Table '蘊蘊蘊' already exists
+CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+Warnings:
+Note 1050 Table '蘊蘊蘊' already exists
+CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `鐔器輯鐔`(`鐔刻醜鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `鐔居週鐔`(`鐔削什鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `蘊♂勝蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `蘊∫匠蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
DESC `鐔縁襲鐔`;
Field Type Null Key Default Extra
鐔駈酋鐔 char(1) YES NULL
@@ -396,234 +432,78 @@ Field Type Null Key Default Extra
SHOW CREATE TABLE `鐔縁襲鐔`;
Table Create Table
鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋鐔` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `鐔駈酋鐔` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔駕讐鐔`;
Table Create Table
鐔駕讐鐔 CREATE TABLE `鐔駕讐鐔` (
- `鐔件酬鐔` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `鐔件酬鐔` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔鰹蹴鐔`;
Table Create Table
鐔鰹蹴鐔 CREATE TABLE `鐔鰹蹴鐔` (
- `鐔醐集鐔` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `鐔醐集鐔` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔器輯鐔`;
Table Create Table
鐔器輯鐔 CREATE TEMPORARY TABLE `鐔器輯鐔` (
- `鐔刻醜鐔` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `鐔刻醜鐔` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐔居週鐔`;
Table Create Table
鐔居週鐔 CREATE TEMPORARY TABLE `鐔居週鐔` (
- `鐔削什鐔` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `鐔削什鐔` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE ``;
Table Create Table
CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `筝筝筝` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `筝筝筝` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊蘊蘊`;
Table Create Table
蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `筝筝筝` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊♂勝蘊`;
Table Create Table
蘊♂勝蘊 CREATE TEMPORARY TABLE `蘊♂勝蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+ `筝筝筝` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `蘊∫匠蘊`;
Table Create Table
蘊∫匠蘊 CREATE TEMPORARY TABLE `蘊∫匠蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=HEAP DEFAULT CHARSET=utf8
-DROP TABLE `鐔縁襲鐔`;
-DROP TABLE `鐔駕讐鐔`;
-DROP TABLE `鐔鰹蹴鐔`;
-DROP TABLE `鐔器輯鐔`;
-DROP TABLE `鐔居週鐔`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊♂勝蘊`;
-DROP TABLE `蘊∫匠蘊`;
-CREATE TABLE `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `鐔器輯鐔`(`鐔刻醜鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `鐔居週鐔`(`鐔削什鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `蘊♂勝蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `蘊∫匠蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-DESC `鐔縁襲鐔`;
-Field Type Null Key Default Extra
-鐔駈酋鐔 char(1) YES NULL
-DESC `鐔駕讐鐔`;
-Field Type Null Key Default Extra
-鐔件酬鐔 char(1) YES NULL
-DESC `鐔鰹蹴鐔`;
-Field Type Null Key Default Extra
-鐔醐集鐔 char(1) YES NULL
-DESC `鐔器輯鐔`;
-Field Type Null Key Default Extra
-鐔刻醜鐔 char(1) YES NULL
-DESC `鐔居週鐔`;
-Field Type Null Key Default Extra
-鐔削什鐔 char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC ``;
-Field Type Null Key Default Extra
- char(1) YES NULL
-DESC `蘊蘊蘊`;
-Field Type Null Key Default Extra
-筝筝筝 char(1) YES NULL
-DESC `蘊蘊蘊`;
-Field Type Null Key Default Extra
-筝筝筝 char(1) YES NULL
-DESC `蘊蘊蘊`;
-Field Type Null Key Default Extra
-筝筝筝 char(1) YES NULL
-DESC `蘊♂勝蘊`;
-Field Type Null Key Default Extra
-筝筝筝 char(1) YES NULL
-DESC `蘊∫匠蘊`;
-Field Type Null Key Default Extra
-筝筝筝 char(1) YES NULL
-SHOW CREATE TABLE `鐔縁襲鐔`;
-Table Create Table
-鐔縁襲鐔 CREATE TABLE `鐔縁襲鐔` (
- `鐔駈酋鐔` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐔駕讐鐔`;
-Table Create Table
-鐔駕讐鐔 CREATE TABLE `鐔駕讐鐔` (
- `鐔件酬鐔` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐔鰹蹴鐔`;
-Table Create Table
-鐔鰹蹴鐔 CREATE TABLE `鐔鰹蹴鐔` (
- `鐔醐集鐔` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐔器輯鐔`;
-Table Create Table
-鐔器輯鐔 CREATE TEMPORARY TABLE `鐔器輯鐔` (
- `鐔刻醜鐔` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐔居週鐔`;
-Table Create Table
-鐔居週鐔 CREATE TEMPORARY TABLE `鐔居週鐔` (
- `鐔削什鐔` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE ``;
-Table Create Table
- CREATE TEMPORARY TABLE `` (
- `` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `蘊蘊蘊`;
-Table Create Table
-蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `蘊蘊蘊`;
-Table Create Table
-蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `蘊蘊蘊`;
-Table Create Table
-蘊蘊蘊 CREATE TABLE `蘊蘊蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `蘊♂勝蘊`;
-Table Create Table
-蘊♂勝蘊 CREATE TEMPORARY TABLE `蘊♂勝蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `蘊∫匠蘊`;
-Table Create Table
-蘊∫匠蘊 CREATE TEMPORARY TABLE `蘊∫匠蘊` (
- `筝筝筝` char(1) default NULL
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
+ `筝筝筝` char(1) DEFAULT NULL
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
DROP TABLE `鐔縁襲鐔`;
DROP TABLE `鐔駕讐鐔`;
DROP TABLE `鐔鰹蹴鐔`;
diff --git a/mysql-test/suite/jp/r/jp_enum_sjis.result b/mysql-test/suite/jp/r/jp_enum_sjis.result
index 1e46dbffbb1..cc68c1536a0 100644
--- a/mysql-test/suite/jp/r/jp_enum_sjis.result
+++ b/mysql-test/suite/jp/r/jp_enum_sjis.result
@@ -7,9 +7,7 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
+drop table if exists t1;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +16,9 @@ CREATE TABLE `sR` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET
CREATE TABLE `sS` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES (''),(''),('');
INSERT INTO `sQ` VALUES (''),(''),('');
INSERT INTO `sR` VALUES ('\'),('\'),('\');
@@ -33,9 +28,6 @@ INSERT INTO `sU` VALUES ('\'),('\'),('\');
INSERT INTO `sV` VALUES (''),(''),('');
INSERT INTO `sW` VALUES (''),(''),('');
INSERT INTO `sX` VALUES ('\'),('\'),('\');
-INSERT INTO `sPO` VALUES (''),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),('');
-INSERT INTO `sPQ` VALUES ('\'),('\'),('\');
SELECT * FROM `sP`;
bP
@@ -81,93 +73,60 @@ SELECT * FROM `sX`;
\
\
\
-SELECT * FROM `sPO`;
-bP
-
-
-
-SELECT * FROM `sPP`;
-bP
-
-
-
-SELECT * FROM `sPQ`;
-bP
-\
-\
-\
SHOW CREATE TABLE `sP`;
Table Create Table
sP CREATE TABLE `sP` (
- `bP` enum('','','') default NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sQ`;
Table Create Table
sQ CREATE TABLE `sQ` (
- `bP` enum('','','') default NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sR`;
Table Create Table
sR CREATE TABLE `sR` (
- `bP` enum('\','\','\') default NULL,
+ `bP` enum('\','\','\') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sS`;
Table Create Table
sS CREATE TABLE `sS` (
- `bP` enum('','','') default NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sT`;
Table Create Table
sT CREATE TABLE `sT` (
- `bP` enum('','','') default NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sU`;
Table Create Table
sU CREATE TABLE `sU` (
- `bP` enum('\','\','\') default NULL,
+ `bP` enum('\','\','\') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sV`;
Table Create Table
sV CREATE TABLE `sV` (
- `bP` enum('','','') default NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sW`;
Table Create Table
sW CREATE TABLE `sW` (
- `bP` enum('','','') default NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sX`;
Table Create Table
sX CREATE TABLE `sX` (
- `bP` enum('\','\','\') default NULL,
- KEY `bP` (`bP`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `sPO`;
-Table Create Table
-sPO CREATE TABLE `sPO` (
- `bP` enum('','','') default NULL,
- KEY `bP` (`bP`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `sPP`;
-Table Create Table
-sPP CREATE TABLE `sPP` (
- `bP` enum('','','') default NULL,
- KEY `bP` (`bP`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `sPQ`;
-Table Create Table
-sPQ CREATE TABLE `sPQ` (
- `bP` enum('\','\','\') default NULL,
+ `bP` enum('\','\','\') DEFAULT NULL,
KEY `bP` (`bP`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
DESC `sP`;
Field Type Null Key Default Extra
bP enum('','','') YES MUL NULL
@@ -195,15 +154,6 @@ Field Type Null Key Default Extra
DESC `sX`;
Field Type Null Key Default Extra
bP enum('\','\','\') YES MUL NULL
-DESC `sPO`;
-Field Type Null Key Default Extra
-bP enum('','','') YES MUL NULL
-DESC `sPP`;
-Field Type Null Key Default Extra
-bP enum('','','') YES MUL NULL
-DESC `sPQ`;
-Field Type Null Key Default Extra
-bP enum('\','\','\') YES MUL NULL
ALTER TABLE `sP` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sQ` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sR` ADD `bQ` CHAR(1) NOT NULL FIRST;
@@ -213,140 +163,110 @@ ALTER TABLE `sU` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sV` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sW` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sX` ADD `bQ` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `sPO` ADD `bQ` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `sPP` ADD `bQ` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `sPQ` ADD `bQ` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE `sP`;
Table Create Table
sP CREATE TABLE `sP` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sQ`;
Table Create Table
sQ CREATE TABLE `sQ` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sR`;
Table Create Table
sR CREATE TABLE `sR` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('\','\','\') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('\','\','\') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sS`;
Table Create Table
sS CREATE TABLE `sS` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sT`;
Table Create Table
sT CREATE TABLE `sT` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sU`;
Table Create Table
sU CREATE TABLE `sU` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('\','\','\') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('\','\','\') DEFAULT NULL,
KEY `bP` (`bP`)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sV`;
Table Create Table
sV CREATE TABLE `sV` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sW`;
Table Create Table
sW CREATE TABLE `sW` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('','','') DEFAULT NULL,
KEY `bP` (`bP`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE `sX`;
Table Create Table
sX CREATE TABLE `sX` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('\','\','\') default NULL,
- KEY `bP` (`bP`)
-) ENGINE=HEAP DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `sPO`;
-Table Create Table
-sPO CREATE TABLE `sPO` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
- KEY `bP` (`bP`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `sPP`;
-Table Create Table
-sPP CREATE TABLE `sPP` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('','','') default NULL,
- KEY `bP` (`bP`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
-SHOW CREATE TABLE `sPQ`;
-Table Create Table
-sPQ CREATE TABLE `sPQ` (
- `bQ` char(1) NOT NULL default '',
- `bP` enum('\','\','\') default NULL,
+ `bQ` char(1) NOT NULL,
+ `bP` enum('\','\','\') DEFAULT NULL,
KEY `bP` (`bP`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
+) ENGINE=MEMORY DEFAULT CHARSET=sjis
+CREATE TABLE t1(c1 enum('S','s')) default character set = sjis;
+INSERT INTO t1 VALUES('S'),('s');
+SELECT * FROM t1 WHERE c1 LIKE 'S';
+c1
+S
+DROP TABLE t1;
DESC `sP`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('','','') YES MUL NULL
DESC `sQ`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('','','') YES MUL NULL
DESC `sR`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('\','\','\') YES MUL NULL
DESC `sS`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('','','') YES MUL NULL
DESC `sT`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('','','') YES MUL NULL
DESC `sU`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('\','\','\') YES MUL NULL
DESC `sV`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('','','') YES MUL NULL
DESC `sW`;
Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('','','') YES MUL NULL
DESC `sX`;
Field Type Null Key Default Extra
-bQ char(1)
-bP enum('\','\','\') YES MUL NULL
-DESC `sPO`;
-Field Type Null Key Default Extra
-bQ char(1)
-bP enum('','','') YES MUL NULL
-DESC `sPP`;
-Field Type Null Key Default Extra
-bQ char(1)
-bP enum('','','') YES MUL NULL
-DESC `sPQ`;
-Field Type Null Key Default Extra
-bQ char(1)
+bQ char(1) NO NULL
bP enum('\','\','\') YES MUL NULL
DROP TABLE `sP`;
DROP TABLE `sQ`;
@@ -357,6 +277,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_enum_ucs2.result b/mysql-test/suite/jp/r/jp_enum_ucs2.result
index a84cace35fe..cb0726cd623 100644
--- a/mysql-test/suite/jp/r/jp_enum_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_enum_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHAR
CREATE TABLE `T4` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `T2` VALUES ('あ'),('い'),('う');
INSERT INTO `T3` VALUES ('龔'),('龖'),('龗');
@@ -34,9 +28,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 ('龔'),('龖'),('龗');
SELECT * FROM `T1`;
C1
@@ -82,93 +73,60 @@ SELECT * FROM `T9`;
-SELECT * FROM `T10`;
-C1
-ア
-イ
-ウ
-SELECT * FROM `T11`;
-C1
-あ
-い
-う
-SELECT * FROM `T12`;
-C1
-龔
-龖
-龗
SHOW CREATE TABLE `T1`;
Table Create Table
T1 CREATE TABLE `T1` (
- `C1` enum('ア','イ','ウ') default NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T2`;
Table Create Table
T2 CREATE TABLE `T2` (
- `C1` enum('あ','い','う') default NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T3`;
Table Create Table
T3 CREATE TABLE `T3` (
- `C1` enum('龔','龖','龗') default NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T4`;
Table Create Table
T4 CREATE TABLE `T4` (
- `C1` enum('ア','イ','ウ') default NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T5`;
Table Create Table
T5 CREATE TABLE `T5` (
- `C1` enum('あ','い','う') default NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T6`;
Table Create Table
T6 CREATE TABLE `T6` (
- `C1` enum('龔','龖','龗') default NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T7`;
Table Create Table
T7 CREATE TABLE `T7` (
- `C1` enum('ア','イ','ウ') default NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T8`;
Table Create Table
T8 CREATE TABLE `T8` (
- `C1` enum('あ','い','う') default NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T9`;
Table Create Table
T9 CREATE TABLE `T9` (
- `C1` enum('龔','龖','龗') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `T10`;
-Table Create Table
-T10 CREATE TABLE `T10` (
- `C1` enum('ア','イ','ウ') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `T11`;
-Table Create Table
-T11 CREATE TABLE `T11` (
- `C1` enum('あ','い','う') default NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
-SHOW CREATE TABLE `T12`;
-Table Create Table
-T12 CREATE TABLE `T12` (
- `C1` enum('龔','龖','龗') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
DESC `T1`;
Field Type Null Key Default Extra
C1 enum('ア','イ','ウ') YES MUL NULL
@@ -196,14 +154,113 @@ Field Type Null Key Default Extra
DESC `T9`;
Field Type Null Key Default Extra
C1 enum('龔','龖','龗') YES MUL NULL
-DESC `T10`;
+ALTER TABLE `T1` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T2` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T3` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T4` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T5` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T6` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T7` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T8` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T9` ADD `C2` CHAR(1) NOT NULL FIRST;
+SHOW CREATE TABLE `T1`;
+Table Create Table
+T1 CREATE TABLE `T1` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=InnoDB DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T2`;
+Table Create Table
+T2 CREATE TABLE `T2` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=InnoDB DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T3`;
+Table Create Table
+T3 CREATE TABLE `T3` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=InnoDB DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T4`;
+Table Create Table
+T4 CREATE TABLE `T4` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=MyISAM DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T5`;
+Table Create Table
+T5 CREATE TABLE `T5` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=MyISAM DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T6`;
+Table Create Table
+T6 CREATE TABLE `T6` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=MyISAM DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T7`;
+Table Create Table
+T7 CREATE TABLE `T7` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T8`;
+Table Create Table
+T8 CREATE TABLE `T8` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
+SHOW CREATE TABLE `T9`;
+Table Create Table
+T9 CREATE TABLE `T9` (
+ `C2` char(1) NOT NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
+ KEY `C1` (`C1`)
+) ENGINE=MEMORY DEFAULT CHARSET=ucs2
+DESC `T1`;
Field Type Null Key Default Extra
+C2 char(1) NO NULL
C1 enum('ア','イ','ウ') YES MUL NULL
-DESC `T11`;
+DESC `T2`;
+Field Type Null Key Default Extra
+C2 char(1) NO NULL
+C1 enum('あ','い','う') YES MUL NULL
+DESC `T3`;
+Field Type Null Key Default Extra
+C2 char(1) NO NULL
+C1 enum('龔','龖','龗') YES MUL NULL
+DESC `T4`;
+Field Type Null Key Default Extra
+C2 char(1) NO NULL
+C1 enum('ア','イ','ウ') YES MUL NULL
+DESC `T5`;
Field Type Null Key Default Extra
+C2 char(1) NO NULL
C1 enum('あ','い','う') YES MUL NULL
-DESC `T12`;
+DESC `T6`;
+Field Type Null Key Default Extra
+C2 char(1) NO NULL
+C1 enum('龔','龖','龗') YES MUL NULL
+DESC `T7`;
+Field Type Null Key Default Extra
+C2 char(1) NO NULL
+C1 enum('ア','イ','ウ') YES MUL NULL
+DESC `T8`;
+Field Type Null Key Default Extra
+C2 char(1) NO NULL
+C1 enum('あ','い','う') YES MUL NULL
+DESC `T9`;
Field Type Null Key Default Extra
+C2 char(1) NO NULL
C1 enum('龔','龖','龗') YES MUL NULL
DROP TABLE `T1`;
DROP TABLE `T2`;
@@ -214,6 +271,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_enum_ujis.result b/mysql-test/suite/jp/r/jp_enum_ujis.result
index dbc850b1368..217c7e0e655 100644
--- a/mysql-test/suite/jp/r/jp_enum_ujis.result
+++ b/mysql-test/suite/jp/r/jp_enum_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHAR
CREATE TABLE `T4` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `T2` VALUES ('あ'),('い'),('う');
INSERT INTO `T3` VALUES ('龔'),('龖'),('龗');
@@ -33,9 +27,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 ('龔'),('龖'),('龗');
SELECT * FROM `T1`;
C1
@@ -81,93 +72,60 @@ SELECT * FROM `T9`;
-SELECT * FROM `T10`;
-C1
-ア
-イ
-ウ
-SELECT * FROM `T11`;
-C1
-あ
-い
-う
-SELECT * FROM `T12`;
-C1
-龔
-龖
-龗
SHOW CREATE TABLE `T1`;
Table Create Table
T1 CREATE TABLE `T1` (
- `C1` enum('ア','イ','ウ') default NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T2`;
Table Create Table
T2 CREATE TABLE `T2` (
- `C1` enum('あ','い','う') default NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T3`;
Table Create Table
T3 CREATE TABLE `T3` (
- `C1` enum('龔','龖','龗') default NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T4`;
Table Create Table
T4 CREATE TABLE `T4` (
- `C1` enum('ア','イ','ウ') default NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T5`;
Table Create Table
T5 CREATE TABLE `T5` (
- `C1` enum('あ','い','う') default NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T6`;
Table Create Table
T6 CREATE TABLE `T6` (
- `C1` enum('龔','龖','龗') default NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T7`;
Table Create Table
T7 CREATE TABLE `T7` (
- `C1` enum('ア','イ','ウ') default NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T8`;
Table Create Table
T8 CREATE TABLE `T8` (
- `C1` enum('あ','い','う') default NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T9`;
Table Create Table
T9 CREATE TABLE `T9` (
- `C1` enum('龔','龖','龗') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `T10`;
-Table Create Table
-T10 CREATE TABLE `T10` (
- `C1` enum('ア','イ','ウ') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `T11`;
-Table Create Table
-T11 CREATE TABLE `T11` (
- `C1` enum('あ','い','う') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `T12`;
-Table Create Table
-T12 CREATE TABLE `T12` (
- `C1` enum('龔','龖','龗') default NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
DESC `T1`;
Field Type Null Key Default Extra
C1 enum('ア','イ','ウ') YES MUL NULL
@@ -195,15 +153,6 @@ Field Type Null Key Default Extra
DESC `T9`;
Field Type Null Key Default Extra
C1 enum('龔','龖','龗') YES MUL NULL
-DESC `T10`;
-Field Type Null Key Default Extra
-C1 enum('ア','イ','ウ') YES MUL NULL
-DESC `T11`;
-Field Type Null Key Default Extra
-C1 enum('あ','い','う') YES MUL NULL
-DESC `T12`;
-Field Type Null Key Default Extra
-C1 enum('龔','龖','龗') YES MUL NULL
ALTER TABLE `T1` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T2` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T3` ADD `C2` CHAR(1) NOT NULL FIRST;
@@ -213,140 +162,104 @@ ALTER TABLE `T6` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T7` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T8` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T9` ADD `C2` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `T10` ADD `C2` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `T11` ADD `C2` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `T12` ADD `C2` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE `T1`;
Table Create Table
T1 CREATE TABLE `T1` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('ア','イ','ウ') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T2`;
Table Create Table
T2 CREATE TABLE `T2` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('あ','い','う') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T3`;
Table Create Table
T3 CREATE TABLE `T3` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('龔','龖','龗') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T4`;
Table Create Table
T4 CREATE TABLE `T4` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('ア','イ','ウ') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T5`;
Table Create Table
T5 CREATE TABLE `T5` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('あ','い','う') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T6`;
Table Create Table
T6 CREATE TABLE `T6` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('龔','龖','龗') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T7`;
Table Create Table
T7 CREATE TABLE `T7` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('ア','イ','ウ') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('ア','イ','ウ') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T8`;
Table Create Table
T8 CREATE TABLE `T8` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('あ','い','う') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('あ','い','う') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
SHOW CREATE TABLE `T9`;
Table Create Table
T9 CREATE TABLE `T9` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('龔','龖','龗') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=HEAP DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `T10`;
-Table Create Table
-T10 CREATE TABLE `T10` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('ア','イ','ウ') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `T11`;
-Table Create Table
-T11 CREATE TABLE `T11` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('あ','い','う') default NULL,
- KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
-SHOW CREATE TABLE `T12`;
-Table Create Table
-T12 CREATE TABLE `T12` (
- `C2` char(1) NOT NULL default '',
- `C1` enum('龔','龖','龗') default NULL,
+ `C2` char(1) NOT NULL,
+ `C1` enum('龔','龖','龗') DEFAULT NULL,
KEY `C1` (`C1`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=ujis
+) ENGINE=MEMORY DEFAULT CHARSET=ujis
DESC `T1`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('ア','イ','ウ') YES MUL NULL
DESC `T2`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('あ','い','う') YES MUL NULL
DESC `T3`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('龔','龖','龗') YES MUL NULL
DESC `T4`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('ア','イ','ウ') YES MUL NULL
DESC `T5`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('あ','い','う') YES MUL NULL
DESC `T6`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('龔','龖','龗') YES MUL NULL
DESC `T7`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('ア','イ','ウ') YES MUL NULL
DESC `T8`;
Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('あ','い','う') YES MUL NULL
DESC `T9`;
Field Type Null Key Default Extra
-C2 char(1)
-C1 enum('龔','龖','龗') YES MUL NULL
-DESC `T10`;
-Field Type Null Key Default Extra
-C2 char(1)
-C1 enum('ア','イ','ウ') YES MUL NULL
-DESC `T11`;
-Field Type Null Key Default Extra
-C2 char(1)
-C1 enum('あ','い','う') YES MUL NULL
-DESC `T12`;
-Field Type Null Key Default Extra
-C2 char(1)
+C2 char(1) NO NULL
C1 enum('龔','龖','龗') YES MUL NULL
DROP TABLE `T1`;
DROP TABLE `T2`;
@@ -357,6 +270,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_enum_utf8.result b/mysql-test/suite/jp/r/jp_enum_utf8.result
index f2515871ece..861aef0462d 100644
--- a/mysql-test/suite/jp/r/jp_enum_utf8.result
+++ b/mysql-test/suite/jp/r/jp_enum_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAUL
CREATE TABLE `鐚器` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔'),('鐔'),('鐔');
INSERT INTO `鐚器` VALUES (''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊'),('蘊'),('蘊');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊'),('蘊'),('蘊');
INSERT INTO `鐚器` VALUES ('鐔'),('鐔'),('鐔');
INSERT INTO `鐚器` VALUES (''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊'),('蘊'),('蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔'),('鐔'),('鐔');
-INSERT INTO `鐚器鐚` VALUES (''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊'),('蘊'),('蘊');
SELECT * FROM `鐚器`;
鐚o
@@ -81,93 +72,60 @@ SELECT * FROM `鐚器`;
-SELECT * FROM `鐚器鐚`;
-鐚o
-鐔
-鐔
-鐔
-SELECT * FROM `鐚器鐚`;
-鐚o
-
-
-
-SELECT * FROM `鐚器鐚`;
-鐚o
-蘊
-蘊
-蘊
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('鐔','鐔','鐔') default NULL,
+ `鐚o` enum('鐔','鐔','鐔') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('','','') default NULL,
+ `鐚o` enum('','','') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('蘊','蘊','蘊') default NULL,
+ `鐚o` enum('蘊','蘊','蘊') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('鐔','鐔','鐔') default NULL,
+ `鐚o` enum('鐔','鐔','鐔') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('','','') default NULL,
+ `鐚o` enum('','','') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('蘊','蘊','蘊') default NULL,
+ `鐚o` enum('蘊','蘊','蘊') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('鐔','鐔','鐔') default NULL,
+ `鐚o` enum('鐔','鐔','鐔') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('','','') default NULL,
+ `鐚o` enum('','','') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` enum('蘊','蘊','蘊') default NULL,
- KEY `鐚o` (`鐚o`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐚器鐚`;
-Table Create Table
-鐚器鐚 CREATE TABLE `鐚器鐚` (
- `鐚o` enum('鐔','鐔','鐔') default NULL,
- KEY `鐚o` (`鐚o`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐚器鐚`;
-Table Create Table
-鐚器鐚 CREATE TABLE `鐚器鐚` (
- `鐚o` enum('','','') default NULL,
- KEY `鐚o` (`鐚o`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐚器鐚`;
-Table Create Table
-鐚器鐚 CREATE TABLE `鐚器鐚` (
- `鐚o` enum('蘊','蘊','蘊') default NULL,
+ `鐚o` enum('蘊','蘊','蘊') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
DESC `鐚器`;
Field Type Null Key Default Extra
鐚o enum('鐔','鐔','鐔') YES MUL NULL
@@ -195,15 +153,6 @@ Field Type Null Key Default Extra
DESC `鐚器`;
Field Type Null Key Default Extra
鐚o enum('蘊','蘊','蘊') YES MUL NULL
-DESC `鐚器鐚`;
-Field Type Null Key Default Extra
-鐚o enum('鐔','鐔','鐔') YES MUL NULL
-DESC `鐚器鐚`;
-Field Type Null Key Default Extra
-鐚o enum('','','') YES MUL NULL
-DESC `鐚器鐚`;
-Field Type Null Key Default Extra
-鐚o enum('蘊','蘊','蘊') YES MUL NULL
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
@@ -213,140 +162,104 @@ ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `鐚器鐚` ADD `鐚o` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `鐚器鐚` ADD `鐚o` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `鐚器鐚` ADD `鐚o` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('鐔','鐔','鐔') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('鐔','鐔','鐔') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('','','') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('','','') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('蘊','蘊','蘊') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('蘊','蘊','蘊') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('鐔','鐔','鐔') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('鐔','鐔','鐔') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('','','') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('','','') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('蘊','蘊','蘊') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('蘊','蘊','蘊') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('鐔','鐔','鐔') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('鐔','鐔','鐔') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('','','') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('','','') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
SHOW CREATE TABLE `鐚器`;
Table Create Table
鐚器 CREATE TABLE `鐚器` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('蘊','蘊','蘊') default NULL,
- KEY `鐚o` (`鐚o`)
-) ENGINE=HEAP DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐚器鐚`;
-Table Create Table
-鐚器鐚 CREATE TABLE `鐚器鐚` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('鐔','鐔','鐔') default NULL,
- KEY `鐚o` (`鐚o`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐚器鐚`;
-Table Create Table
-鐚器鐚 CREATE TABLE `鐚器鐚` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('','','') default NULL,
- KEY `鐚o` (`鐚o`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
-SHOW CREATE TABLE `鐚器鐚`;
-Table Create Table
-鐚器鐚 CREATE TABLE `鐚器鐚` (
- `鐚o` char(1) NOT NULL default '',
- `鐚o` enum('蘊','蘊','蘊') default NULL,
+ `鐚o` char(1) NOT NULL,
+ `鐚o` enum('蘊','蘊','蘊') DEFAULT NULL,
KEY `鐚o` (`鐚o`)
-) ENGINE=BerkeleyDB DEFAULT CHARSET=utf8
+) ENGINE=MEMORY DEFAULT CHARSET=utf8
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('鐔','鐔','鐔') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('','','') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('蘊','蘊','蘊') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('鐔','鐔','鐔') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('','','') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('蘊','蘊','蘊') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('鐔','鐔','鐔') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('','','') YES MUL NULL
DESC `鐚器`;
Field Type Null Key Default Extra
-鐚o char(1)
-鐚o enum('蘊','蘊','蘊') YES MUL NULL
-DESC `鐚器鐚`;
-Field Type Null Key Default Extra
-鐚o char(1)
-鐚o enum('鐔','鐔','鐔') YES MUL NULL
-DESC `鐚器鐚`;
-Field Type Null Key Default Extra
-鐚o char(1)
-鐚o enum('','','') YES MUL NULL
-DESC `鐚器鐚`;
-Field Type Null Key Default Extra
-鐚o char(1)
+鐚o char(1) NO NULL
鐚o enum('蘊','蘊','蘊') YES MUL NULL
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -357,6 +270,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_insert_sjis.result b/mysql-test/suite/jp/r/jp_insert_sjis.result
index c516986a256..53b1cdc692b 100644
--- a/mysql-test/suite/jp/r/jp_insert_sjis.result
+++ b/mysql-test/suite/jp/r/jp_insert_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
INSERT INTO `sR` VALUES ('\\\\\');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
SELECT INSERT(`bP`,1,1,'') FROM `sP`;
INSERT(`bP`,1,1,'')
恐慨
@@ -711,186 +702,6 @@ INSERT(`bP`,4,2,'\\' )
SELECT INSERT(`bP`,5,1,'\') FROM `sX`;
INSERT(`bP`,5,1,'\')
\\\\\
-SELECT INSERT(`bP`,1,1,'') FROM `sPO`;
-INSERT(`bP`,1,1,'')
-恐慨
-SELECT INSERT(`bP`,1,2,'況') FROM `sPO`;
-INSERT(`bP`,1,2,'況')
-況慨
-SELECT INSERT(`bP`,1,3,'況') FROM `sPO`;
-INSERT(`bP`,1,3,'況')
-況鹸
-SELECT INSERT(`bP`,1,4,'況弦') FROM `sPO`;
-INSERT(`bP`,1,4,'況弦')
-況弦
-SELECT INSERT(`bP`,1,5,'況弦') FROM `sPO`;
-INSERT(`bP`,1,5,'況弦')
-況弦
-SELECT INSERT(`bP`,2,1,'') FROM `sPO`;
-INSERT(`bP`,2,1,'')
-鰻慨
-SELECT INSERT(`bP`,2,2,'係') FROM `sPO`;
-INSERT(`bP`,2,2,'係')
-鰻鹸
-SELECT INSERT(`bP`,2,3,'係') FROM `sPO`;
-INSERT(`bP`,2,3,'係')
-鰻弦
-SELECT INSERT(`bP`,2,4,'係杭') FROM `sPO`;
-INSERT(`bP`,2,4,'係杭')
-鰻弦
-SELECT INSERT(`bP`,3,1,'') FROM `sPO`;
-INSERT(`bP`,3,1,'')
-渦鹸
-SELECT INSERT(`bP`,3,2,'弦') FROM `sPO`;
-INSERT(`bP`,3,2,'弦')
-渦弦
-SELECT INSERT(`bP`,3,3,'弦') FROM `sPO`;
-INSERT(`bP`,3,3,'弦')
-渦弦
-SELECT INSERT(`bP`,4,1,'') FROM `sPO`;
-INSERT(`bP`,4,1,'')
-渦街
-SELECT INSERT(`bP`,4,2,'杭') FROM `sPO`;
-INSERT(`bP`,4,2,'杭')
-渦街
-SELECT INSERT(`bP`,5,1,'') FROM `sPO`;
-INSERT(`bP`,5,1,'')
-渦慨
-SELECT INSERT(`bP`,1,1,'') FROM `sPP`;
-INSERT(`bP`,1,1,'')
-
-SELECT INSERT(`bP`,1,2,'') FROM `sPP`;
-INSERT(`bP`,1,2,'')
-
-SELECT INSERT(`bP`,1,3,'') FROM `sPP`;
-INSERT(`bP`,1,3,'')
-
-SELECT INSERT(`bP`,1,4,'') FROM `sPP`;
-INSERT(`bP`,1,4,'')
-
-SELECT INSERT(`bP`,1,5,'') FROM `sPP`;
-INSERT(`bP`,1,5,'')
-
-SELECT INSERT(`bP`,2,1,'') FROM `sPP`;
-INSERT(`bP`,2,1,'')
-
-SELECT INSERT(`bP`,2,2,'') FROM `sPP`;
-INSERT(`bP`,2,2,'')
-
-SELECT INSERT(`bP`,2,3,'') FROM `sPP`;
-INSERT(`bP`,2,3,'')
-
-SELECT INSERT(`bP`,2,4,'') FROM `sPP`;
-INSERT(`bP`,2,4,'')
-
-SELECT INSERT(`bP`,3,1,'') FROM `sPP`;
-INSERT(`bP`,3,1,'')
-
-SELECT INSERT(`bP`,3,2,'') FROM `sPP`;
-INSERT(`bP`,3,2,'')
-
-SELECT INSERT(`bP`,3,3,'') FROM `sPP`;
-INSERT(`bP`,3,3,'')
-
-SELECT INSERT(`bP`,4,1,'') FROM `sPP`;
-INSERT(`bP`,4,1,'')
-
-SELECT INSERT(`bP`,4,2,'') FROM `sPP`;
-INSERT(`bP`,4,2,'')
-
-SELECT INSERT(`bP`,5,1,'') FROM `sPP`;
-INSERT(`bP`,5,1,'')
-
-SELECT INSERT(`bP`,1,1,'@') FROM `sPP`;
-INSERT(`bP`,1,1,'@')
-@
-SELECT INSERT(`bP`,1,2,'@@') FROM `sPP`;
-INSERT(`bP`,1,2,'@@')
-@@
-SELECT INSERT(`bP`,1,3,'@@@') FROM `sPP`;
-INSERT(`bP`,1,3,'@@@')
-@@@
-SELECT INSERT(`bP`,1,4,'@@@@') FROM `sPP`;
-INSERT(`bP`,1,4,'@@@@')
-@@@@
-SELECT INSERT(`bP`,1,5,'@@@@@') FROM `sPP`;
-INSERT(`bP`,1,5,'@@@@@')
-@@@@@
-SELECT INSERT(`bP`,2,1,'@') FROM `sPP`;
-INSERT(`bP`,2,1,'@')
-@
-SELECT INSERT(`bP`,2,2,'@@') FROM `sPP`;
-INSERT(`bP`,2,2,'@@')
-@@
-SELECT INSERT(`bP`,2,3,'@@@') FROM `sPP`;
-INSERT(`bP`,2,3,'@@@')
-@@@
-SELECT INSERT(`bP`,2,4,'@@@@') FROM `sPP`;
-INSERT(`bP`,2,4,'@@@@')
-@@@@
-SELECT INSERT(`bP`,3,1,'@') FROM `sPP`;
-INSERT(`bP`,3,1,'@')
-@
-SELECT INSERT(`bP`,3,2,'@@') FROM `sPP`;
-INSERT(`bP`,3,2,'@@')
-@@
-SELECT INSERT(`bP`,3,3,'@@@') FROM `sPP`;
-INSERT(`bP`,3,3,'@@@')
-@@@
-SELECT INSERT(`bP`,4,1,'@') FROM `sPP`;
-INSERT(`bP`,4,1,'@')
-@
-SELECT INSERT(`bP`,4,2,'@@') FROM `sPP`;
-INSERT(`bP`,4,2,'@@')
-@@
-SELECT INSERT(`bP`,5,1,'@') FROM `sPP`;
-INSERT(`bP`,5,1,'@')
-@
-SELECT INSERT(`bP`,1,1,'\') FROM `sPQ`;
-INSERT(`bP`,1,1,'\')
-\\\\\
-SELECT INSERT(`bP`,1,2,'\\') FROM `sPQ`;
-INSERT(`bP`,1,2,'\\')
-\\\\\
-SELECT INSERT(`bP`,1,3,'\\\') FROM `sPQ`;
-INSERT(`bP`,1,3,'\\\')
-\\\\\
-SELECT INSERT(`bP`,1,4,'\\\\') FROM `sPQ`;
-INSERT(`bP`,1,4,'\\\\')
-\\\\\
-SELECT INSERT(`bP`,1,5,'\\\\\') FROM `sPQ`;
-INSERT(`bP`,1,5,'\\\\\')
-\\\\\
-SELECT INSERT(`bP`,2,1,'\') FROM `sPQ`;
-INSERT(`bP`,2,1,'\')
-\\\\\
-SELECT INSERT(`bP`,2,2,'\\') FROM `sPQ`;
-INSERT(`bP`,2,2,'\\')
-\\\\\
-SELECT INSERT(`bP`,2,3,'\\\') FROM `sPQ`;
-INSERT(`bP`,2,3,'\\\')
-\\\\\
-SELECT INSERT(`bP`,2,4,'\\\\') FROM `sPQ`;
-INSERT(`bP`,2,4,'\\\\')
-\\\\\
-SELECT INSERT(`bP`,3,1,'\') FROM `sPQ`;
-INSERT(`bP`,3,1,'\')
-\\\\\
-SELECT INSERT(`bP`,3,2,'\\') FROM `sPQ`;
-INSERT(`bP`,3,2,'\\')
-\\\\\
-SELECT INSERT(`bP`,3,3,'\\\') FROM `sPQ`;
-INSERT(`bP`,3,3,'\\\')
-\\\\\
-SELECT INSERT(`bP`,4,1,'\') FROM `sPQ`;
-INSERT(`bP`,4,1,'\')
-\\\\\
-SELECT INSERT(`bP`,4,2,'\\') FROM `sPQ`;
-INSERT(`bP`,4,2,'\\')
-\\\\\
-SELECT INSERT(`bP`,5,1,'\') FROM `sPQ`;
-INSERT(`bP`,5,1,'\')
-\\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -900,6 +711,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_insert_ucs2.result b/mysql-test/suite/jp/r/jp_insert_ucs2.result
index 45487f65138..e382f38515c 100644
--- a/mysql-test/suite/jp/r/jp_insert_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_insert_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -34,9 +28,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 ('龔龖龗龞龡');
SELECT INSERT(`C1`,1,1,'カ') FROM `T1`;
INSERT(`C1`,1,1,'カ')
カイウエオ
@@ -712,186 +703,6 @@ INSERT(`C1`,4,2,'丂丂' )
SELECT INSERT(`C1`,5,1,'丂') FROM `T9`;
INSERT(`C1`,5,1,'丂')
龔龖龗龞丂
-SELECT INSERT(`C1`,1,1,'カ') FROM `T10`;
-INSERT(`C1`,1,1,'カ')
-カイウエオ
-SELECT INSERT(`C1`,1,2,'カカ') FROM `T10`;
-INSERT(`C1`,1,2,'カカ')
-カカウエオ
-SELECT INSERT(`C1`,1,3,'カカカ') FROM `T10`;
-INSERT(`C1`,1,3,'カカカ')
-カカカエオ
-SELECT INSERT(`C1`,1,4,'カカカカ') FROM `T10`;
-INSERT(`C1`,1,4,'カカカカ')
-カカカカオ
-SELECT INSERT(`C1`,1,5,'カカカカカ') FROM `T10`;
-INSERT(`C1`,1,5,'カカカカカ')
-カカカカカ
-SELECT INSERT(`C1`,2,1,'カ') FROM `T10`;
-INSERT(`C1`,2,1,'カ')
-アカウエオ
-SELECT INSERT(`C1`,2,2,'カカ') FROM `T10`;
-INSERT(`C1`,2,2,'カカ')
-アカカエオ
-SELECT INSERT(`C1`,2,3,'カカカ') FROM `T10`;
-INSERT(`C1`,2,3,'カカカ')
-アカカカオ
-SELECT INSERT(`C1`,2,4,'カカカカ') FROM `T10`;
-INSERT(`C1`,2,4,'カカカカ')
-アカカカカ
-SELECT INSERT(`C1`,3,1,'カ') FROM `T10`;
-INSERT(`C1`,3,1,'カ')
-アイカエオ
-SELECT INSERT(`C1`,3,2,'カカ') FROM `T10`;
-INSERT(`C1`,3,2,'カカ')
-アイカカオ
-SELECT INSERT(`C1`,3,3,'カカカ') FROM `T10`;
-INSERT(`C1`,3,3,'カカカ')
-アイカカカ
-SELECT INSERT(`C1`,4,1,'カ') FROM `T10`;
-INSERT(`C1`,4,1,'カ')
-アイウカオ
-SELECT INSERT(`C1`,4,2,'カカ') FROM `T10`;
-INSERT(`C1`,4,2,'カカ')
-アイウカカ
-SELECT INSERT(`C1`,5,1,'カ') FROM `T10`;
-INSERT(`C1`,5,1,'カ')
-アイウエカ
-SELECT INSERT(`C1`,1,1,'か') FROM `T11`;
-INSERT(`C1`,1,1,'か')
-かいうえお
-SELECT INSERT(`C1`,1,2,'かか') FROM `T11`;
-INSERT(`C1`,1,2,'かか')
-かかうえお
-SELECT INSERT(`C1`,1,3,'かかか') FROM `T11`;
-INSERT(`C1`,1,3,'かかか')
-かかかえお
-SELECT INSERT(`C1`,1,4,'かかかか') FROM `T11`;
-INSERT(`C1`,1,4,'かかかか')
-かかかかお
-SELECT INSERT(`C1`,1,5,'かかかかか') FROM `T11`;
-INSERT(`C1`,1,5,'かかかかか')
-かかかかか
-SELECT INSERT(`C1`,2,1,'か') FROM `T11`;
-INSERT(`C1`,2,1,'か')
-あかうえお
-SELECT INSERT(`C1`,2,2,'かか') FROM `T11`;
-INSERT(`C1`,2,2,'かか')
-あかかえお
-SELECT INSERT(`C1`,2,3,'かかか') FROM `T11`;
-INSERT(`C1`,2,3,'かかか')
-あかかかお
-SELECT INSERT(`C1`,2,4,'かかかか') FROM `T11`;
-INSERT(`C1`,2,4,'かかかか')
-あかかかか
-SELECT INSERT(`C1`,3,1,'か') FROM `T11`;
-INSERT(`C1`,3,1,'か')
-あいかえお
-SELECT INSERT(`C1`,3,2,'かか') FROM `T11`;
-INSERT(`C1`,3,2,'かか')
-あいかかお
-SELECT INSERT(`C1`,3,3,'かかか') FROM `T11`;
-INSERT(`C1`,3,3,'かかか')
-あいかかか
-SELECT INSERT(`C1`,4,1,'か') FROM `T11`;
-INSERT(`C1`,4,1,'か')
-あいうかお
-SELECT INSERT(`C1`,4,2,'かか') FROM `T11`;
-INSERT(`C1`,4,2,'かか')
-あいうかか
-SELECT INSERT(`C1`,5,1,'か') FROM `T11`;
-INSERT(`C1`,5,1,'か')
-あいうえか
-SELECT INSERT(`C1`,1,1,' ') FROM `T11`;
-INSERT(`C1`,1,1,' ')
- いうえお
-SELECT INSERT(`C1`,1,2,'  ') FROM `T11`;
-INSERT(`C1`,1,2,'  ')
-  うえお
-SELECT INSERT(`C1`,1,3,'   ') FROM `T11`;
-INSERT(`C1`,1,3,'   ')
-   えお
-SELECT INSERT(`C1`,1,4,'    ') FROM `T11`;
-INSERT(`C1`,1,4,'    ')
-    お
-SELECT INSERT(`C1`,1,5,'     ') FROM `T11`;
-INSERT(`C1`,1,5,'     ')
-     
-SELECT INSERT(`C1`,2,1,' ') FROM `T11`;
-INSERT(`C1`,2,1,' ')
-あ うえお
-SELECT INSERT(`C1`,2,2,'  ') FROM `T11`;
-INSERT(`C1`,2,2,'  ')
-あ  えお
-SELECT INSERT(`C1`,2,3,'   ') FROM `T11`;
-INSERT(`C1`,2,3,'   ')
-あ   お
-SELECT INSERT(`C1`,2,4,'    ') FROM `T11`;
-INSERT(`C1`,2,4,'    ')
-あ    
-SELECT INSERT(`C1`,3,1,' ') FROM `T11`;
-INSERT(`C1`,3,1,' ')
-あい えお
-SELECT INSERT(`C1`,3,2,'  ') FROM `T11`;
-INSERT(`C1`,3,2,'  ')
-あい  お
-SELECT INSERT(`C1`,3,3,'   ') FROM `T11`;
-INSERT(`C1`,3,3,'   ')
-あい   
-SELECT INSERT(`C1`,4,1,' ') FROM `T11`;
-INSERT(`C1`,4,1,' ')
-あいう お
-SELECT INSERT(`C1`,4,2,'  ') FROM `T11`;
-INSERT(`C1`,4,2,'  ')
-あいう  
-SELECT INSERT(`C1`,5,1,' ') FROM `T11`;
-INSERT(`C1`,5,1,' ')
-あいうえ 
-SELECT INSERT(`C1`,1,1,'丂') FROM `T12`;
-INSERT(`C1`,1,1,'丂')
-丂龖龗龞龡
-SELECT INSERT(`C1`,1,2,'丂丂') FROM `T12`;
-INSERT(`C1`,1,2,'丂丂')
-丂丂龗龞龡
-SELECT INSERT(`C1`,1,3,'丂丂丂') FROM `T12`;
-INSERT(`C1`,1,3,'丂丂丂')
-丂丂丂龞龡
-SELECT INSERT(`C1`,1,4,'丂丂丂丂') FROM `T12`;
-INSERT(`C1`,1,4,'丂丂丂丂')
-丂丂丂丂龡
-SELECT INSERT(`C1`,1,5,'丂丂丂丂丂') FROM `T12`;
-INSERT(`C1`,1,5,'丂丂丂丂丂')
-丂丂丂丂丂
-SELECT INSERT(`C1`,2,1,'丂') FROM `T12`;
-INSERT(`C1`,2,1,'丂')
-龔丂龗龞龡
-SELECT INSERT(`C1`,2,2,'丂丂') FROM `T12`;
-INSERT(`C1`,2,2,'丂丂')
-龔丂丂龞龡
-SELECT INSERT(`C1`,2,3,'丂丂丂') FROM `T12`;
-INSERT(`C1`,2,3,'丂丂丂')
-龔丂丂丂龡
-SELECT INSERT(`C1`,2,4,'丂丂丂丂') FROM `T12`;
-INSERT(`C1`,2,4,'丂丂丂丂')
-龔丂丂丂丂
-SELECT INSERT(`C1`,3,1,'丂') FROM `T12`;
-INSERT(`C1`,3,1,'丂')
-龔龖丂龞龡
-SELECT INSERT(`C1`,3,2,'丂丂') FROM `T12`;
-INSERT(`C1`,3,2,'丂丂')
-龔龖丂丂龡
-SELECT INSERT(`C1`,3,3,'丂丂丂') FROM `T12`;
-INSERT(`C1`,3,3,'丂丂丂')
-龔龖丂丂丂
-SELECT INSERT(`C1`,4,1,'丂') FROM `T12`;
-INSERT(`C1`,4,1,'丂')
-龔龖龗丂龡
-SELECT INSERT(`C1`,4,2,'丂丂') FROM `T12`;
-INSERT(`C1`,4,2,'丂丂')
-龔龖龗丂丂
-SELECT INSERT(`C1`,5,1,'丂') FROM `T12`;
-INSERT(`C1`,5,1,'丂')
-龔龖龗龞丂
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -901,6 +712,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_insert_ujis.result b/mysql-test/suite/jp/r/jp_insert_ujis.result
index 7f42d66c565..905769863f4 100644
--- a/mysql-test/suite/jp/r/jp_insert_ujis.result
+++ b/mysql-test/suite/jp/r/jp_insert_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
SET collation_connection = ujis_japanese_ci;
@@ -19,12 +16,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 ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -34,9 +28,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 ('龔龖龗龞龡');
SELECT INSERT(`C1`,1,1,'カ') FROM `T1`;
INSERT(`C1`,1,1,'カ')
カイウエオ
@@ -712,186 +703,6 @@ INSERT(`C1`,4,2,'丂丂' )
SELECT INSERT(`C1`,5,1,'丂') FROM `T9`;
INSERT(`C1`,5,1,'丂')
龔龖龗龞丂
-SELECT INSERT(`C1`,1,1,'カ') FROM `T10`;
-INSERT(`C1`,1,1,'カ')
-カイウエオ
-SELECT INSERT(`C1`,1,2,'カカ') FROM `T10`;
-INSERT(`C1`,1,2,'カカ')
-カカウエオ
-SELECT INSERT(`C1`,1,3,'カカカ') FROM `T10`;
-INSERT(`C1`,1,3,'カカカ')
-カカカエオ
-SELECT INSERT(`C1`,1,4,'カカカカ') FROM `T10`;
-INSERT(`C1`,1,4,'カカカカ')
-カカカカオ
-SELECT INSERT(`C1`,1,5,'カカカカカ') FROM `T10`;
-INSERT(`C1`,1,5,'カカカカカ')
-カカカカカ
-SELECT INSERT(`C1`,2,1,'カ') FROM `T10`;
-INSERT(`C1`,2,1,'カ')
-アカウエオ
-SELECT INSERT(`C1`,2,2,'カカ') FROM `T10`;
-INSERT(`C1`,2,2,'カカ')
-アカカエオ
-SELECT INSERT(`C1`,2,3,'カカカ') FROM `T10`;
-INSERT(`C1`,2,3,'カカカ')
-アカカカオ
-SELECT INSERT(`C1`,2,4,'カカカカ') FROM `T10`;
-INSERT(`C1`,2,4,'カカカカ')
-アカカカカ
-SELECT INSERT(`C1`,3,1,'カ') FROM `T10`;
-INSERT(`C1`,3,1,'カ')
-アイカエオ
-SELECT INSERT(`C1`,3,2,'カカ') FROM `T10`;
-INSERT(`C1`,3,2,'カカ')
-アイカカオ
-SELECT INSERT(`C1`,3,3,'カカカ') FROM `T10`;
-INSERT(`C1`,3,3,'カカカ')
-アイカカカ
-SELECT INSERT(`C1`,4,1,'カ') FROM `T10`;
-INSERT(`C1`,4,1,'カ')
-アイウカオ
-SELECT INSERT(`C1`,4,2,'カカ') FROM `T10`;
-INSERT(`C1`,4,2,'カカ')
-アイウカカ
-SELECT INSERT(`C1`,5,1,'カ') FROM `T10`;
-INSERT(`C1`,5,1,'カ')
-アイウエカ
-SELECT INSERT(`C1`,1,1,'か') FROM `T11`;
-INSERT(`C1`,1,1,'か')
-かいうえお
-SELECT INSERT(`C1`,1,2,'かか') FROM `T11`;
-INSERT(`C1`,1,2,'かか')
-かかうえお
-SELECT INSERT(`C1`,1,3,'かかか') FROM `T11`;
-INSERT(`C1`,1,3,'かかか')
-かかかえお
-SELECT INSERT(`C1`,1,4,'かかかか') FROM `T11`;
-INSERT(`C1`,1,4,'かかかか')
-かかかかお
-SELECT INSERT(`C1`,1,5,'かかかかか') FROM `T11`;
-INSERT(`C1`,1,5,'かかかかか')
-かかかかか
-SELECT INSERT(`C1`,2,1,'か') FROM `T11`;
-INSERT(`C1`,2,1,'か')
-あかうえお
-SELECT INSERT(`C1`,2,2,'かか') FROM `T11`;
-INSERT(`C1`,2,2,'かか')
-あかかえお
-SELECT INSERT(`C1`,2,3,'かかか') FROM `T11`;
-INSERT(`C1`,2,3,'かかか')
-あかかかお
-SELECT INSERT(`C1`,2,4,'かかかか') FROM `T11`;
-INSERT(`C1`,2,4,'かかかか')
-あかかかか
-SELECT INSERT(`C1`,3,1,'か') FROM `T11`;
-INSERT(`C1`,3,1,'か')
-あいかえお
-SELECT INSERT(`C1`,3,2,'かか') FROM `T11`;
-INSERT(`C1`,3,2,'かか')
-あいかかお
-SELECT INSERT(`C1`,3,3,'かかか') FROM `T11`;
-INSERT(`C1`,3,3,'かかか')
-あいかかか
-SELECT INSERT(`C1`,4,1,'か') FROM `T11`;
-INSERT(`C1`,4,1,'か')
-あいうかお
-SELECT INSERT(`C1`,4,2,'かか') FROM `T11`;
-INSERT(`C1`,4,2,'かか')
-あいうかか
-SELECT INSERT(`C1`,5,1,'か') FROM `T11`;
-INSERT(`C1`,5,1,'か')
-あいうえか
-SELECT INSERT(`C1`,1,1,' ') FROM `T11`;
-INSERT(`C1`,1,1,' ')
- いうえお
-SELECT INSERT(`C1`,1,2,'  ') FROM `T11`;
-INSERT(`C1`,1,2,'  ')
-  うえお
-SELECT INSERT(`C1`,1,3,'   ') FROM `T11`;
-INSERT(`C1`,1,3,'   ')
-   えお
-SELECT INSERT(`C1`,1,4,'    ') FROM `T11`;
-INSERT(`C1`,1,4,'    ')
-    お
-SELECT INSERT(`C1`,1,5,'     ') FROM `T11`;
-INSERT(`C1`,1,5,'     ')
-     
-SELECT INSERT(`C1`,2,1,' ') FROM `T11`;
-INSERT(`C1`,2,1,' ')
-あ うえお
-SELECT INSERT(`C1`,2,2,'  ') FROM `T11`;
-INSERT(`C1`,2,2,'  ')
-あ  えお
-SELECT INSERT(`C1`,2,3,'   ') FROM `T11`;
-INSERT(`C1`,2,3,'   ')
-あ   お
-SELECT INSERT(`C1`,2,4,'    ') FROM `T11`;
-INSERT(`C1`,2,4,'    ')
-あ    
-SELECT INSERT(`C1`,3,1,' ') FROM `T11`;
-INSERT(`C1`,3,1,' ')
-あい えお
-SELECT INSERT(`C1`,3,2,'  ') FROM `T11`;
-INSERT(`C1`,3,2,'  ')
-あい  お
-SELECT INSERT(`C1`,3,3,'   ') FROM `T11`;
-INSERT(`C1`,3,3,'   ')
-あい   
-SELECT INSERT(`C1`,4,1,' ') FROM `T11`;
-INSERT(`C1`,4,1,' ')
-あいう お
-SELECT INSERT(`C1`,4,2,'  ') FROM `T11`;
-INSERT(`C1`,4,2,'  ')
-あいう  
-SELECT INSERT(`C1`,5,1,' ') FROM `T11`;
-INSERT(`C1`,5,1,' ')
-あいうえ 
-SELECT INSERT(`C1`,1,1,'丂') FROM `T12`;
-INSERT(`C1`,1,1,'丂')
-丂龖龗龞龡
-SELECT INSERT(`C1`,1,2,'丂丂') FROM `T12`;
-INSERT(`C1`,1,2,'丂丂')
-丂丂龗龞龡
-SELECT INSERT(`C1`,1,3,'丂丂丂') FROM `T12`;
-INSERT(`C1`,1,3,'丂丂丂')
-丂丂丂龞龡
-SELECT INSERT(`C1`,1,4,'丂丂丂丂') FROM `T12`;
-INSERT(`C1`,1,4,'丂丂丂丂')
-丂丂丂丂龡
-SELECT INSERT(`C1`,1,5,'丂丂丂丂丂') FROM `T12`;
-INSERT(`C1`,1,5,'丂丂丂丂丂')
-丂丂丂丂丂
-SELECT INSERT(`C1`,2,1,'丂') FROM `T12`;
-INSERT(`C1`,2,1,'丂')
-龔丂龗龞龡
-SELECT INSERT(`C1`,2,2,'丂丂') FROM `T12`;
-INSERT(`C1`,2,2,'丂丂')
-龔丂丂龞龡
-SELECT INSERT(`C1`,2,3,'丂丂丂') FROM `T12`;
-INSERT(`C1`,2,3,'丂丂丂')
-龔丂丂丂龡
-SELECT INSERT(`C1`,2,4,'丂丂丂丂') FROM `T12`;
-INSERT(`C1`,2,4,'丂丂丂丂')
-龔丂丂丂丂
-SELECT INSERT(`C1`,3,1,'丂') FROM `T12`;
-INSERT(`C1`,3,1,'丂')
-龔龖丂龞龡
-SELECT INSERT(`C1`,3,2,'丂丂') FROM `T12`;
-INSERT(`C1`,3,2,'丂丂')
-龔龖丂丂龡
-SELECT INSERT(`C1`,3,3,'丂丂丂') FROM `T12`;
-INSERT(`C1`,3,3,'丂丂丂')
-龔龖丂丂丂
-SELECT INSERT(`C1`,4,1,'丂') FROM `T12`;
-INSERT(`C1`,4,1,'丂')
-龔龖龗丂龡
-SELECT INSERT(`C1`,4,2,'丂丂') FROM `T12`;
-INSERT(`C1`,4,2,'丂丂')
-龔龖龗丂丂
-SELECT INSERT(`C1`,5,1,'丂') FROM `T12`;
-INSERT(`C1`,5,1,'丂')
-龔龖龗龞丂
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -901,6 +712,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_insert_utf8.result b/mysql-test/suite/jp/r/jp_insert_utf8.result
index 368ba35f637..b49b13f8b47 100644
--- a/mysql-test/suite/jp/r/jp_insert_utf8.result
+++ b/mysql-test/suite/jp/r/jp_insert_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
SELECT INSERT(`鐚o`,1,1,'鐔') FROM `鐚器`;
INSERT(`鐚o`,1,1,'鐔')
鐔駈讐鐔鰹輯鐔
@@ -711,186 +702,6 @@ INSERT(`鐚o`,4,2,'筝筝' )
SELECT INSERT(`鐚o`,5,1,'筝') FROM `鐚器`;
INSERT(`鐚o`,5,1,'筝')
蘊蘊蘊蘊筝
-SELECT INSERT(`鐚o`,1,1,'鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,1,'鐔')
-鐔駈讐鐔鰹輯鐔
-SELECT INSERT(`鐚o`,1,2,'鐔駈酋') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,2,'鐔駈酋')
-鐔駈酋鐔鰹輯鐔
-SELECT INSERT(`鐚o`,1,3,'鐔駈酋鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,3,'鐔駈酋鐔')
-鐔駈酋鐔駈輯鐔
-SELECT INSERT(`鐚o`,1,4,'鐔駈酋鐔駈酋') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,4,'鐔駈酋鐔駈酋')
-鐔駈酋鐔駈酋鐔
-SELECT INSERT(`鐚o`,1,5,'鐔駈酋鐔駈酋鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,5,'鐔駈酋鐔駈酋鐔')
-鐔駈酋鐔駈酋鐔
-SELECT INSERT(`鐚o`,2,1,'鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,1,'鐔')
-鐔縁酋鐔鰹輯鐔
-SELECT INSERT(`鐚o`,2,2,'鐔駈酋') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,2,'鐔駈酋')
-鐔縁酋鐔駈輯鐔
-SELECT INSERT(`鐚o`,2,3,'鐔駈酋鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,3,'鐔駈酋鐔')
-鐔縁酋鐔駈酋鐔
-SELECT INSERT(`鐚o`,2,4,'鐔駈酋鐔駈酋') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,4,'鐔駈酋鐔駈酋')
-鐔縁酋鐔駈酋鐔
-SELECT INSERT(`鐚o`,3,1,'鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,1,'鐔')
-鐔縁讐鐔駈輯鐔
-SELECT INSERT(`鐚o`,3,2,'鐔駈酋') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,2,'鐔駈酋')
-鐔縁讐鐔駈酋鐔
-SELECT INSERT(`鐚o`,3,3,'鐔駈酋鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,3,'鐔駈酋鐔')
-鐔縁讐鐔駈酋鐔
-SELECT INSERT(`鐚o`,4,1,'鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,1,'鐔')
-鐔縁讐鐔鰹酋鐔
-SELECT INSERT(`鐚o`,4,2,'鐔駈酋') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,2,'鐔駈酋')
-鐔縁讐鐔鰹酋鐔
-SELECT INSERT(`鐚o`,5,1,'鐔') FROM `鐚器鐚`;
-INSERT(`鐚o`,5,1,'鐔')
-鐔縁讐鐔鰹輯鐔
-SELECT INSERT(`鐚o`,1,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,1,'')
-
-SELECT INSERT(`鐚o`,1,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,2,'')
-
-SELECT INSERT(`鐚o`,1,3,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,3,'')
-
-SELECT INSERT(`鐚o`,1,4,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,4,'')
-
-SELECT INSERT(`鐚o`,1,5,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,5,'')
-
-SELECT INSERT(`鐚o`,2,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,1,'')
-
-SELECT INSERT(`鐚o`,2,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,2,'')
-
-SELECT INSERT(`鐚o`,2,3,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,3,'')
-
-SELECT INSERT(`鐚o`,2,4,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,4,'')
-
-SELECT INSERT(`鐚o`,3,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,1,'')
-
-SELECT INSERT(`鐚o`,3,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,2,'')
-
-SELECT INSERT(`鐚o`,3,3,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,3,'')
-
-SELECT INSERT(`鐚o`,4,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,1,'')
-
-SELECT INSERT(`鐚o`,4,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,2,'')
-
-SELECT INSERT(`鐚o`,5,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,5,1,'')
-
-SELECT INSERT(`鐚o`,1,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,1,'')
-
-SELECT INSERT(`鐚o`,1,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,2,'')
-
-SELECT INSERT(`鐚o`,1,3,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,3,'')
-
-SELECT INSERT(`鐚o`,1,4,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,4,'')
-
-SELECT INSERT(`鐚o`,1,5,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,5,'')
-
-SELECT INSERT(`鐚o`,2,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,1,'')
-
-SELECT INSERT(`鐚o`,2,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,2,'')
-
-SELECT INSERT(`鐚o`,2,3,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,3,'')
-
-SELECT INSERT(`鐚o`,2,4,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,4,'')
-
-SELECT INSERT(`鐚o`,3,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,1,'')
-
-SELECT INSERT(`鐚o`,3,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,2,'')
-
-SELECT INSERT(`鐚o`,3,3,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,3,'')
-
-SELECT INSERT(`鐚o`,4,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,1,'')
-
-SELECT INSERT(`鐚o`,4,2,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,2,'')
-
-SELECT INSERT(`鐚o`,5,1,'') FROM `鐚器鐚`;
-INSERT(`鐚o`,5,1,'')
-
-SELECT INSERT(`鐚o`,1,1,'筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,1,'筝')
-筝蘊蘊蘊蘊
-SELECT INSERT(`鐚o`,1,2,'筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,2,'筝筝')
-筝筝蘊蘊蘊
-SELECT INSERT(`鐚o`,1,3,'筝筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,3,'筝筝筝')
-筝筝筝蘊蘊
-SELECT INSERT(`鐚o`,1,4,'筝筝筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,4,'筝筝筝筝')
-筝筝筝筝蘊
-SELECT INSERT(`鐚o`,1,5,'筝筝筝筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,1,5,'筝筝筝筝筝')
-筝筝筝筝筝
-SELECT INSERT(`鐚o`,2,1,'筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,1,'筝')
-蘊筝蘊蘊蘊
-SELECT INSERT(`鐚o`,2,2,'筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,2,'筝筝')
-蘊筝筝蘊蘊
-SELECT INSERT(`鐚o`,2,3,'筝筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,3,'筝筝筝')
-蘊筝筝筝蘊
-SELECT INSERT(`鐚o`,2,4,'筝筝筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,2,4,'筝筝筝筝')
-蘊筝筝筝筝
-SELECT INSERT(`鐚o`,3,1,'筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,1,'筝')
-蘊蘊筝蘊蘊
-SELECT INSERT(`鐚o`,3,2,'筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,2,'筝筝')
-蘊蘊筝筝蘊
-SELECT INSERT(`鐚o`,3,3,'筝筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,3,3,'筝筝筝')
-蘊蘊筝筝筝
-SELECT INSERT(`鐚o`,4,1,'筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,1,'筝')
-蘊蘊蘊筝蘊
-SELECT INSERT(`鐚o`,4,2,'筝筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,4,2,'筝筝')
-蘊蘊蘊筝筝
-SELECT INSERT(`鐚o`,5,1,'筝') FROM `鐚器鐚`;
-INSERT(`鐚o`,5,1,'筝')
-蘊蘊蘊蘊筝
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -900,6 +711,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_instr_sjis.result b/mysql-test/suite/jp/r/jp_instr_sjis.result
index 9a6dea5a426..b102b1a1b46 100644
--- a/mysql-test/suite/jp/r/jp_instr_sjis.result
+++ b/mysql-test/suite/jp/r/jp_instr_sjis.result
@@ -7,7 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
INSERT INTO `sR` VALUES ('\\\\\');
@@ -31,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
SELECT INSTR(`bP`,'') from `sP`;
INSTR(`bP`,'')
1
@@ -196,60 +189,6 @@ INSTR(`bP`,'\')
SELECT INSTR(`bP`,'\') from `sX`;
INSTR(`bP`,'\')
0
-SELECT INSTR(`bP`,'') from `sPO`;
-INSTR(`bP`,'')
-1
-SELECT INSTR(`bP`,'') from `sPO`;
-INSTR(`bP`,'')
-2
-SELECT INSTR(`bP`,'') from `sPO`;
-INSTR(`bP`,'')
-3
-SELECT INSTR(`bP`,'') from `sPO`;
-INSTR(`bP`,'')
-4
-SELECT INSTR(`bP`,'') from `sPO`;
-INSTR(`bP`,'')
-5
-SELECT INSTR(`bP`,'') from `sPO`;
-INSTR(`bP`,'')
-0
-SELECT INSTR(`bP`,'') from `sPP`;
-INSTR(`bP`,'')
-1
-SELECT INSTR(`bP`,'') from `sPP`;
-INSTR(`bP`,'')
-2
-SELECT INSTR(`bP`,'') from `sPP`;
-INSTR(`bP`,'')
-3
-SELECT INSTR(`bP`,'') from `sPP`;
-INSTR(`bP`,'')
-4
-SELECT INSTR(`bP`,'') from `sPP`;
-INSTR(`bP`,'')
-5
-SELECT INSTR(`bP`,'') from `sPP`;
-INSTR(`bP`,'')
-0
-SELECT INSTR(`bP`,'\') from `sPQ`;
-INSTR(`bP`,'\')
-1
-SELECT INSTR(`bP`,'\') from `sPQ`;
-INSTR(`bP`,'\')
-2
-SELECT INSTR(`bP`,'\') from `sPQ`;
-INSTR(`bP`,'\')
-3
-SELECT INSTR(`bP`,'\') from `sPQ`;
-INSTR(`bP`,'\')
-4
-SELECT INSTR(`bP`,'\') from `sPQ`;
-INSTR(`bP`,'\')
-5
-SELECT INSTR(`bP`,'\') from `sPQ`;
-INSTR(`bP`,'\')
-0
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -259,6 +198,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_instr_ucs2.result b/mysql-test/suite/jp/r/jp_instr_ucs2.result
index 352525eee0b..5840bf49088 100644
--- a/mysql-test/suite/jp/r/jp_instr_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_instr_ucs2.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -17,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -32,9 +28,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 ('龔龖龗龞龡');
SELECT INSTR(`C1`,'ア') from `T1`;
INSTR(`C1`,'ア')
1
@@ -197,60 +190,6 @@ INSTR(`C1`,'龡')
SELECT INSTR(`C1`,'丂') from `T9`;
INSTR(`C1`,'丂')
0
-SELECT INSTR(`C1`,'ア') from `T10`;
-INSTR(`C1`,'ア')
-1
-SELECT INSTR(`C1`,'イ') from `T10`;
-INSTR(`C1`,'イ')
-2
-SELECT INSTR(`C1`,'ウ') from `T10`;
-INSTR(`C1`,'ウ')
-3
-SELECT INSTR(`C1`,'エ') from `T10`;
-INSTR(`C1`,'エ')
-4
-SELECT INSTR(`C1`,'オ') from `T10`;
-INSTR(`C1`,'オ')
-5
-SELECT INSTR(`C1`,'ン') from `T10`;
-INSTR(`C1`,'ン')
-0
-SELECT INSTR(`C1`,'あ') from `T11`;
-INSTR(`C1`,'あ')
-1
-SELECT INSTR(`C1`,'い') from `T11`;
-INSTR(`C1`,'い')
-2
-SELECT INSTR(`C1`,'う') from `T11`;
-INSTR(`C1`,'う')
-3
-SELECT INSTR(`C1`,'え') from `T11`;
-INSTR(`C1`,'え')
-4
-SELECT INSTR(`C1`,'お') from `T11`;
-INSTR(`C1`,'お')
-5
-SELECT INSTR(`C1`,'ん') from `T11`;
-INSTR(`C1`,'ん')
-0
-SELECT INSTR(`C1`,'龔') from `T12`;
-INSTR(`C1`,'龔')
-1
-SELECT INSTR(`C1`,'龖') from `T12`;
-INSTR(`C1`,'龖')
-2
-SELECT INSTR(`C1`,'龗') from `T12`;
-INSTR(`C1`,'龗')
-3
-SELECT INSTR(`C1`,'龞') from `T12`;
-INSTR(`C1`,'龞')
-4
-SELECT INSTR(`C1`,'龡') from `T12`;
-INSTR(`C1`,'龡')
-5
-SELECT INSTR(`C1`,'丂') from `T12`;
-INSTR(`C1`,'丂')
-0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -260,6 +199,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_instr_ujis.result b/mysql-test/suite/jp/r/jp_instr_ujis.result
index 0cf9895a740..345d23ecbcb 100644
--- a/mysql-test/suite/jp/r/jp_instr_ujis.result
+++ b/mysql-test/suite/jp/r/jp_instr_ujis.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -31,9 +27,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 ('龔龖龗龞龡');
SELECT INSTR(`C1`,'ア') from `T1`;
INSTR(`C1`,'ア')
1
@@ -196,60 +189,6 @@ INSTR(`C1`,'龡')
SELECT INSTR(`C1`,'丂') from `T9`;
INSTR(`C1`,'丂')
0
-SELECT INSTR(`C1`,'ア') from `T10`;
-INSTR(`C1`,'ア')
-1
-SELECT INSTR(`C1`,'イ') from `T10`;
-INSTR(`C1`,'イ')
-2
-SELECT INSTR(`C1`,'ウ') from `T10`;
-INSTR(`C1`,'ウ')
-3
-SELECT INSTR(`C1`,'エ') from `T10`;
-INSTR(`C1`,'エ')
-4
-SELECT INSTR(`C1`,'オ') from `T10`;
-INSTR(`C1`,'オ')
-5
-SELECT INSTR(`C1`,'ン') from `T10`;
-INSTR(`C1`,'ン')
-0
-SELECT INSTR(`C1`,'あ') from `T11`;
-INSTR(`C1`,'あ')
-1
-SELECT INSTR(`C1`,'い') from `T11`;
-INSTR(`C1`,'い')
-2
-SELECT INSTR(`C1`,'う') from `T11`;
-INSTR(`C1`,'う')
-3
-SELECT INSTR(`C1`,'え') from `T11`;
-INSTR(`C1`,'え')
-4
-SELECT INSTR(`C1`,'お') from `T11`;
-INSTR(`C1`,'お')
-5
-SELECT INSTR(`C1`,'ん') from `T11`;
-INSTR(`C1`,'ん')
-0
-SELECT INSTR(`C1`,'龔') from `T12`;
-INSTR(`C1`,'龔')
-1
-SELECT INSTR(`C1`,'龖') from `T12`;
-INSTR(`C1`,'龖')
-2
-SELECT INSTR(`C1`,'龗') from `T12`;
-INSTR(`C1`,'龗')
-3
-SELECT INSTR(`C1`,'龞') from `T12`;
-INSTR(`C1`,'龞')
-4
-SELECT INSTR(`C1`,'龡') from `T12`;
-INSTR(`C1`,'龡')
-5
-SELECT INSTR(`C1`,'丂') from `T12`;
-INSTR(`C1`,'丂')
-0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -259,6 +198,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_instr_utf8.result b/mysql-test/suite/jp/r/jp_instr_utf8.result
index 0e55227e4b7..fb6b8c7c6ea 100644
--- a/mysql-test/suite/jp/r/jp_instr_utf8.result
+++ b/mysql-test/suite/jp/r/jp_instr_utf8.result
@@ -7,7 +7,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
@@ -31,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
SELECT INSTR(`鐚o`,'鐔') from `鐚器`;
INSTR(`鐚o`,'鐔')
1
@@ -196,60 +189,6 @@ INSTR(`鐚o`,'蘊')
SELECT INSTR(`鐚o`,'筝') from `鐚器`;
INSTR(`鐚o`,'筝')
0
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-INSTR(`鐚o`,'鐔')
-1
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-INSTR(`鐚o`,'鐔')
-2
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-INSTR(`鐚o`,'鐔')
-3
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-INSTR(`鐚o`,'鐔')
-4
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-INSTR(`鐚o`,'鐔')
-5
-SELECT INSTR(`鐚o`,'鐓') from `鐚器鐚`;
-INSTR(`鐚o`,'鐓')
-0
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-INSTR(`鐚o`,'')
-1
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-INSTR(`鐚o`,'')
-2
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-INSTR(`鐚o`,'')
-3
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-INSTR(`鐚o`,'')
-4
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-INSTR(`鐚o`,'')
-5
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-INSTR(`鐚o`,'')
-0
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-INSTR(`鐚o`,'蘊')
-1
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-INSTR(`鐚o`,'蘊')
-2
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-INSTR(`鐚o`,'蘊')
-3
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-INSTR(`鐚o`,'蘊')
-4
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-INSTR(`鐚o`,'蘊')
-5
-SELECT INSTR(`鐚o`,'筝') from `鐚器鐚`;
-INSTR(`鐚o`,'筝')
-0
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -259,6 +198,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_join_sjis.result b/mysql-test/suite/jp/r/jp_join_sjis.result
index a5ccc58ae4c..5e7e51e0925 100644
--- a/mysql-test/suite/jp/r/jp_join_sjis.result
+++ b/mysql-test/suite/jp/r/jp_join_sjis.result
@@ -1,15 +1,21 @@
-drop table if exists `sP`;
-drop table if exists `sQ`;
-drop table if exists `sR`;
-drop table if exists `sS`;
-drop table if exists `sT`;
-drop table if exists `sU`;
-drop table if exists `sV`;
-drop table if exists `sW`;
-drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
+DROP TABLE IF EXISTS `sPa`;
+DROP TABLE IF EXISTS `sPb`;
+DROP TABLE IF EXISTS `sQa`;
+DROP TABLE IF EXISTS `sQb`;
+DROP TABLE IF EXISTS `sRa`;
+DROP TABLE IF EXISTS `sRb`;
+DROP TABLE IF EXISTS `sSa`;
+DROP TABLE IF EXISTS `sSb`;
+DROP TABLE IF EXISTS `sTa`;
+DROP TABLE IF EXISTS `sTb`;
+DROP TABLE IF EXISTS `sUa`;
+DROP TABLE IF EXISTS `sUb`;
+DROP TABLE IF EXISTS `sVa`;
+DROP TABLE IF EXISTS `sVb`;
+DROP TABLE IF EXISTS `sWa`;
+DROP TABLE IF EXISTS `sWb`;
+DROP TABLE IF EXISTS `sXa`;
+DROP TABLE IF EXISTS `sXb`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sPa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
@@ -24,18 +30,12 @@ CREATE TABLE `sTa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine
CREATE TABLE `sTb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
+CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sPa` VALUES (''),(''),('');
INSERT INTO `sPb` VALUES ('');
INSERT INTO `sQa` VALUES (''),(''),('');
@@ -54,12 +54,6 @@ INSERT INTO `sWa` VALUES (''),(''),('');
INSERT INTO `sWb` VALUES ('');
INSERT INTO `sXa` VALUES ('\'),('\'),('\');
INSERT INTO `sXb` VALUES ('\');
-INSERT INTO `sPOa` VALUES (''),(''),('');
-INSERT INTO `sPOb` VALUES ('');
-INSERT INTO `sPPa` VALUES (''),(''),('');
-INSERT INTO `sPPb` VALUES ('');
-INSERT INTO `sPQa` VALUES ('\'),('\'),('\');
-INSERT INTO `sPQb` VALUES ('\');
SELECT * FROM `sPa` JOIN `sPb`;
bP bP
@@ -71,31 +65,31 @@ SELECT * FROM `sPa` INNER JOIN `sPb`;
SELECT * FROM `sPa` JOIN `sPb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sPa` INNER JOIN `sPb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sPa` CROSS JOIN `sPb`;
bP bP
SELECT * FROM `sPa` LEFT JOIN `sPb` USING (`bP`);
-bP bP
-
- NULL
- NULL
+bP
+
+
+
SELECT * FROM `sPa` LEFT JOIN `sPb` ON (`sPa`.`bP` = `sPb`.`bP`);
bP bP
NULL
NULL
SELECT * FROM `sPb` RIGHT JOIN `sPa` USING (`bP`);
-bP bP
-
-NULL
-NULL
+bP
+
+
+
SELECT * FROM `sPb` RIGHT JOIN `sPa` ON (`sPa`.`bP` = `sPb`.`bP`);
bP bP
@@ -112,31 +106,31 @@ SELECT * FROM `sQa` INNER JOIN `sQb`;
SELECT * FROM `sQa` JOIN `sQb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sQa` INNER JOIN `sQb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sQa` CROSS JOIN `sQb`;
bP bP
SELECT * FROM `sQa` LEFT JOIN `sQb` USING (`bP`);
-bP bP
-
- NULL
- NULL
+bP
+
+
+
SELECT * FROM `sQa` LEFT JOIN `sQb` ON (`sQa`.`bP` = `sQb`.`bP`);
bP bP
NULL
NULL
SELECT * FROM `sQb` RIGHT JOIN `sQa` USING (`bP`);
-bP bP
-
-NULL
-NULL
+bP
+
+
+
SELECT * FROM `sQb` RIGHT JOIN `sQa` ON (`sQa`.`bP` = `sQb`.`bP`);
bP bP
@@ -153,31 +147,31 @@ SELECT * FROM `sRa` INNER JOIN `sRb`;
\ \
\ \
SELECT * FROM `sRa` JOIN `sRb` USING (`bP`);
-bP bP
-\ \
+bP
+\
SELECT * FROM `sRa` INNER JOIN `sRb` USING (`bP`);
-bP bP
-\ \
+bP
+\
SELECT * FROM `sRa` CROSS JOIN `sRb`;
bP bP
\ \
\ \
\ \
SELECT * FROM `sRa` LEFT JOIN `sRb` USING (`bP`);
-bP bP
-\ \
-\ NULL
-\ NULL
+bP
+\
+\
+\
SELECT * FROM `sRa` LEFT JOIN `sRb` ON (`sRa`.`bP` = `sRb`.`bP`);
bP bP
\ \
\ NULL
\ NULL
SELECT * FROM `sRb` RIGHT JOIN `sRa` USING (`bP`);
-bP bP
-\ \
-NULL \
-NULL \
+bP
+\
+\
+\
SELECT * FROM `sRb` RIGHT JOIN `sRa` ON (`sRa`.`bP` = `sRb`.`bP`);
bP bP
\ \
@@ -194,31 +188,31 @@ SELECT * FROM `sSa` INNER JOIN `sSb`;
SELECT * FROM `sSa` JOIN `sSb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sSa` INNER JOIN `sSb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sSa` CROSS JOIN `sSb`;
bP bP
SELECT * FROM `sSa` LEFT JOIN `sSb` USING (`bP`);
-bP bP
-
- NULL
- NULL
+bP
+
+
+
SELECT * FROM `sSa` LEFT JOIN `sSb` ON (`sSa`.`bP` = `sSb`.`bP`);
bP bP
NULL
NULL
SELECT * FROM `sSb` RIGHT JOIN `sSa` USING (`bP`);
-bP bP
-
-NULL
-NULL
+bP
+
+
+
SELECT * FROM `sSb` RIGHT JOIN `sSa` ON (`sSa`.`bP` = `sSb`.`bP`);
bP bP
@@ -235,31 +229,31 @@ SELECT * FROM `sTa` INNER JOIN `sTb`;
SELECT * FROM `sTa` JOIN `sTb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sTa` INNER JOIN `sTb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sTa` CROSS JOIN `sTb`;
bP bP
SELECT * FROM `sTa` LEFT JOIN `sTb` USING (`bP`);
-bP bP
-
- NULL
- NULL
+bP
+
+
+
SELECT * FROM `sTa` LEFT JOIN `sTb` ON (`sTa`.`bP` = `sTb`.`bP`);
bP bP
NULL
NULL
SELECT * FROM `sTb` RIGHT JOIN `sTa` USING (`bP`);
-bP bP
-
-NULL
-NULL
+bP
+
+
+
SELECT * FROM `sTb` RIGHT JOIN `sTa` ON (`sTa`.`bP` = `sTb`.`bP`);
bP bP
@@ -276,31 +270,31 @@ SELECT * FROM `sUa` INNER JOIN `sUb`;
\ \
\ \
SELECT * FROM `sUa` JOIN `sUb` USING (`bP`);
-bP bP
-\ \
+bP
+\
SELECT * FROM `sUa` INNER JOIN `sUb` USING (`bP`);
-bP bP
-\ \
+bP
+\
SELECT * FROM `sUa` CROSS JOIN `sUb`;
bP bP
\ \
\ \
\ \
SELECT * FROM `sUa` LEFT JOIN `sUb` USING (`bP`);
-bP bP
-\ \
-\ NULL
-\ NULL
+bP
+\
+\
+\
SELECT * FROM `sUa` LEFT JOIN `sUb` ON (`sUa`.`bP` = `sUb`.`bP`);
bP bP
\ \
\ NULL
\ NULL
SELECT * FROM `sUb` RIGHT JOIN `sUa` USING (`bP`);
-bP bP
-\ \
-NULL \
-NULL \
+bP
+\
+\
+\
SELECT * FROM `sUb` RIGHT JOIN `sUa` ON (`sUa`.`bP` = `sUb`.`bP`);
bP bP
\ \
@@ -317,31 +311,31 @@ SELECT * FROM `sVa` INNER JOIN `sVb`;
SELECT * FROM `sVa` JOIN `sVb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sVa` INNER JOIN `sVb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sVa` CROSS JOIN `sVb`;
bP bP
SELECT * FROM `sVa` LEFT JOIN `sVb` USING (`bP`);
-bP bP
-
- NULL
- NULL
+bP
+
+
+
SELECT * FROM `sVa` LEFT JOIN `sVb` ON (`sVa`.`bP` = `sVb`.`bP`);
bP bP
NULL
NULL
SELECT * FROM `sVb` RIGHT JOIN `sVa` USING (`bP`);
-bP bP
-
-NULL
-NULL
+bP
+
+
+
SELECT * FROM `sVb` RIGHT JOIN `sVa` ON (`sVa`.`bP` = `sVb`.`bP`);
bP bP
@@ -358,31 +352,31 @@ SELECT * FROM `sWa` INNER JOIN `sWb`;
SELECT * FROM `sWa` JOIN `sWb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sWa` INNER JOIN `sWb` USING (`bP`);
-bP bP
-
+bP
+
SELECT * FROM `sWa` CROSS JOIN `sWb`;
bP bP
SELECT * FROM `sWa` LEFT JOIN `sWb` USING (`bP`);
-bP bP
-
- NULL
- NULL
+bP
+
+
+
SELECT * FROM `sWa` LEFT JOIN `sWb` ON (`sWa`.`bP` = `sWb`.`bP`);
bP bP
NULL
NULL
SELECT * FROM `sWb` RIGHT JOIN `sWa` USING (`bP`);
-bP bP
-
-NULL
-NULL
+bP
+
+
+
SELECT * FROM `sWb` RIGHT JOIN `sWa` ON (`sWa`.`bP` = `sWb`.`bP`);
bP bP
@@ -399,159 +393,36 @@ SELECT * FROM `sXa` INNER JOIN `sXb`;
\ \
\ \
SELECT * FROM `sXa` JOIN `sXb` USING (`bP`);
-bP bP
-\ \
+bP
+\
SELECT * FROM `sXa` INNER JOIN `sXb` USING (`bP`);
-bP bP
-\ \
+bP
+\
SELECT * FROM `sXa` CROSS JOIN `sXb`;
bP bP
\ \
\ \
\ \
SELECT * FROM `sXa` LEFT JOIN `sXb` USING (`bP`);
-bP bP
-\ \
-\ NULL
-\ NULL
+bP
+\
+\
+\
SELECT * FROM `sXa` LEFT JOIN `sXb` ON (`sXa`.`bP` = `sXb`.`bP`);
bP bP
\ \
\ NULL
\ NULL
SELECT * FROM `sXb` RIGHT JOIN `sXa` USING (`bP`);
-bP bP
-\ \
-NULL \
-NULL \
+bP
+\
+\
+\
SELECT * FROM `sXb` RIGHT JOIN `sXa` ON (`sXa`.`bP` = `sXb`.`bP`);
bP bP
\ \
NULL \
NULL \
-SELECT * FROM `sPOa` JOIN `sPOb`;
-bP bP
-
-
-
-SELECT * FROM `sPOa` INNER JOIN `sPOb`;
-bP bP
-
-
-
-SELECT * FROM `sPOa` JOIN `sPOb` USING (`bP`);
-bP bP
-
-SELECT * FROM `sPOa` INNER JOIN `sPOb` USING (`bP`);
-bP bP
-
-SELECT * FROM `sPOa` CROSS JOIN `sPOb`;
-bP bP
-
-
-
-SELECT * FROM `sPOa` LEFT JOIN `sPOb` USING (`bP`);
-bP bP
-
- NULL
- NULL
-SELECT * FROM `sPOa` LEFT JOIN `sPOb` ON (`sPOa`.`bP` = `sPOb`.`bP`);
-bP bP
-
- NULL
- NULL
-SELECT * FROM `sPOb` RIGHT JOIN `sPOa` USING (`bP`);
-bP bP
-
-NULL
-NULL
-SELECT * FROM `sPOb` RIGHT JOIN `sPOa` ON (`sPOa`.`bP` = `sPOb`.`bP`);
-bP bP
-
-NULL
-NULL
-SELECT * FROM `sPPa` JOIN `sPPb`;
-bP bP
-
-
-
-SELECT * FROM `sPPa` INNER JOIN `sPPb`;
-bP bP
-
-
-
-SELECT * FROM `sPPa` JOIN `sPPb` USING (`bP`);
-bP bP
-
-SELECT * FROM `sPPa` INNER JOIN `sPPb` USING (`bP`);
-bP bP
-
-SELECT * FROM `sPPa` CROSS JOIN `sPPb`;
-bP bP
-
-
-
-SELECT * FROM `sPPa` LEFT JOIN `sPPb` USING (`bP`);
-bP bP
-
- NULL
- NULL
-SELECT * FROM `sPPa` LEFT JOIN `sPPb` ON (`sPPa`.`bP` = `sPPb`.`bP`);
-bP bP
-
- NULL
- NULL
-SELECT * FROM `sPPb` RIGHT JOIN `sPPa` USING (`bP`);
-bP bP
-
-NULL
-NULL
-SELECT * FROM `sPPb` RIGHT JOIN `sPPa` ON (`sPPa`.`bP` = `sPPb`.`bP`);
-bP bP
-
-NULL
-NULL
-SELECT * FROM `sPQa` JOIN `sPQb`;
-bP bP
-\ \
-\ \
-\ \
-SELECT * FROM `sPQa` INNER JOIN `sPQb`;
-bP bP
-\ \
-\ \
-\ \
-SELECT * FROM `sPQa` JOIN `sPQb` USING (`bP`);
-bP bP
-\ \
-SELECT * FROM `sPQa` INNER JOIN `sPQb` USING (`bP`);
-bP bP
-\ \
-SELECT * FROM `sPQa` CROSS JOIN `sPQb`;
-bP bP
-\ \
-\ \
-\ \
-SELECT * FROM `sPQa` LEFT JOIN `sPQb` USING (`bP`);
-bP bP
-\ \
-\ NULL
-\ NULL
-SELECT * FROM `sPQa` LEFT JOIN `sPQb` ON (`sPQa`.`bP` = `sPQb`.`bP`);
-bP bP
-\ \
-\ NULL
-\ NULL
-SELECT * FROM `sPQb` RIGHT JOIN `sPQa` USING (`bP`);
-bP bP
-\ \
-NULL \
-NULL \
-SELECT * FROM `sPQb` RIGHT JOIN `sPQa` ON (`sPQa`.`bP` = `sPQb`.`bP`);
-bP bP
-\ \
-NULL \
-NULL \
DROP TABLE `sPa`;
DROP TABLE `sPb`;
DROP TABLE `sQa`;
@@ -570,9 +441,3 @@ DROP TABLE `sWa`;
DROP TABLE `sWb`;
DROP TABLE `sXa`;
DROP TABLE `sXb`;
-DROP TABLE `sPOa`;
-DROP TABLE `sPOb`;
-DROP TABLE `sPPa`;
-DROP TABLE `sPPb`;
-DROP TABLE `sPQa`;
-DROP TABLE `sPQb`;
diff --git a/mysql-test/suite/jp/r/jp_join_ucs2.result b/mysql-test/suite/jp/r/jp_join_ucs2.result
index 76988f15cc4..d3ebd9c94ca 100644
--- a/mysql-test/suite/jp/r/jp_join_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_join_ucs2.result
@@ -1,15 +1,21 @@
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,24 +25,18 @@ CREATE TABLE `T2a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine
CREATE TABLE `T2b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T3a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T3b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
+CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1a` VALUES ('ア'),('カ'),('サ');
INSERT INTO `T1b` VALUES ('ア');
INSERT INTO `T2a` VALUES ('あ'),('か'),('さ');
@@ -55,12 +55,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
SELECT * FROM `T1a` JOIN `T1b`;
C1 C1
ア ア
@@ -72,31 +66,31 @@ SELECT * FROM `T1a` INNER JOIN `T1b`;
カ ア
サ ア
SELECT * FROM `T1a` JOIN `T1b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T1a` INNER JOIN `T1b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T1a` CROSS JOIN `T1b`;
C1 C1
ア ア
カ ア
サ ア
SELECT * FROM `T1a` LEFT JOIN `T1b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
+C1
+ア
+カ
+サ
SELECT * FROM `T1a` LEFT JOIN `T1b` ON (`T1a`.`C1` = `T1b`.`C1`);
C1 C1
ア ア
カ NULL
サ NULL
SELECT * FROM `T1b` RIGHT JOIN `T1a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
+C1
+ア
+カ
+サ
SELECT * FROM `T1b` RIGHT JOIN `T1a` ON (`T1a`.`C1` = `T1b`.`C1`);
C1 C1
ア ア
@@ -113,31 +107,31 @@ SELECT * FROM `T2a` INNER JOIN `T2b`;
か あ
さ あ
SELECT * FROM `T2a` JOIN `T2b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T2a` INNER JOIN `T2b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T2a` CROSS JOIN `T2b`;
C1 C1
あ あ
か あ
さ あ
SELECT * FROM `T2a` LEFT JOIN `T2b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
+C1
+あ
+か
+さ
SELECT * FROM `T2a` LEFT JOIN `T2b` ON (`T2a`.`C1` = `T2b`.`C1`);
C1 C1
あ あ
か NULL
さ NULL
SELECT * FROM `T2b` RIGHT JOIN `T2a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
+C1
+あ
+か
+さ
SELECT * FROM `T2b` RIGHT JOIN `T2a` ON (`T2a`.`C1` = `T2b`.`C1`);
C1 C1
あ あ
@@ -154,31 +148,31 @@ SELECT * FROM `T3a` INNER JOIN `T3b`;
龖 龔
龗 龔
SELECT * FROM `T3a` JOIN `T3b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T3a` INNER JOIN `T3b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T3a` CROSS JOIN `T3b`;
C1 C1
龔 龔
龖 龔
龗 龔
SELECT * FROM `T3a` LEFT JOIN `T3b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
+C1
+龔
+龖
+龗
SELECT * FROM `T3a` LEFT JOIN `T3b` ON (`T3a`.`C1` = `T3b`.`C1`);
C1 C1
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `T3b` RIGHT JOIN `T3a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
+C1
+龔
+龖
+龗
SELECT * FROM `T3b` RIGHT JOIN `T3a` ON (`T3a`.`C1` = `T3b`.`C1`);
C1 C1
龔 龔
@@ -195,31 +189,31 @@ SELECT * FROM `T4a` INNER JOIN `T4b`;
カ ア
サ ア
SELECT * FROM `T4a` JOIN `T4b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T4a` INNER JOIN `T4b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T4a` CROSS JOIN `T4b`;
C1 C1
ア ア
カ ア
サ ア
SELECT * FROM `T4a` LEFT JOIN `T4b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
+C1
+ア
+カ
+サ
SELECT * FROM `T4a` LEFT JOIN `T4b` ON (`T4a`.`C1` = `T4b`.`C1`);
C1 C1
ア ア
カ NULL
サ NULL
SELECT * FROM `T4b` RIGHT JOIN `T4a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
+C1
+ア
+カ
+サ
SELECT * FROM `T4b` RIGHT JOIN `T4a` ON (`T4a`.`C1` = `T4b`.`C1`);
C1 C1
ア ア
@@ -236,31 +230,31 @@ SELECT * FROM `T5a` INNER JOIN `T5b`;
か あ
さ あ
SELECT * FROM `T5a` JOIN `T5b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T5a` INNER JOIN `T5b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T5a` CROSS JOIN `T5b`;
C1 C1
あ あ
か あ
さ あ
SELECT * FROM `T5a` LEFT JOIN `T5b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
+C1
+あ
+か
+さ
SELECT * FROM `T5a` LEFT JOIN `T5b` ON (`T5a`.`C1` = `T5b`.`C1`);
C1 C1
あ あ
か NULL
さ NULL
SELECT * FROM `T5b` RIGHT JOIN `T5a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
+C1
+あ
+か
+さ
SELECT * FROM `T5b` RIGHT JOIN `T5a` ON (`T5a`.`C1` = `T5b`.`C1`);
C1 C1
あ あ
@@ -277,31 +271,31 @@ SELECT * FROM `T6a` INNER JOIN `T6b`;
龖 龔
龗 龔
SELECT * FROM `T6a` JOIN `T6b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T6a` INNER JOIN `T6b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T6a` CROSS JOIN `T6b`;
C1 C1
龔 龔
龖 龔
龗 龔
SELECT * FROM `T6a` LEFT JOIN `T6b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
+C1
+龔
+龖
+龗
SELECT * FROM `T6a` LEFT JOIN `T6b` ON (`T6a`.`C1` = `T6b`.`C1`);
C1 C1
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `T6b` RIGHT JOIN `T6a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
+C1
+龔
+龖
+龗
SELECT * FROM `T6b` RIGHT JOIN `T6a` ON (`T6a`.`C1` = `T6b`.`C1`);
C1 C1
龔 龔
@@ -318,31 +312,31 @@ SELECT * FROM `T7a` INNER JOIN `T7b`;
カ ア
サ ア
SELECT * FROM `T7a` JOIN `T7b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T7a` INNER JOIN `T7b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T7a` CROSS JOIN `T7b`;
C1 C1
ア ア
カ ア
サ ア
SELECT * FROM `T7a` LEFT JOIN `T7b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
+C1
+ア
+カ
+サ
SELECT * FROM `T7a` LEFT JOIN `T7b` ON (`T7a`.`C1` = `T7b`.`C1`);
C1 C1
ア ア
カ NULL
サ NULL
SELECT * FROM `T7b` RIGHT JOIN `T7a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
+C1
+ア
+カ
+サ
SELECT * FROM `T7b` RIGHT JOIN `T7a` ON (`T7a`.`C1` = `T7b`.`C1`);
C1 C1
ア ア
@@ -359,31 +353,31 @@ SELECT * FROM `T8a` INNER JOIN `T8b`;
か あ
さ あ
SELECT * FROM `T8a` JOIN `T8b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T8a` INNER JOIN `T8b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T8a` CROSS JOIN `T8b`;
C1 C1
あ あ
か あ
さ あ
SELECT * FROM `T8a` LEFT JOIN `T8b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
+C1
+あ
+か
+さ
SELECT * FROM `T8a` LEFT JOIN `T8b` ON (`T8a`.`C1` = `T8b`.`C1`);
C1 C1
あ あ
か NULL
さ NULL
SELECT * FROM `T8b` RIGHT JOIN `T8a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
+C1
+あ
+か
+さ
SELECT * FROM `T8b` RIGHT JOIN `T8a` ON (`T8a`.`C1` = `T8b`.`C1`);
C1 C1
あ あ
@@ -400,159 +394,36 @@ SELECT * FROM `T9a` INNER JOIN `T9b`;
龖 龔
龗 龔
SELECT * FROM `T9a` JOIN `T9b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T9a` INNER JOIN `T9b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T9a` CROSS JOIN `T9b`;
C1 C1
龔 龔
龖 龔
龗 龔
SELECT * FROM `T9a` LEFT JOIN `T9b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
+C1
+龔
+龖
+龗
SELECT * FROM `T9a` LEFT JOIN `T9b` ON (`T9a`.`C1` = `T9b`.`C1`);
C1 C1
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `T9b` RIGHT JOIN `T9a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
+C1
+龔
+龖
+龗
SELECT * FROM `T9b` RIGHT JOIN `T9a` ON (`T9a`.`C1` = `T9b`.`C1`);
C1 C1
龔 龔
NULL 龖
NULL 龗
-SELECT * FROM `T10a` JOIN `T10b`;
-C1 C1
-ア ア
-カ ア
-サ ア
-SELECT * FROM `T10a` INNER JOIN `T10b`;
-C1 C1
-ア ア
-カ ア
-サ ア
-SELECT * FROM `T10a` JOIN `T10b` USING (`C1`);
-C1 C1
-ア ア
-SELECT * FROM `T10a` INNER JOIN `T10b` USING (`C1`);
-C1 C1
-ア ア
-SELECT * FROM `T10a` CROSS JOIN `T10b`;
-C1 C1
-ア ア
-カ ア
-サ ア
-SELECT * FROM `T10a` LEFT JOIN `T10b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
-SELECT * FROM `T10a` LEFT JOIN `T10b` ON (`T10a`.`C1` = `T10b`.`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
-SELECT * FROM `T10b` RIGHT JOIN `T10a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
-SELECT * FROM `T10b` RIGHT JOIN `T10a` ON (`T10a`.`C1` = `T10b`.`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
-SELECT * FROM `T11a` JOIN `T11b`;
-C1 C1
-あ あ
-か あ
-さ あ
-SELECT * FROM `T11a` INNER JOIN `T11b`;
-C1 C1
-あ あ
-か あ
-さ あ
-SELECT * FROM `T11a` JOIN `T11b` USING (`C1`);
-C1 C1
-あ あ
-SELECT * FROM `T11a` INNER JOIN `T11b` USING (`C1`);
-C1 C1
-あ あ
-SELECT * FROM `T11a` CROSS JOIN `T11b`;
-C1 C1
-あ あ
-か あ
-さ あ
-SELECT * FROM `T11a` LEFT JOIN `T11b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
-SELECT * FROM `T11a` LEFT JOIN `T11b` ON (`T11a`.`C1` = `T11b`.`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
-SELECT * FROM `T11b` RIGHT JOIN `T11a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
-SELECT * FROM `T11b` RIGHT JOIN `T11a` ON (`T11a`.`C1` = `T11b`.`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
-SELECT * FROM `T12a` JOIN `T12b`;
-C1 C1
-龔 龔
-龖 龔
-龗 龔
-SELECT * FROM `T12a` INNER JOIN `T12b`;
-C1 C1
-龔 龔
-龖 龔
-龗 龔
-SELECT * FROM `T12a` JOIN `T12b` USING (`C1`);
-C1 C1
-龔 龔
-SELECT * FROM `T12a` INNER JOIN `T12b` USING (`C1`);
-C1 C1
-龔 龔
-SELECT * FROM `T12a` CROSS JOIN `T12b`;
-C1 C1
-龔 龔
-龖 龔
-龗 龔
-SELECT * FROM `T12a` LEFT JOIN `T12b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
-SELECT * FROM `T12a` LEFT JOIN `T12b` ON (`T12a`.`C1` = `T12b`.`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
-SELECT * FROM `T12b` RIGHT JOIN `T12a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
-SELECT * FROM `T12b` RIGHT JOIN `T12a` ON (`T12a`.`C1` = `T12b`.`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
DROP TABLE `T1a`;
DROP TABLE `T1b`;
DROP TABLE `T2a`;
@@ -571,9 +442,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
diff --git a/mysql-test/suite/jp/r/jp_join_ujis.result b/mysql-test/suite/jp/r/jp_join_ujis.result
index ac430cd9b5e..13de9dae9ca 100644
--- a/mysql-test/suite/jp/r/jp_join_ujis.result
+++ b/mysql-test/suite/jp/r/jp_join_ujis.result
@@ -1,15 +1,21 @@
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,24 +24,18 @@ CREATE TABLE `T2a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine
CREATE TABLE `T2b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T3a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T3b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
+CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
INSERT INTO `T1a` VALUES ('ア'),('カ'),('サ');
INSERT INTO `T1b` VALUES ('ア');
INSERT INTO `T2a` VALUES ('あ'),('か'),('さ');
@@ -54,12 +54,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
SELECT * FROM `T1a` JOIN `T1b`;
C1 C1
ア ア
@@ -71,31 +65,31 @@ SELECT * FROM `T1a` INNER JOIN `T1b`;
カ ア
サ ア
SELECT * FROM `T1a` JOIN `T1b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T1a` INNER JOIN `T1b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T1a` CROSS JOIN `T1b`;
C1 C1
ア ア
カ ア
サ ア
SELECT * FROM `T1a` LEFT JOIN `T1b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
+C1
+ア
+カ
+サ
SELECT * FROM `T1a` LEFT JOIN `T1b` ON (`T1a`.`C1` = `T1b`.`C1`);
C1 C1
ア ア
カ NULL
サ NULL
SELECT * FROM `T1b` RIGHT JOIN `T1a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
+C1
+ア
+カ
+サ
SELECT * FROM `T1b` RIGHT JOIN `T1a` ON (`T1a`.`C1` = `T1b`.`C1`);
C1 C1
ア ア
@@ -112,31 +106,31 @@ SELECT * FROM `T2a` INNER JOIN `T2b`;
か あ
さ あ
SELECT * FROM `T2a` JOIN `T2b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T2a` INNER JOIN `T2b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T2a` CROSS JOIN `T2b`;
C1 C1
あ あ
か あ
さ あ
SELECT * FROM `T2a` LEFT JOIN `T2b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
+C1
+あ
+か
+さ
SELECT * FROM `T2a` LEFT JOIN `T2b` ON (`T2a`.`C1` = `T2b`.`C1`);
C1 C1
あ あ
か NULL
さ NULL
SELECT * FROM `T2b` RIGHT JOIN `T2a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
+C1
+あ
+か
+さ
SELECT * FROM `T2b` RIGHT JOIN `T2a` ON (`T2a`.`C1` = `T2b`.`C1`);
C1 C1
あ あ
@@ -153,31 +147,31 @@ SELECT * FROM `T3a` INNER JOIN `T3b`;
龖 龔
龗 龔
SELECT * FROM `T3a` JOIN `T3b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T3a` INNER JOIN `T3b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T3a` CROSS JOIN `T3b`;
C1 C1
龔 龔
龖 龔
龗 龔
SELECT * FROM `T3a` LEFT JOIN `T3b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
+C1
+龔
+龖
+龗
SELECT * FROM `T3a` LEFT JOIN `T3b` ON (`T3a`.`C1` = `T3b`.`C1`);
C1 C1
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `T3b` RIGHT JOIN `T3a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
+C1
+龔
+龖
+龗
SELECT * FROM `T3b` RIGHT JOIN `T3a` ON (`T3a`.`C1` = `T3b`.`C1`);
C1 C1
龔 龔
@@ -194,31 +188,31 @@ SELECT * FROM `T4a` INNER JOIN `T4b`;
カ ア
サ ア
SELECT * FROM `T4a` JOIN `T4b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T4a` INNER JOIN `T4b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T4a` CROSS JOIN `T4b`;
C1 C1
ア ア
カ ア
サ ア
SELECT * FROM `T4a` LEFT JOIN `T4b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
+C1
+ア
+カ
+サ
SELECT * FROM `T4a` LEFT JOIN `T4b` ON (`T4a`.`C1` = `T4b`.`C1`);
C1 C1
ア ア
カ NULL
サ NULL
SELECT * FROM `T4b` RIGHT JOIN `T4a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
+C1
+ア
+カ
+サ
SELECT * FROM `T4b` RIGHT JOIN `T4a` ON (`T4a`.`C1` = `T4b`.`C1`);
C1 C1
ア ア
@@ -235,31 +229,31 @@ SELECT * FROM `T5a` INNER JOIN `T5b`;
か あ
さ あ
SELECT * FROM `T5a` JOIN `T5b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T5a` INNER JOIN `T5b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T5a` CROSS JOIN `T5b`;
C1 C1
あ あ
か あ
さ あ
SELECT * FROM `T5a` LEFT JOIN `T5b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
+C1
+あ
+か
+さ
SELECT * FROM `T5a` LEFT JOIN `T5b` ON (`T5a`.`C1` = `T5b`.`C1`);
C1 C1
あ あ
か NULL
さ NULL
SELECT * FROM `T5b` RIGHT JOIN `T5a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
+C1
+あ
+か
+さ
SELECT * FROM `T5b` RIGHT JOIN `T5a` ON (`T5a`.`C1` = `T5b`.`C1`);
C1 C1
あ あ
@@ -276,31 +270,31 @@ SELECT * FROM `T6a` INNER JOIN `T6b`;
龖 龔
龗 龔
SELECT * FROM `T6a` JOIN `T6b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T6a` INNER JOIN `T6b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T6a` CROSS JOIN `T6b`;
C1 C1
龔 龔
龖 龔
龗 龔
SELECT * FROM `T6a` LEFT JOIN `T6b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
+C1
+龔
+龖
+龗
SELECT * FROM `T6a` LEFT JOIN `T6b` ON (`T6a`.`C1` = `T6b`.`C1`);
C1 C1
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `T6b` RIGHT JOIN `T6a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
+C1
+龔
+龖
+龗
SELECT * FROM `T6b` RIGHT JOIN `T6a` ON (`T6a`.`C1` = `T6b`.`C1`);
C1 C1
龔 龔
@@ -317,31 +311,31 @@ SELECT * FROM `T7a` INNER JOIN `T7b`;
カ ア
サ ア
SELECT * FROM `T7a` JOIN `T7b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T7a` INNER JOIN `T7b` USING (`C1`);
-C1 C1
-ア ア
+C1
+ア
SELECT * FROM `T7a` CROSS JOIN `T7b`;
C1 C1
ア ア
カ ア
サ ア
SELECT * FROM `T7a` LEFT JOIN `T7b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
+C1
+ア
+カ
+サ
SELECT * FROM `T7a` LEFT JOIN `T7b` ON (`T7a`.`C1` = `T7b`.`C1`);
C1 C1
ア ア
カ NULL
サ NULL
SELECT * FROM `T7b` RIGHT JOIN `T7a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
+C1
+ア
+カ
+サ
SELECT * FROM `T7b` RIGHT JOIN `T7a` ON (`T7a`.`C1` = `T7b`.`C1`);
C1 C1
ア ア
@@ -358,31 +352,31 @@ SELECT * FROM `T8a` INNER JOIN `T8b`;
か あ
さ あ
SELECT * FROM `T8a` JOIN `T8b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T8a` INNER JOIN `T8b` USING (`C1`);
-C1 C1
-あ あ
+C1
+あ
SELECT * FROM `T8a` CROSS JOIN `T8b`;
C1 C1
あ あ
か あ
さ あ
SELECT * FROM `T8a` LEFT JOIN `T8b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
+C1
+あ
+か
+さ
SELECT * FROM `T8a` LEFT JOIN `T8b` ON (`T8a`.`C1` = `T8b`.`C1`);
C1 C1
あ あ
か NULL
さ NULL
SELECT * FROM `T8b` RIGHT JOIN `T8a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
+C1
+あ
+か
+さ
SELECT * FROM `T8b` RIGHT JOIN `T8a` ON (`T8a`.`C1` = `T8b`.`C1`);
C1 C1
あ あ
@@ -399,159 +393,36 @@ SELECT * FROM `T9a` INNER JOIN `T9b`;
龖 龔
龗 龔
SELECT * FROM `T9a` JOIN `T9b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T9a` INNER JOIN `T9b` USING (`C1`);
-C1 C1
-龔 龔
+C1
+龔
SELECT * FROM `T9a` CROSS JOIN `T9b`;
C1 C1
龔 龔
龖 龔
龗 龔
SELECT * FROM `T9a` LEFT JOIN `T9b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
+C1
+龔
+龖
+龗
SELECT * FROM `T9a` LEFT JOIN `T9b` ON (`T9a`.`C1` = `T9b`.`C1`);
C1 C1
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `T9b` RIGHT JOIN `T9a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
+C1
+龔
+龖
+龗
SELECT * FROM `T9b` RIGHT JOIN `T9a` ON (`T9a`.`C1` = `T9b`.`C1`);
C1 C1
龔 龔
NULL 龖
NULL 龗
-SELECT * FROM `T10a` JOIN `T10b`;
-C1 C1
-ア ア
-カ ア
-サ ア
-SELECT * FROM `T10a` INNER JOIN `T10b`;
-C1 C1
-ア ア
-カ ア
-サ ア
-SELECT * FROM `T10a` JOIN `T10b` USING (`C1`);
-C1 C1
-ア ア
-SELECT * FROM `T10a` INNER JOIN `T10b` USING (`C1`);
-C1 C1
-ア ア
-SELECT * FROM `T10a` CROSS JOIN `T10b`;
-C1 C1
-ア ア
-カ ア
-サ ア
-SELECT * FROM `T10a` LEFT JOIN `T10b` USING (`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
-SELECT * FROM `T10a` LEFT JOIN `T10b` ON (`T10a`.`C1` = `T10b`.`C1`);
-C1 C1
-ア ア
-カ NULL
-サ NULL
-SELECT * FROM `T10b` RIGHT JOIN `T10a` USING (`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
-SELECT * FROM `T10b` RIGHT JOIN `T10a` ON (`T10a`.`C1` = `T10b`.`C1`);
-C1 C1
-ア ア
-NULL カ
-NULL サ
-SELECT * FROM `T11a` JOIN `T11b`;
-C1 C1
-あ あ
-か あ
-さ あ
-SELECT * FROM `T11a` INNER JOIN `T11b`;
-C1 C1
-あ あ
-か あ
-さ あ
-SELECT * FROM `T11a` JOIN `T11b` USING (`C1`);
-C1 C1
-あ あ
-SELECT * FROM `T11a` INNER JOIN `T11b` USING (`C1`);
-C1 C1
-あ あ
-SELECT * FROM `T11a` CROSS JOIN `T11b`;
-C1 C1
-あ あ
-か あ
-さ あ
-SELECT * FROM `T11a` LEFT JOIN `T11b` USING (`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
-SELECT * FROM `T11a` LEFT JOIN `T11b` ON (`T11a`.`C1` = `T11b`.`C1`);
-C1 C1
-あ あ
-か NULL
-さ NULL
-SELECT * FROM `T11b` RIGHT JOIN `T11a` USING (`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
-SELECT * FROM `T11b` RIGHT JOIN `T11a` ON (`T11a`.`C1` = `T11b`.`C1`);
-C1 C1
-あ あ
-NULL か
-NULL さ
-SELECT * FROM `T12a` JOIN `T12b`;
-C1 C1
-龔 龔
-龖 龔
-龗 龔
-SELECT * FROM `T12a` INNER JOIN `T12b`;
-C1 C1
-龔 龔
-龖 龔
-龗 龔
-SELECT * FROM `T12a` JOIN `T12b` USING (`C1`);
-C1 C1
-龔 龔
-SELECT * FROM `T12a` INNER JOIN `T12b` USING (`C1`);
-C1 C1
-龔 龔
-SELECT * FROM `T12a` CROSS JOIN `T12b`;
-C1 C1
-龔 龔
-龖 龔
-龗 龔
-SELECT * FROM `T12a` LEFT JOIN `T12b` USING (`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
-SELECT * FROM `T12a` LEFT JOIN `T12b` ON (`T12a`.`C1` = `T12b`.`C1`);
-C1 C1
-龔 龔
-龖 NULL
-龗 NULL
-SELECT * FROM `T12b` RIGHT JOIN `T12a` USING (`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
-SELECT * FROM `T12b` RIGHT JOIN `T12a` ON (`T12a`.`C1` = `T12b`.`C1`);
-C1 C1
-龔 龔
-NULL 龖
-NULL 龗
DROP TABLE `T1a`;
DROP TABLE `T1b`;
DROP TABLE `T2a`;
@@ -570,9 +441,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
diff --git a/mysql-test/suite/jp/r/jp_join_utf8.result b/mysql-test/suite/jp/r/jp_join_utf8.result
index 716e97a2bb3..a4781c0fece 100644
--- a/mysql-test/suite/jp/r/jp_join_utf8.result
+++ b/mysql-test/suite/jp/r/jp_join_utf8.result
@@ -1,41 +1,41 @@
-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 `鐚器鐚`;
+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`;
SET NAMES utf8;
SET character_set_database = utf8;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器a` VALUES ('鐔'),('鐔'),('鐔');
INSERT INTO `鐚器b` VALUES ('鐔');
INSERT INTO `鐚器a` VALUES (''),(''),('');
@@ -54,12 +54,6 @@ 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 ('蘊');
SELECT * FROM `鐚器a` JOIN `鐚器b`;
鐚o 鐚o
鐔 鐔
@@ -71,31 +65,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
鐔 鐔
鐔 鐔
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
+鐚o
+鐔
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
+鐚o
+鐔
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
鐔 鐔
鐔 鐔
鐔 鐔
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-鐔 NULL
-鐔 NULL
+鐚o
+鐔
+鐔
+鐔
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
鐔 鐔
鐔 NULL
鐔 NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-NULL 鐔
-NULL 鐔
+鐚o
+鐔
+鐔
+鐔
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
鐔 鐔
@@ -112,31 +106,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
+鐚o
+
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
+鐚o
+
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
- NULL
- NULL
+鐚o
+
+
+
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
NULL
NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-
-NULL
-NULL
+鐚o
+
+
+
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
@@ -153,31 +147,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
蘊 蘊
蘊 蘊
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
+鐚o
+蘊
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
+鐚o
+蘊
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
蘊 蘊
蘊 蘊
蘊 蘊
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-蘊 NULL
-蘊 NULL
+鐚o
+蘊
+蘊
+蘊
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
蘊 蘊
蘊 NULL
蘊 NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-NULL 蘊
-NULL 蘊
+鐚o
+蘊
+蘊
+蘊
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
蘊 蘊
@@ -194,31 +188,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
鐔 鐔
鐔 鐔
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
+鐚o
+鐔
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
+鐚o
+鐔
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
鐔 鐔
鐔 鐔
鐔 鐔
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-鐔 NULL
-鐔 NULL
+鐚o
+鐔
+鐔
+鐔
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
鐔 鐔
鐔 NULL
鐔 NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-NULL 鐔
-NULL 鐔
+鐚o
+鐔
+鐔
+鐔
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
鐔 鐔
@@ -235,31 +229,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
+鐚o
+
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
+鐚o
+
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
- NULL
- NULL
+鐚o
+
+
+
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
NULL
NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-
-NULL
-NULL
+鐚o
+
+
+
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
@@ -276,31 +270,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
蘊 蘊
蘊 蘊
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
+鐚o
+蘊
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
+鐚o
+蘊
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
蘊 蘊
蘊 蘊
蘊 蘊
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-蘊 NULL
-蘊 NULL
+鐚o
+蘊
+蘊
+蘊
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
蘊 蘊
蘊 NULL
蘊 NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-NULL 蘊
-NULL 蘊
+鐚o
+蘊
+蘊
+蘊
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
蘊 蘊
@@ -317,31 +311,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
鐔 鐔
鐔 鐔
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
+鐚o
+鐔
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
+鐚o
+鐔
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
鐔 鐔
鐔 鐔
鐔 鐔
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-鐔 NULL
-鐔 NULL
+鐚o
+鐔
+鐔
+鐔
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
鐔 鐔
鐔 NULL
鐔 NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-NULL 鐔
-NULL 鐔
+鐚o
+鐔
+鐔
+鐔
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
鐔 鐔
@@ -358,31 +352,31 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
+鐚o
+
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
+鐚o
+
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-
- NULL
- NULL
+鐚o
+
+
+
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
NULL
NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-
-NULL
-NULL
+鐚o
+
+
+
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
@@ -399,159 +393,36 @@ SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
蘊 蘊
蘊 蘊
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
+鐚o
+蘊
SELECT * FROM `鐚器a` INNER JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
+鐚o
+蘊
SELECT * FROM `鐚器a` CROSS JOIN `鐚器b`;
鐚o 鐚o
蘊 蘊
蘊 蘊
蘊 蘊
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-蘊 NULL
-蘊 NULL
+鐚o
+蘊
+蘊
+蘊
SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
蘊 蘊
蘊 NULL
蘊 NULL
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-NULL 蘊
-NULL 蘊
+鐚o
+蘊
+蘊
+蘊
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
鐚o 鐚o
蘊 蘊
NULL 蘊
NULL 蘊
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b`;
-鐚o 鐚o
-鐔 鐔
-鐔 鐔
-鐔 鐔
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b`;
-鐚o 鐚o
-鐔 鐔
-鐔 鐔
-鐔 鐔
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-SELECT * FROM `鐚器鐚a` CROSS JOIN `鐚器鐚b`;
-鐚o 鐚o
-鐔 鐔
-鐔 鐔
-鐔 鐔
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-鐔 NULL
-鐔 NULL
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o 鐚o
-鐔 鐔
-鐔 NULL
-鐔 NULL
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` USING (`鐚o`);
-鐚o 鐚o
-鐔 鐔
-NULL 鐔
-NULL 鐔
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o 鐚o
-鐔 鐔
-NULL 鐔
-NULL 鐔
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b`;
-鐚o 鐚o
-
-
-
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b`;
-鐚o 鐚o
-
-
-
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-
-SELECT * FROM `鐚器鐚a` CROSS JOIN `鐚器鐚b`;
-鐚o 鐚o
-
-
-
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-
- NULL
- NULL
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o 鐚o
-
- NULL
- NULL
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` USING (`鐚o`);
-鐚o 鐚o
-
-NULL
-NULL
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o 鐚o
-
-NULL
-NULL
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b`;
-鐚o 鐚o
-蘊 蘊
-蘊 蘊
-蘊 蘊
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b`;
-鐚o 鐚o
-蘊 蘊
-蘊 蘊
-蘊 蘊
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-SELECT * FROM `鐚器鐚a` CROSS JOIN `鐚器鐚b`;
-鐚o 鐚o
-蘊 蘊
-蘊 蘊
-蘊 蘊
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-蘊 NULL
-蘊 NULL
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o 鐚o
-蘊 蘊
-蘊 NULL
-蘊 NULL
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` USING (`鐚o`);
-鐚o 鐚o
-蘊 蘊
-NULL 蘊
-NULL 蘊
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o 鐚o
-蘊 蘊
-NULL 蘊
-NULL 蘊
DROP TABLE `鐚器a`;
DROP TABLE `鐚器b`;
DROP TABLE `鐚器a`;
@@ -570,9 +441,3 @@ 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`;
diff --git a/mysql-test/suite/jp/r/jp_left_sjis.result b/mysql-test/suite/jp/r/jp_left_sjis.result
index ae5564186ab..037fb05289e 100644
--- a/mysql-test/suite/jp/r/jp_left_sjis.result
+++ b/mysql-test/suite/jp/r/jp_left_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sR` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
SELECT `bP`, LEFT(`bP`,0) FROM `sP`;
bP LEFT(`bP`,0)
@@ -468,150 +459,6 @@ SELECT `bP`, LEFT(`bP`,5) FROM `sX`;
\\ \\
\ \
-SELECT `bP`, LEFT(`bP`,0) FROM `sPO`;
-bP LEFT(`bP`,0)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, LEFT(`bP`,1) FROM `sPO`;
-bP LEFT(`bP`,1)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, LEFT(`bP`,2) FROM `sPO`;
-bP LEFT(`bP`,2)
-渦慨 渦
-渦慨 渦
-渦 渦
-渦 渦
-
-
-SELECT `bP`, LEFT(`bP`,3) FROM `sPO`;
-bP LEFT(`bP`,3)
-渦慨 渦
-渦慨 渦
-渦 渦
-渦 渦
-
-
-SELECT `bP`, LEFT(`bP`,4) FROM `sPO`;
-bP LEFT(`bP`,4)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, LEFT(`bP`,5) FROM `sPO`;
-bP LEFT(`bP`,5)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, LEFT(`bP`,0) FROM `sPP`;
-bP LEFT(`bP`,0)
-
-
-
-
-
-
-SELECT `bP`, LEFT(`bP`,1) FROM `sPP`;
-bP LEFT(`bP`,1)
-
-
-
-
-
-
-SELECT `bP`, LEFT(`bP`,2) FROM `sPP`;
-bP LEFT(`bP`,2)
-
-
-
-
-
-
-SELECT `bP`, LEFT(`bP`,3) FROM `sPP`;
-bP LEFT(`bP`,3)
-
-
-
-
-
-
-SELECT `bP`, LEFT(`bP`,4) FROM `sPP`;
-bP LEFT(`bP`,4)
-
-
-
-
-
-
-SELECT `bP`, LEFT(`bP`,5) FROM `sPP`;
-bP LEFT(`bP`,5)
-
-
-
-
-
-
-SELECT `bP`, LEFT(`bP`,0) FROM `sPQ`;
-bP LEFT(`bP`,0)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, LEFT(`bP`,1) FROM `sPQ`;
-bP LEFT(`bP`,1)
-\\\\\ \
-\\\\ \
-\\\ \
-\\ \
-\ \
-
-SELECT `bP`, LEFT(`bP`,2) FROM `sPQ`;
-bP LEFT(`bP`,2)
-\\\\\ \\
-\\\\ \\
-\\\ \\
-\\ \\
-\ \
-
-SELECT `bP`, LEFT(`bP`,3) FROM `sPQ`;
-bP LEFT(`bP`,3)
-\\\\\ \\\
-\\\\ \\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, LEFT(`bP`,4) FROM `sPQ`;
-bP LEFT(`bP`,4)
-\\\\\ \\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, LEFT(`bP`,5) FROM `sPQ`;
-bP LEFT(`bP`,5)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -621,6 +468,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_left_ucs2.result b/mysql-test/suite/jp/r/jp_left_ucs2.result
index 349883e9064..ca77bf7f16c 100644
--- a/mysql-test/suite/jp/r/jp_left_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_left_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -34,9 +28,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, LEFT(`C1`,0) FROM `T1`;
C1 LEFT(`C1`,0)
@@ -469,150 +460,6 @@ SELECT `C1`, LEFT(`C1`,5) FROM `T9`;
龔龖 龔龖
龔 龔
-SELECT `C1`, LEFT(`C1`,0) FROM `T10`;
-C1 LEFT(`C1`,0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, LEFT(`C1`,1) FROM `T10`;
-C1 LEFT(`C1`,1)
-アイウエオ ア
-アイウエ ア
-アイウ ア
-アイ ア
-ア ア
-
-SELECT `C1`, LEFT(`C1`,2) FROM `T10`;
-C1 LEFT(`C1`,2)
-アイウエオ アイ
-アイウエ アイ
-アイウ アイ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,3) FROM `T10`;
-C1 LEFT(`C1`,3)
-アイウエオ アイウ
-アイウエ アイウ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,4) FROM `T10`;
-C1 LEFT(`C1`,4)
-アイウエオ アイウエ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,5) FROM `T10`;
-C1 LEFT(`C1`,5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,0) FROM `T11`;
-C1 LEFT(`C1`,0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, LEFT(`C1`,1) FROM `T11`;
-C1 LEFT(`C1`,1)
-あいうえお あ
-あいうえ あ
-あいう あ
-あい あ
-あ あ
-
-SELECT `C1`, LEFT(`C1`,2) FROM `T11`;
-C1 LEFT(`C1`,2)
-あいうえお あい
-あいうえ あい
-あいう あい
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,3) FROM `T11`;
-C1 LEFT(`C1`,3)
-あいうえお あいう
-あいうえ あいう
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,4) FROM `T11`;
-C1 LEFT(`C1`,4)
-あいうえお あいうえ
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,5) FROM `T11`;
-C1 LEFT(`C1`,5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,0) FROM `T12`;
-C1 LEFT(`C1`,0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, LEFT(`C1`,1) FROM `T12`;
-C1 LEFT(`C1`,1)
-龔龖龗龞龡 龔
-龔龖龗龞 龔
-龔龖龗 龔
-龔龖 龔
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,2) FROM `T12`;
-C1 LEFT(`C1`,2)
-龔龖龗龞龡 龔龖
-龔龖龗龞 龔龖
-龔龖龗 龔龖
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,3) FROM `T12`;
-C1 LEFT(`C1`,3)
-龔龖龗龞龡 龔龖龗
-龔龖龗龞 龔龖龗
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,4) FROM `T12`;
-C1 LEFT(`C1`,4)
-龔龖龗龞龡 龔龖龗龞
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,5) FROM `T12`;
-C1 LEFT(`C1`,5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -622,6 +469,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_left_ujis.result b/mysql-test/suite/jp/r/jp_left_ujis.result
index bd3efc67eec..50483f858ce 100644
--- a/mysql-test/suite/jp/r/jp_left_ujis.result
+++ b/mysql-test/suite/jp/r/jp_left_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -33,9 +27,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, LEFT(`C1`,0) FROM `T1`;
C1 LEFT(`C1`,0)
@@ -468,150 +459,6 @@ SELECT `C1`, LEFT(`C1`,5) FROM `T9`;
龔龖 龔龖
龔 龔
-SELECT `C1`, LEFT(`C1`,0) FROM `T10`;
-C1 LEFT(`C1`,0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, LEFT(`C1`,1) FROM `T10`;
-C1 LEFT(`C1`,1)
-アイウエオ ア
-アイウエ ア
-アイウ ア
-アイ ア
-ア ア
-
-SELECT `C1`, LEFT(`C1`,2) FROM `T10`;
-C1 LEFT(`C1`,2)
-アイウエオ アイ
-アイウエ アイ
-アイウ アイ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,3) FROM `T10`;
-C1 LEFT(`C1`,3)
-アイウエオ アイウ
-アイウエ アイウ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,4) FROM `T10`;
-C1 LEFT(`C1`,4)
-アイウエオ アイウエ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,5) FROM `T10`;
-C1 LEFT(`C1`,5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, LEFT(`C1`,0) FROM `T11`;
-C1 LEFT(`C1`,0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, LEFT(`C1`,1) FROM `T11`;
-C1 LEFT(`C1`,1)
-あいうえお あ
-あいうえ あ
-あいう あ
-あい あ
-あ あ
-
-SELECT `C1`, LEFT(`C1`,2) FROM `T11`;
-C1 LEFT(`C1`,2)
-あいうえお あい
-あいうえ あい
-あいう あい
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,3) FROM `T11`;
-C1 LEFT(`C1`,3)
-あいうえお あいう
-あいうえ あいう
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,4) FROM `T11`;
-C1 LEFT(`C1`,4)
-あいうえお あいうえ
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,5) FROM `T11`;
-C1 LEFT(`C1`,5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, LEFT(`C1`,0) FROM `T12`;
-C1 LEFT(`C1`,0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, LEFT(`C1`,1) FROM `T12`;
-C1 LEFT(`C1`,1)
-龔龖龗龞龡 龔
-龔龖龗龞 龔
-龔龖龗 龔
-龔龖 龔
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,2) FROM `T12`;
-C1 LEFT(`C1`,2)
-龔龖龗龞龡 龔龖
-龔龖龗龞 龔龖
-龔龖龗 龔龖
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,3) FROM `T12`;
-C1 LEFT(`C1`,3)
-龔龖龗龞龡 龔龖龗
-龔龖龗龞 龔龖龗
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,4) FROM `T12`;
-C1 LEFT(`C1`,4)
-龔龖龗龞龡 龔龖龗龞
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, LEFT(`C1`,5) FROM `T12`;
-C1 LEFT(`C1`,5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -621,6 +468,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_left_utf8.result b/mysql-test/suite/jp/r/jp_left_utf8.result
index 62cca976fe0..cfc1d8532e2 100644
--- a/mysql-test/suite/jp/r/jp_left_utf8.result
+++ b/mysql-test/suite/jp/r/jp_left_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器`;
鐚o LEFT(`鐚o`,0)
@@ -468,150 +459,6 @@ SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器`;
蘊蘊 蘊蘊
蘊 蘊
-SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,0)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, LEFT(`鐚o`,1) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,1)
-鐔縁讐鐔鰹輯鐔 鐔
-鐔縁讐鐔鰹輯 鐔
-鐔縁讐鐔 鐔
-鐔縁讐 鐔
-鐔 鐔
-
-SELECT `鐚o`, LEFT(`鐚o`,2) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,2)
-鐔縁讐鐔鰹輯鐔 鐔縁讐
-鐔縁讐鐔鰹輯 鐔縁讐
-鐔縁讐鐔 鐔縁讐
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,3)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,4)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,5)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,0)
-
-
-
-
-
-
-SELECT `鐚o`, LEFT(`鐚o`,1) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,1)
-
-
-
-
-
-
-SELECT `鐚o`, LEFT(`鐚o`,2) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,2)
-
-
-
-
-
-
-SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,3)
-
-
-
-
-
-
-SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,4)
-
-
-
-
-
-
-SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,5)
-
-
-
-
-
-
-SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,0)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, LEFT(`鐚o`,1) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,1)
-蘊蘊蘊蘊蘊 蘊
-蘊蘊蘊蘊 蘊
-蘊蘊蘊 蘊
-蘊蘊 蘊
-蘊 蘊
-
-SELECT `鐚o`, LEFT(`鐚o`,2) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,2)
-蘊蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊 蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,3)
-蘊蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,4)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器鐚`;
-鐚o LEFT(`鐚o`,5)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -621,6 +468,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_length_sjis.result b/mysql-test/suite/jp/r/jp_length_sjis.result
index 51055e09233..5de256962c9 100644
--- a/mysql-test/suite/jp/r/jp_length_sjis.result
+++ b/mysql-test/suite/jp/r/jp_length_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sR` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
SELECT `bP`, LENGTH(`bP`) FROM `sP`;
bP LENGTH(`bP`)
0
@@ -108,30 +99,6 @@ SELECT `bP`, LENGTH(`bP`) FROM `sX`;
\\ 4
\ 2
0
-SELECT `bP`, LENGTH(`bP`) FROM `sPO`;
-bP LENGTH(`bP`)
-渦慨 5
-渦慨 4
-渦 3
-渦 2
- 1
- 0
-SELECT `bP`, LENGTH(`bP`) FROM `sPP`;
-bP LENGTH(`bP`)
- 10
- 8
- 6
- 4
- 2
- 0
-SELECT `bP`, LENGTH(`bP`) FROM `sPQ`;
-bP LENGTH(`bP`)
-\\\\\ 10
-\\\\ 8
-\\\ 6
-\\ 4
-\ 2
- 0
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -141,6 +108,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_length_ucs2.result b/mysql-test/suite/jp/r/jp_length_ucs2.result
index 569e012f7d3..6c5cb3a74ba 100644
--- a/mysql-test/suite/jp/r/jp_length_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_length_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -34,9 +28,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, LENGTH(`C1`) FROM `T1`;
C1 LENGTH(`C1`)
0
@@ -109,30 +100,6 @@ SELECT `C1`, LENGTH(`C1`) FROM `T9`;
龔龖 4
龔 2
0
-SELECT `C1`, LENGTH(`C1`) FROM `T10`;
-C1 LENGTH(`C1`)
-アイウエオ 10
-アイウエ 8
-アイウ 6
-アイ 4
-ア 2
- 0
-SELECT `C1`, LENGTH(`C1`) FROM `T11`;
-C1 LENGTH(`C1`)
-あいうえお 10
-あいうえ 8
-あいう 6
-あい 4
-あ 2
- 0
-SELECT `C1`, LENGTH(`C1`) FROM `T12`;
-C1 LENGTH(`C1`)
-龔龖龗龞龡 10
-龔龖龗龞 8
-龔龖龗 6
-龔龖 4
-龔 2
- 0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -142,6 +109,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_length_ujis.result b/mysql-test/suite/jp/r/jp_length_ujis.result
index 288cc06a2ef..3b3d3d33eff 100644
--- a/mysql-test/suite/jp/r/jp_length_ujis.result
+++ b/mysql-test/suite/jp/r/jp_length_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -33,9 +27,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, LENGTH(`C1`) FROM `T1`;
C1 LENGTH(`C1`)
0
@@ -108,30 +99,6 @@ SELECT `C1`, LENGTH(`C1`) FROM `T9`;
龔龖 6
龔 3
0
-SELECT `C1`, LENGTH(`C1`) FROM `T10`;
-C1 LENGTH(`C1`)
-アイウエオ 10
-アイウエ 8
-アイウ 6
-アイ 4
-ア 2
- 0
-SELECT `C1`, LENGTH(`C1`) FROM `T11`;
-C1 LENGTH(`C1`)
-あいうえお 10
-あいうえ 8
-あいう 6
-あい 4
-あ 2
- 0
-SELECT `C1`, LENGTH(`C1`) FROM `T12`;
-C1 LENGTH(`C1`)
-龔龖龗龞龡 15
-龔龖龗龞 12
-龔龖龗 9
-龔龖 6
-龔 3
- 0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -141,6 +108,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_length_utf8.result b/mysql-test/suite/jp/r/jp_length_utf8.result
index 11b4c523053..6d4d4e439e9 100644
--- a/mysql-test/suite/jp/r/jp_length_utf8.result
+++ b/mysql-test/suite/jp/r/jp_length_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
鐚o LENGTH(`鐚o`)
0
@@ -108,30 +99,6 @@ SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
蘊蘊 6
蘊 3
0
-SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器鐚`;
-鐚o LENGTH(`鐚o`)
-鐔縁讐鐔鰹輯鐔 15
-鐔縁讐鐔鰹輯 12
-鐔縁讐鐔 9
-鐔縁讐 6
-鐔 3
- 0
-SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器鐚`;
-鐚o LENGTH(`鐚o`)
- 15
- 12
- 9
- 6
- 3
- 0
-SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器鐚`;
-鐚o LENGTH(`鐚o`)
-蘊蘊蘊蘊蘊 15
-蘊蘊蘊蘊 12
-蘊蘊蘊 9
-蘊蘊 6
-蘊 3
- 0
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -141,6 +108,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_like_sjis.result b/mysql-test/suite/jp/r/jp_like_sjis.result
index a8145fb08f0..0d9cfff5557 100644
--- a/mysql-test/suite/jp/r/jp_like_sjis.result
+++ b/mysql-test/suite/jp/r/jp_like_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engi
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sP`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sQ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sR`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
SELECT * FROM `sP` WHERE `bP` LIKE ' %';
bP
!"#$%&'()*+,-./
@@ -258,56 +249,6 @@ SELECT * FROM `sX` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\
SELECT * FROM `sX` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\\';
bP
\\\\\\\\\\\\\\\\\\\\
-SELECT * FROM `sPO` WHERE `bP` LIKE ' %';
-bP
- !"#$%&'()*+,-./
- 、ぅΗ┤
-SELECT * FROM `sPO` WHERE `bP` LIKE '% %';
-bP
- !"#$%&'()*+,-./
- 、ぅΗ┤
-SELECT * FROM `sPO` WHERE `bP` LIKE '% ';
-bP
-SELECT * FROM `sPO` WHERE `bP` LIKE '%';
-bP
-請唾津毒班碧麺力
-SELECT * FROM `sPO` WHERE `bP` LIKE '%忤%';
-bP
-佰厶壞嶐慵无槿渤
-SELECT * FROM `sPO` WHERE `bP` LIKE '%';
-bP
-葦桶患況弦沙悉梢
-SELECT * FROM `sPO` WHERE `bP` LIKE '%葦桶患況弦沙悉梢';
-bP
-葦桶患況弦沙悉梢
-SELECT * FROM `sPP` WHERE `bP` LIKE '@%';
-bP
-@@ABCDEFGHIJKLMNOPQR
-SELECT * FROM `sPP` WHERE `bP` LIKE '%@%';
-bP
-@@ABCDEFGHIJKLMNOPQR
-EEEEEEEEEE@
-SELECT * FROM `sPP` WHERE `bP` LIKE '%@';
-bP
-EEEEEEEEEE@
-SELECT * FROM `sPP` WHERE `bP` LIKE '%';
-bP
-
-SELECT * FROM `sPP` WHERE `bP` LIKE '%%';
-bP
-E
-SELECT * FROM `sPP` WHERE `bP` LIKE '%';
-bP
-
-SELECT * FROM `sPQ` WHERE `bP` LIKE '\%';
-bP
-\\\\\\\\\\\\\\\\\\\\
-SELECT * FROM `sPQ` WHERE `bP` LIKE '%\%';
-bP
-\\\\\\\\\\\\\\\\\\\\
-SELECT * FROM `sPQ` WHERE `bP` LIKE '%\';
-bP
-\\\\\\\\\\\\\\\\\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -317,6 +258,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_like_ucs2.result b/mysql-test/suite/jp/r/jp_like_ucs2.result
index 229ef12a118..5b0f5171b94 100644
--- a/mysql-test/suite/jp/r/jp_like_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_like_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES
('PQRSTUVWXYZ[\\]^_')
,(' 。「」、・ヲァィゥェォャュョッ')
@@ -100,31 +94,6 @@ INSERT INTO `T9` VALUES
,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
-('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-INSERT INTO `T11` VALUES
-('  、。,.・:;?!゛゜´`¨^ ̄_ヽ')
-,('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('とどなにぬねのはばぱひびぴふぶぷへべぺほ')
-,('ぼぽまみむめもゃやゅゆょよらりるれろゎわ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-INSERT INTO `T12` VALUES
-('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
SELECT * FROM `T1` WHERE `C1` LIKE ' %';
C1
。「」、・ヲァィゥェォャュョッ
@@ -335,76 +304,6 @@ SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃
SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
C1
鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T10` WHERE `C1` LIKE ' %';
-C1
- 。「」、・ヲァィゥェォャュョッ
-SELECT * FROM `T10` WHERE `C1` LIKE '% %';
-C1
- 。「」、・ヲァィゥェォャュョッ
-SELECT * FROM `T10` WHERE `C1` LIKE '% ';
-C1
-SELECT * FROM `T10` WHERE `C1` LIKE 'タ%';
-C1
-タチツテトナニヌネノハヒフヘホマ
-SELECT * FROM `T10` WHERE `C1` LIKE '%ラリ%';
-C1
-ミムメモヤユヨラリルレロワン゙゚
-SELECT * FROM `T10` WHERE `C1` LIKE '%ソ';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T10` WHERE `C1` LIKE 'ーアイウエオカキクケコサシスセソ%';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T10` WHERE `C1` LIKE '%ーアイウエオカキクケコサシスセソ%';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T10` WHERE `C1` LIKE '%ーアイウエオカキクケコサシスセソ';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T11` WHERE `C1` LIKE ' %';
-C1
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ
-SELECT * FROM `T11` WHERE `C1` LIKE '% %';
-C1
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ
-SELECT * FROM `T11` WHERE `C1` LIKE '% ';
-C1
-SELECT * FROM `T11` WHERE `C1` LIKE 'と%';
-C1
-とどなにぬねのはばぱひびぴふぶぷへべぺほ
-SELECT * FROM `T11` WHERE `C1` LIKE '%あ%';
-C1
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-SELECT * FROM `T11` WHERE `C1` LIKE '%わ';
-C1
-ぼぽまみむめもゃやゅゆょよらりるれろゎわ
-SELECT * FROM `T11` WHERE `C1` LIKE '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ%';
-C1
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-SELECT * FROM `T11` WHERE `C1` LIKE '%・ぁあぃいぅうぇえぉおかがきぎくぐけげこ%';
-C1
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-SELECT * FROM `T11` WHERE `C1` LIKE '%・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
-C1
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-SELECT * FROM `T12` WHERE `C1` LIKE '鼫%';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼺%';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T12` WHERE `C1` LIKE '%齖';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T12` WHERE `C1` LIKE '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -414,6 +313,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_like_ujis.result b/mysql-test/suite/jp/r/jp_like_ujis.result
index 5d623df0384..a0cf0264dfb 100644
--- a/mysql-test/suite/jp/r/jp_like_ujis.result
+++ b/mysql-test/suite/jp/r/jp_like_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T1`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T2`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T3`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
SELECT * FROM `T1` WHERE `C1` LIKE ' %';
C1
!"#$%&'()*+,-./
@@ -258,56 +249,6 @@ SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃
SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
C1
鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T10` WHERE `C1` LIKE ' %';
-C1
- !"#$%&'()*+,-./
- 。「」、・ヲァィゥェォャュョッ
-SELECT * FROM `T10` WHERE `C1` LIKE '% %';
-C1
- !"#$%&'()*+,-./
- 。「」、・ヲァィゥェォャュョッ
-SELECT * FROM `T10` WHERE `C1` LIKE '% ';
-C1
-SELECT * FROM `T10` WHERE `C1` LIKE 'タ%';
-C1
-タチツテトナニヌネノハヒフヘホマ
-SELECT * FROM `T10` WHERE `C1` LIKE '%ラリ%';
-C1
-ミムメモヤユヨラリルレロワン゙゚
-SELECT * FROM `T10` WHERE `C1` LIKE '%ソ';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T10` WHERE `C1` LIKE '%ーアイウエオカキクケコサシスセソ';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T11` WHERE `C1` LIKE ' %';
-C1
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ
-SELECT * FROM `T11` WHERE `C1` LIKE '% %';
-C1
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ
-・・ʼn♯♭♪†‡¶・・・・◯・・・・ 
-SELECT * FROM `T11` WHERE `C1` LIKE '% ';
-C1
-・・ʼn♯♭♪†‡¶・・・・◯・・・・ 
-SELECT * FROM `T11` WHERE `C1` LIKE 'と%';
-C1
-とどなにぬねのはばぱひびぴふぶぷへべぺほ
-SELECT * FROM `T11` WHERE `C1` LIKE '%あ%';
-C1
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-SELECT * FROM `T11` WHERE `C1` LIKE '%わ';
-C1
-ぼぽまみむめもゃやゅゆょよらりるれろゎわ
-SELECT * FROM `T12` WHERE `C1` LIKE '鼫%';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼺%';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T12` WHERE `C1` LIKE '%齖';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -317,6 +258,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_like_utf8.result b/mysql-test/suite/jp/r/jp_like_utf8.result
index bf48da79951..2ac95ba4d6a 100644
--- a/mysql-test/suite/jp/r/jp_like_utf8.result
+++ b/mysql-test/suite/jp/r/jp_like_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
SELECT * FROM `鐚器` WHERE `鐚o` LIKE ' %';
鐚o
!"#$%&'()*+,-./
@@ -258,53 +249,6 @@ SELECT * FROM `鐚器` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
鐚o
藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE ' %';
-鐚o
- !"#$%&'()*+,-./
- 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '% %';
-鐚o
- !"#$%&'()*+,-./
- 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '% ';
-鐚o
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '鐓%';
-鐚o
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%鐓鐓%';
-鐚o
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%鐔';
-鐚o
-鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-鐚o
-鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%%';
-鐚o
-鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥
-祉獅謂‖吟祉祉祉獅祉祉祉祉
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-鐚o
-祉獅謂‖吟祉祉祉獅祉祉祉祉
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-鐚o
-違宴蚊潟眼泣吟激吾鴻冴
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%%';
-鐚o
-祉
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-鐚o
-若純障帥
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '藜%';
-鐚o
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%藜%';
-鐚o
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%藹';
-鐚o
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -314,6 +258,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_locate_sjis.result b/mysql-test/suite/jp/r/jp_locate_sjis.result
index b2455401db8..623d1388673 100644
--- a/mysql-test/suite/jp/r/jp_locate_sjis.result
+++ b/mysql-test/suite/jp/r/jp_locate_sjis.result
@@ -7,7 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
INSERT INTO `sR` VALUES ('\\\\\');
@@ -31,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
SELECT LOCATE('',`bP`) from `sP`;
LOCATE('',`bP`)
1
@@ -196,60 +189,6 @@ LOCATE('\',`bP`)
SELECT LOCATE('\',`bP`) from `sX`;
LOCATE('\',`bP`)
0
-SELECT LOCATE('',`bP`) from `sPO`;
-LOCATE('',`bP`)
-1
-SELECT LOCATE('',`bP`) from `sPO`;
-LOCATE('',`bP`)
-2
-SELECT LOCATE('',`bP`) from `sPO`;
-LOCATE('',`bP`)
-3
-SELECT LOCATE('',`bP`) from `sPO`;
-LOCATE('',`bP`)
-4
-SELECT LOCATE('',`bP`) from `sPO`;
-LOCATE('',`bP`)
-5
-SELECT LOCATE('',`bP`) from `sPO`;
-LOCATE('',`bP`)
-0
-SELECT LOCATE('',`bP`) from `sPP`;
-LOCATE('',`bP`)
-1
-SELECT LOCATE('',`bP`) from `sPP`;
-LOCATE('',`bP`)
-2
-SELECT LOCATE('',`bP`) from `sPP`;
-LOCATE('',`bP`)
-3
-SELECT LOCATE('',`bP`) from `sPP`;
-LOCATE('',`bP`)
-4
-SELECT LOCATE('',`bP`) from `sPP`;
-LOCATE('',`bP`)
-5
-SELECT LOCATE('',`bP`) from `sPP`;
-LOCATE('',`bP`)
-0
-SELECT LOCATE('\',`bP`) from `sPQ`;
-LOCATE('\',`bP`)
-1
-SELECT LOCATE('\',`bP`) from `sPQ`;
-LOCATE('\',`bP`)
-2
-SELECT LOCATE('\',`bP`) from `sPQ`;
-LOCATE('\',`bP`)
-3
-SELECT LOCATE('\',`bP`) from `sPQ`;
-LOCATE('\',`bP`)
-4
-SELECT LOCATE('\',`bP`) from `sPQ`;
-LOCATE('\',`bP`)
-5
-SELECT LOCATE('\',`bP`) from `sPQ`;
-LOCATE('\',`bP`)
-0
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -259,6 +198,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_locate_ucs2.result b/mysql-test/suite/jp/r/jp_locate_ucs2.result
index 37b219b3335..357f1c235b5 100644
--- a/mysql-test/suite/jp/r/jp_locate_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_locate_ucs2.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -17,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -32,9 +28,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 ('龔龖龗龞龡');
SELECT LOCATE('ア',`C1`) from `T1`;
LOCATE('ア',`C1`)
1
@@ -197,60 +190,6 @@ LOCATE('龡',`C1`)
SELECT LOCATE('丂',`C1`) from `T9`;
LOCATE('丂',`C1`)
0
-SELECT LOCATE('ア',`C1`) from `T10`;
-LOCATE('ア',`C1`)
-1
-SELECT LOCATE('イ',`C1`) from `T10`;
-LOCATE('イ',`C1`)
-2
-SELECT LOCATE('ウ',`C1`) from `T10`;
-LOCATE('ウ',`C1`)
-3
-SELECT LOCATE('エ',`C1`) from `T10`;
-LOCATE('エ',`C1`)
-4
-SELECT LOCATE('オ',`C1`) from `T10`;
-LOCATE('オ',`C1`)
-5
-SELECT LOCATE('ン',`C1`) from `T10`;
-LOCATE('ン',`C1`)
-0
-SELECT LOCATE('あ',`C1`) from `T11`;
-LOCATE('あ',`C1`)
-1
-SELECT LOCATE('い',`C1`) from `T11`;
-LOCATE('い',`C1`)
-2
-SELECT LOCATE('う',`C1`) from `T11`;
-LOCATE('う',`C1`)
-3
-SELECT LOCATE('え',`C1`) from `T11`;
-LOCATE('え',`C1`)
-4
-SELECT LOCATE('お',`C1`) from `T11`;
-LOCATE('お',`C1`)
-5
-SELECT LOCATE('ん',`C1`) from `T11`;
-LOCATE('ん',`C1`)
-0
-SELECT LOCATE('龔',`C1`) from `T12`;
-LOCATE('龔',`C1`)
-1
-SELECT LOCATE('龖',`C1`) from `T12`;
-LOCATE('龖',`C1`)
-2
-SELECT LOCATE('龗',`C1`) from `T12`;
-LOCATE('龗',`C1`)
-3
-SELECT LOCATE('龞',`C1`) from `T12`;
-LOCATE('龞',`C1`)
-4
-SELECT LOCATE('龡',`C1`) from `T12`;
-LOCATE('龡',`C1`)
-5
-SELECT LOCATE('丂',`C1`) from `T12`;
-LOCATE('丂',`C1`)
-0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -260,6 +199,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_locate_ujis.result b/mysql-test/suite/jp/r/jp_locate_ujis.result
index d139fa9203c..45560d2f331 100644
--- a/mysql-test/suite/jp/r/jp_locate_ujis.result
+++ b/mysql-test/suite/jp/r/jp_locate_ujis.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -31,9 +27,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 ('龔龖龗龞龡');
SELECT LOCATE('ア',`C1`) from `T1`;
LOCATE('ア',`C1`)
1
@@ -196,60 +189,6 @@ LOCATE('龡',`C1`)
SELECT LOCATE('丂',`C1`) from `T9`;
LOCATE('丂',`C1`)
0
-SELECT LOCATE('ア',`C1`) from `T10`;
-LOCATE('ア',`C1`)
-1
-SELECT LOCATE('イ',`C1`) from `T10`;
-LOCATE('イ',`C1`)
-2
-SELECT LOCATE('ウ',`C1`) from `T10`;
-LOCATE('ウ',`C1`)
-3
-SELECT LOCATE('エ',`C1`) from `T10`;
-LOCATE('エ',`C1`)
-4
-SELECT LOCATE('オ',`C1`) from `T10`;
-LOCATE('オ',`C1`)
-5
-SELECT LOCATE('ン',`C1`) from `T10`;
-LOCATE('ン',`C1`)
-0
-SELECT LOCATE('あ',`C1`) from `T11`;
-LOCATE('あ',`C1`)
-1
-SELECT LOCATE('い',`C1`) from `T11`;
-LOCATE('い',`C1`)
-2
-SELECT LOCATE('う',`C1`) from `T11`;
-LOCATE('う',`C1`)
-3
-SELECT LOCATE('え',`C1`) from `T11`;
-LOCATE('え',`C1`)
-4
-SELECT LOCATE('お',`C1`) from `T11`;
-LOCATE('お',`C1`)
-5
-SELECT LOCATE('ん',`C1`) from `T11`;
-LOCATE('ん',`C1`)
-0
-SELECT LOCATE('龔',`C1`) from `T12`;
-LOCATE('龔',`C1`)
-1
-SELECT LOCATE('龖',`C1`) from `T12`;
-LOCATE('龖',`C1`)
-2
-SELECT LOCATE('龗',`C1`) from `T12`;
-LOCATE('龗',`C1`)
-3
-SELECT LOCATE('龞',`C1`) from `T12`;
-LOCATE('龞',`C1`)
-4
-SELECT LOCATE('龡',`C1`) from `T12`;
-LOCATE('龡',`C1`)
-5
-SELECT LOCATE('丂',`C1`) from `T12`;
-LOCATE('丂',`C1`)
-0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -259,6 +198,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_locate_utf8.result b/mysql-test/suite/jp/r/jp_locate_utf8.result
index a1ce9e8d2dc..162d03e6056 100644
--- a/mysql-test/suite/jp/r/jp_locate_utf8.result
+++ b/mysql-test/suite/jp/r/jp_locate_utf8.result
@@ -7,7 +7,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
@@ -31,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
SELECT LOCATE('鐔',`鐚o`) from `鐚器`;
LOCATE('鐔',`鐚o`)
1
@@ -196,60 +189,6 @@ LOCATE('蘊',`鐚o`)
SELECT LOCATE('筝',`鐚o`) from `鐚器`;
LOCATE('筝',`鐚o`)
0
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-LOCATE('鐔',`鐚o`)
-1
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-LOCATE('鐔',`鐚o`)
-2
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-LOCATE('鐔',`鐚o`)
-3
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-LOCATE('鐔',`鐚o`)
-4
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-LOCATE('鐔',`鐚o`)
-5
-SELECT LOCATE('鐓',`鐚o`) from `鐚器鐚`;
-LOCATE('鐓',`鐚o`)
-0
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-LOCATE('',`鐚o`)
-1
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-LOCATE('',`鐚o`)
-2
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-LOCATE('',`鐚o`)
-3
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-LOCATE('',`鐚o`)
-4
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-LOCATE('',`鐚o`)
-5
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-LOCATE('',`鐚o`)
-0
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-LOCATE('蘊',`鐚o`)
-1
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-LOCATE('蘊',`鐚o`)
-2
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-LOCATE('蘊',`鐚o`)
-3
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-LOCATE('蘊',`鐚o`)
-4
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-LOCATE('蘊',`鐚o`)
-5
-SELECT LOCATE('筝',`鐚o`) from `鐚器鐚`;
-LOCATE('筝',`鐚o`)
-0
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -259,6 +198,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_lpad_sjis.result b/mysql-test/suite/jp/r/jp_lpad_sjis.result
index b45427ebf3d..46cbde52192 100644
--- a/mysql-test/suite/jp/r/jp_lpad_sjis.result
+++ b/mysql-test/suite/jp/r/jp_lpad_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sR` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
SELECT `bP`, LPAD(`bP`,5,'') FROM `sP`;
bP LPAD(`bP`,5,'')
  
@@ -108,30 +99,6 @@ SELECT `bP`, LPAD(`bP`,5,'\' ) FROM `sX`;
\\ \\\\\
\ \\\\\
\\\\\
-SELECT `bP`, LPAD(`bP`,5,'') FROM `sPO`;
-bP LPAD(`bP`,5,'')
-渦慨 渦慨
-渦慨  ̄桶
-渦  渦
-渦   ̄
-   
-   
-SELECT `bP`, LPAD(`bP`,5,'w') FROM `sPP`;
-bP LPAD(`bP`,5,'w')
-
- w
- ww
- www
- wwww
- wwwww
-SELECT `bP`, LPAD(`bP`,5,'\' ) FROM `sPQ`;
-bP LPAD(`bP`,5,'\' )
-\\\\\ \\\\\
-\\\\ \\\\\
-\\\ \\\\\
-\\ \\\\\
-\ \\\\\
- \\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -141,6 +108,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_lpad_ucs2.result b/mysql-test/suite/jp/r/jp_lpad_ucs2.result
index 951c5508a8f..f5ba98db3f3 100644
--- a/mysql-test/suite/jp/r/jp_lpad_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_lpad_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -34,9 +28,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, LPAD(`C1`,5,'。') FROM `T1`;
C1 LPAD(`C1`,5,'。')
。。。。。
@@ -109,30 +100,6 @@ SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T9`;
龔龖 丄丄丄龔龖
龔 丄丄丄丄龔
丄丄丄丄丄
-SELECT `C1`, LPAD(`C1`,5,'。') FROM `T10`;
-C1 LPAD(`C1`,5,'。')
-アイウエオ アイウエオ
-アイウエ 。アイウエ
-アイウ 。。アイウ
-アイ 。。。アイ
-ア 。。。。ア
- 。。。。。
-SELECT `C1`, LPAD(`C1`,5,'X') FROM `T11`;
-C1 LPAD(`C1`,5,'X')
-あいうえお あいうえお
-あいうえ Xあいうえ
-あいう XXあいう
-あい XXXあい
-あ XXXXあ
- XXXXX
-SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T12`;
-C1 LPAD(`C1`,5,'丄' )
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 丄龔龖龗龞
-龔龖龗 丄丄龔龖龗
-龔龖 丄丄丄龔龖
-龔 丄丄丄丄龔
- 丄丄丄丄丄
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -142,6 +109,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_lpad_ujis.result b/mysql-test/suite/jp/r/jp_lpad_ujis.result
index 945e513d066..c95f0e2f261 100644
--- a/mysql-test/suite/jp/r/jp_lpad_ujis.result
+++ b/mysql-test/suite/jp/r/jp_lpad_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -33,9 +27,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, LPAD(`C1`,5,'。') FROM `T1`;
C1 LPAD(`C1`,5,'。')
。。。。。
@@ -108,30 +99,6 @@ SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T9`;
龔龖 丄丄丄龔龖
龔 丄丄丄丄龔
丄丄丄丄丄
-SELECT `C1`, LPAD(`C1`,5,'。') FROM `T10`;
-C1 LPAD(`C1`,5,'。')
-アイウエオ アイウエオ
-アイウエ 。アイウエ
-アイウ 。。アイウ
-アイ 。。。アイ
-ア 。。。。ア
- 。。。。。
-SELECT `C1`, LPAD(`C1`,5,'X') FROM `T11`;
-C1 LPAD(`C1`,5,'X')
-あいうえお あいうえお
-あいうえ Xあいうえ
-あいう XXあいう
-あい XXXあい
-あ XXXXあ
- XXXXX
-SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T12`;
-C1 LPAD(`C1`,5,'丄' )
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 丄龔龖龗龞
-龔龖龗 丄丄龔龖龗
-龔龖 丄丄丄龔龖
-龔 丄丄丄丄龔
- 丄丄丄丄丄
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -141,6 +108,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_lpad_utf8.result b/mysql-test/suite/jp/r/jp_lpad_utf8.result
index 8a3bae0153e..150dfe61b13 100644
--- a/mysql-test/suite/jp/r/jp_lpad_utf8.result
+++ b/mysql-test/suite/jp/r/jp_lpad_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
SELECT `鐚o`, LPAD(`鐚o`,5,'鐔') FROM `鐚器`;
鐚o LPAD(`鐚o`,5,'鐔')
鐔¥宗鐔¥宗鐔
@@ -108,30 +99,6 @@ SELECT `鐚o`, LPAD(`鐚o`,5,'筝' ) FROM `鐚器`;
蘊蘊 筝筝筝蘊蘊
蘊 筝筝筝筝蘊
筝筝筝筝筝
-SELECT `鐚o`, LPAD(`鐚o`,5,'鐔') FROM `鐚器鐚`;
-鐚o LPAD(`鐚o`,5,'鐔')
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔¥襲鐔駕蹴鐔
-鐔縁讐鐔 鐔¥宗鐔縁讐鐔
-鐔縁讐 鐔¥宗鐔¥襲鐔
-鐔 鐔¥宗鐔¥宗鐔
- 鐔¥宗鐔¥宗鐔
-SELECT `鐚o`, LPAD(`鐚o`,5,'鐚') FROM `鐚器鐚`;
-鐚o LPAD(`鐚o`,5,'鐚')
-
- 鐚吾
- 鐚醐叱
- 鐚醐叱鐚吾
- 鐚醐叱鐚醐叱
- 鐚醐叱鐚醐叱鐚
-SELECT `鐚o`, LPAD(`鐚o`,5,'筝' ) FROM `鐚器鐚`;
-鐚o LPAD(`鐚o`,5,'筝' )
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 筝蘊蘊蘊蘊
-蘊蘊蘊 筝筝蘊蘊蘊
-蘊蘊 筝筝筝蘊蘊
-蘊 筝筝筝筝蘊
- 筝筝筝筝筝
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -141,6 +108,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_ltrim_sjis.result b/mysql-test/suite/jp/r/jp_ltrim_sjis.result
index 23032d65c56..7a7902afe2d 100644
--- a/mysql-test/suite/jp/r/jp_ltrim_sjis.result
+++ b/mysql-test/suite/jp/r/jp_ltrim_sjis.result
@@ -7,7 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sP` VALUES (' 渦慨');
INSERT INTO `sP` VALUES (' 渦慨');
@@ -85,27 +81,6 @@ INSERT INTO `sX` VALUES (' \\\\\');
INSERT INTO `sX` VALUES ('@\\\\\');
INSERT INTO `sX` VALUES ('@@\\\\\');
INSERT INTO `sX` VALUES ('@@@\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPO` VALUES (' 渦慨');
-INSERT INTO `sPO` VALUES (' 渦慨');
-INSERT INTO `sPO` VALUES (' 渦慨');
-INSERT INTO `sPO` VALUES ('@渦慨');
-INSERT INTO `sPO` VALUES ('@@渦慨');
-INSERT INTO `sPO` VALUES ('@@@渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES ('@');
-INSERT INTO `sPP` VALUES ('@@');
-INSERT INTO `sPP` VALUES ('@@@');
-INSERT INTO `sPQ` VALUES ('\\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\');
-INSERT INTO `sPQ` VALUES ('@\\\\\');
-INSERT INTO `sPQ` VALUES ('@@\\\\\');
-INSERT INTO `sPQ` VALUES ('@@@\\\\\');
SELECT LTRIM(`bP`) from `sP`;
LTRIM(`bP`)
渦慨
@@ -187,33 +162,6 @@ LTRIM(`bP`)
@\\\\\
@@\\\\\
@@@\\\\\
-SELECT LTRIM(`bP`) from `sPO`;
-LTRIM(`bP`)
-渦慨
-渦慨
-渦慨
-渦慨
-@渦慨
-@@渦慨
-@@@渦慨
-SELECT LTRIM(`bP`) from `sPP`;
-LTRIM(`bP`)
-
-
-
-
-@
-@@
-@@@
-SELECT LTRIM(`bP`) from `sPQ`;
-LTRIM(`bP`)
-\\\\\
-\\\\\
-\\\\\
-\\\\\
-@\\\\\
-@@\\\\\
-@@@\\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -223,6 +171,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_ltrim_ucs2.result b/mysql-test/suite/jp/r/jp_ltrim_ucs2.result
index 533cf95a976..c46e917c933 100644
--- a/mysql-test/suite/jp/r/jp_ltrim_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_ltrim_ucs2.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -17,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES (' アイウエオ');
INSERT INTO `T1` VALUES (' アイウエオ');
@@ -86,27 +82,6 @@ INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES ('  龔龖龗龞龡');
INSERT INTO `T9` VALUES ('   龔龖龗龞龡');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES ('  アイウエオ');
-INSERT INTO `T10` VALUES ('   アイウエオ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES ('  あいうえお');
-INSERT INTO `T11` VALUES ('   あいうえお');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('  龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('   龔龖龗龞龡');
SELECT LTRIM(`C1`) from `T1`;
LTRIM(`C1`)
アイウエオ
@@ -188,33 +163,6 @@ LTRIM(`C1`)
 龔龖龗龞龡
  龔龖龗龞龡
   龔龖龗龞龡
-SELECT LTRIM(`C1`) from `T10`;
-LTRIM(`C1`)
-アイウエオ
-アイウエオ
-アイウエオ
-アイウエオ
- アイウエオ
-  アイウエオ
-   アイウエオ
-SELECT LTRIM(`C1`) from `T11`;
-LTRIM(`C1`)
-あいうえお
-あいうえお
-あいうえお
-あいうえお
- あいうえお
-  あいうえお
-   あいうえお
-SELECT LTRIM(`C1`) from `T12`;
-LTRIM(`C1`)
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
- 龔龖龗龞龡
-  龔龖龗龞龡
-   龔龖龗龞龡
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -224,6 +172,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_ltrim_ujis.result b/mysql-test/suite/jp/r/jp_ltrim_ujis.result
index 1c95f28907f..f12444f284b 100644
--- a/mysql-test/suite/jp/r/jp_ltrim_ujis.result
+++ b/mysql-test/suite/jp/r/jp_ltrim_ujis.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES (' アイウエオ');
INSERT INTO `T1` VALUES (' アイウエオ');
@@ -85,27 +81,6 @@ INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES ('  龔龖龗龞龡');
INSERT INTO `T9` VALUES ('   龔龖龗龞龡');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES ('  アイウエオ');
-INSERT INTO `T10` VALUES ('   アイウエオ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES ('  あいうえお');
-INSERT INTO `T11` VALUES ('   あいうえお');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('  龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('   龔龖龗龞龡');
SELECT LTRIM(`C1`) from `T1`;
LTRIM(`C1`)
アイウエオ
@@ -187,33 +162,6 @@ LTRIM(`C1`)
 龔龖龗龞龡
  龔龖龗龞龡
   龔龖龗龞龡
-SELECT LTRIM(`C1`) from `T10`;
-LTRIM(`C1`)
-アイウエオ
-アイウエオ
-アイウエオ
-アイウエオ
- アイウエオ
-  アイウエオ
-   アイウエオ
-SELECT LTRIM(`C1`) from `T11`;
-LTRIM(`C1`)
-あいうえお
-あいうえお
-あいうえお
-あいうえお
- あいうえお
-  あいうえお
-   あいうえお
-SELECT LTRIM(`C1`) from `T12`;
-LTRIM(`C1`)
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
- 龔龖龗龞龡
-  龔龖龗龞龡
-   龔龖龗龞龡
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -223,6 +171,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_ltrim_utf8.result b/mysql-test/suite/jp/r/jp_ltrim_utf8.result
index c6fae7233f1..9ca8d61b050 100644
--- a/mysql-test/suite/jp/r/jp_ltrim_utf8.result
+++ b/mysql-test/suite/jp/r/jp_ltrim_utf8.result
@@ -7,7 +7,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES (' 鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES (' 鐔縁讐鐔鰹輯鐔');
@@ -85,27 +81,6 @@ 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 ('');
-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 ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
SELECT LTRIM(`鐚o`) from `鐚器`;
LTRIM(`鐚o`)
鐔縁讐鐔鰹輯鐔
@@ -187,33 +162,6 @@ LTRIM(`鐚o`)
蘊蘊蘊蘊蘊
蘊蘊蘊蘊蘊
蘊蘊蘊蘊蘊
-SELECT LTRIM(`鐚o`) from `鐚器鐚`;
-LTRIM(`鐚o`)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-SELECT LTRIM(`鐚o`) from `鐚器鐚`;
-LTRIM(`鐚o`)
-
-
-
-
-
-
-
-SELECT LTRIM(`鐚o`) from `鐚器鐚`;
-LTRIM(`鐚o`)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -223,6 +171,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_ps_sjis.result b/mysql-test/suite/jp/r/jp_ps_sjis.result
index 2397bc78c5b..0990b30338c 100644
--- a/mysql-test/suite/jp/r/jp_ps_sjis.result
+++ b/mysql-test/suite/jp/r/jp_ps_sjis.result
@@ -446,14 +446,14 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = HEAP;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = HEAP;
+CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = MEMORY;
+CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = MEMORY;
CREATE TABLE t3(
`` char(1),
`` char(1),
`\` char(1)
-)DEFAULT CHARSET = sjis ENGINE = HEAP;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = sjis ENGINE =HEAP;
+)DEFAULT CHARSET = sjis ENGINE = MEMORY;
+CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = sjis ENGINE =MEMORY;
INSERT INTO t1 VALUES ('xxx');
INSERT INTO t2 VALUES ('\');
INSERT INTO t3 VALUES ('x','x','x'),('x','x','x'),('y','y','y'),('y','y','y'),('z','z','z'),('z','z','z');
@@ -667,230 +667,3 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = BDB;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = BDB;
-CREATE TABLE t3(
-`` char(1),
-`` char(1),
-`\` char(1)
-)DEFAULT CHARSET = sjis ENGINE = BDB;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = sjis ENGINE = BDB;
-INSERT INTO t1 VALUES ('xxx');
-INSERT INTO t2 VALUES ('\');
-INSERT INTO t3 VALUES ('x','x','x'),('x','x','x'),('y','y','y'),('y','y','y'),('z','z','z'),('z','z','z');
-INSERT INTO t4 VALUES (''),(''),('\' );
-PREPARE stmt1 FROM 'SELECT ? FROM t3';
-PREPARE stmt2 FROM 'SELECT * FROM t3 ORDER BY ?';
-PREPARE stmt3 FROM 'SELECT COUNT(*) FROM t3 GROUP BY ?';
-PREPARE stmt4 FROM 'SELECT CHAR_LENGTH(?)';
-PREPARE stmt5 FROM 'SELECT CHARSET(?)';
-PREPARE stmt6 FROM 'SELECT INSERT(c1,1,1,?) FROM t1';
-PREPARE stmt7 FROM 'SELECT INSTR(c1,?) FROM t2';
-PREPARE stmt8 FROM 'SELECT LOCATE(?,c1) FROM t2';
-PREPARE stmt9 FROM 'SELECT LPAD(c1,10,?) FROM t1';
-PREPARE stmt10 FROM 'SELECT REPLACE(c1,?,\'x\') FROM t2';
-PREPARE stmt11 FROM 'SELECT REPLACE(c1,\'x\',?) FROM t1';
-PREPARE stmt12 FROM 'SELECT RPAD(c1,10,?) FROM t1';
-PREPARE stmt13 FROM 'UPDATE t4 SET c1=\'x\' WHERE c1=?';
-PREPARE stmt14 FROM 'UPDATE t4 SET c1=? WHERE c1=\'x\'';
-SET @arg = '';
-EXECUTE stmt1 USING @arg;
-?
-
-
-
-
-
-
-EXECUTE stmt2 USING @arg;
- \
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt3 USING @arg;
-COUNT(*)
-6
-EXECUTE stmt4 USING @arg;
-CHAR_LENGTH(?)
-1
-EXECUTE stmt5 USING @arg;
-CHARSET(?)
-sjis
-EXECUTE stmt6 USING @arg;
-INSERT(c1,1,1,?)
-xx
-EXECUTE stmt7 USING @arg;
-INSTR(c1,?)
-1
-EXECUTE stmt8 USING @arg;
-LOCATE(?,c1)
-1
-EXECUTE stmt9 USING @arg;
-LPAD(c1,10,?)
-臼臼臼xxx
-EXECUTE stmt10 USING @arg;
-REPLACE(c1,?,'x')
-x\
-EXECUTE stmt11 USING @arg;
-REPLACE(c1,'x',?)
-臼
-EXECUTE stmt12 USING @arg;
-RPAD(c1,10,?)
-xxx臼臼臼
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t3;
- \
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t3;
- \
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-SET @arg = '';
-EXECUTE stmt1 USING @arg;
-?
-
-
-
-
-
-
-EXECUTE stmt2 USING @arg;
- \
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt3 USING @arg;
-COUNT(*)
-6
-EXECUTE stmt4 USING @arg;
-CHAR_LENGTH(?)
-1
-EXECUTE stmt5 USING @arg;
-CHARSET(?)
-sjis
-EXECUTE stmt6 USING @arg;
-INSERT(c1,1,1,?)
-xx
-EXECUTE stmt7 USING @arg;
-INSTR(c1,?)
-2
-EXECUTE stmt8 USING @arg;
-LOCATE(?,c1)
-2
-EXECUTE stmt9 USING @arg;
-LPAD(c1,10,?)
-xxx
-EXECUTE stmt10 USING @arg;
-REPLACE(c1,?,'x')
-x\
-EXECUTE stmt11 USING @arg;
-REPLACE(c1,'x',?)
-
-EXECUTE stmt12 USING @arg;
-RPAD(c1,10,?)
-xxx
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-c1
-
-x
-\
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-c1
-
-
-\
-SET @arg = '\';
-EXECUTE stmt1 USING @arg;
-?
-\
-\
-\
-\
-\
-\
-EXECUTE stmt2 USING @arg;
- \
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt3 USING @arg;
-COUNT(*)
-6
-EXECUTE stmt4 USING @arg;
-CHAR_LENGTH(?)
-1
-EXECUTE stmt5 USING @arg;
-CHARSET(?)
-sjis
-EXECUTE stmt6 USING @arg;
-INSERT(c1,1,1,?)
-\xx
-EXECUTE stmt7 USING @arg;
-INSTR(c1,?)
-3
-EXECUTE stmt8 USING @arg;
-LOCATE(?,c1)
-3
-EXECUTE stmt9 USING @arg;
-LPAD(c1,10,?)
-\\\\\\\xxx
-EXECUTE stmt10 USING @arg;
-REPLACE(c1,?,'x')
-x
-EXECUTE stmt11 USING @arg;
-REPLACE(c1,'x',?)
-\\\
-EXECUTE stmt12 USING @arg;
-RPAD(c1,10,?)
-xxx\\\\\\\
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-c1
-
-
-x
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-c1
-
-
-\
-DEALLOCATE PREPARE stmt1;
-DEALLOCATE PREPARE stmt2;
-DEALLOCATE PREPARE stmt3;
-DEALLOCATE PREPARE stmt4;
-DEALLOCATE PREPARE stmt5;
-DEALLOCATE PREPARE stmt6;
-DEALLOCATE PREPARE stmt7;
-DEALLOCATE PREPARE stmt8;
-DEALLOCATE PREPARE stmt9;
-DEALLOCATE PREPARE stmt10;
-DEALLOCATE PREPARE stmt11;
-DEALLOCATE PREPARE stmt12;
-DEALLOCATE PREPARE stmt13;
-DEALLOCATE PREPARE stmt14;
-DROP TABLE t1;
-DROP TABLE t2;
-DROP TABLE t3;
-DROP TABLE t4;
diff --git a/mysql-test/suite/jp/r/jp_ps_ujis.result b/mysql-test/suite/jp/r/jp_ps_ujis.result
index 9afef7f76d1..d226b0ef03b 100644
--- a/mysql-test/suite/jp/r/jp_ps_ujis.result
+++ b/mysql-test/suite/jp/r/jp_ps_ujis.result
@@ -446,14 +446,14 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = HEAP;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = HEAP;
+CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = MEMORY;
+CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = MEMORY;
CREATE TABLE t3(
`ア` char(1),
`あ` char(1),
`龔` char(1)
-)DEFAULT CHARSET = ujis ENGINE = HEAP;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = ujis ENGINE =HEAP;
+)DEFAULT CHARSET = ujis ENGINE = MEMORY;
+CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = ujis ENGINE =MEMORY;
INSERT INTO t1 VALUES ('xxx');
INSERT INTO t2 VALUES ('アあ龔');
INSERT INTO t3 VALUES ('x','x','x'),('x','x','x'),('y','y','y'),('y','y','y'),('z','z','z'),('z','z','z');
@@ -667,230 +667,3 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = BDB;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = BDB;
-CREATE TABLE t3(
-`ア` char(1),
-`あ` char(1),
-`龔` char(1)
-)DEFAULT CHARSET = ujis ENGINE = BDB;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = ujis ENGINE = BDB;
-INSERT INTO t1 VALUES ('xxx');
-INSERT INTO t2 VALUES ('アあ龔');
-INSERT INTO t3 VALUES ('x','x','x'),('x','x','x'),('y','y','y'),('y','y','y'),('z','z','z'),('z','z','z');
-INSERT INTO t4 VALUES ('ア'),('あ'),('龔' );
-PREPARE stmt1 FROM 'SELECT ? FROM t3';
-PREPARE stmt2 FROM 'SELECT * FROM t3 ORDER BY ?';
-PREPARE stmt3 FROM 'SELECT COUNT(*) FROM t3 GROUP BY ?';
-PREPARE stmt4 FROM 'SELECT CHAR_LENGTH(?)';
-PREPARE stmt5 FROM 'SELECT CHARSET(?)';
-PREPARE stmt6 FROM 'SELECT INSERT(c1,1,1,?) FROM t1';
-PREPARE stmt7 FROM 'SELECT INSTR(c1,?) FROM t2';
-PREPARE stmt8 FROM 'SELECT LOCATE(?,c1) FROM t2';
-PREPARE stmt9 FROM 'SELECT LPAD(c1,9,?) FROM t1';
-PREPARE stmt10 FROM 'SELECT REPLACE(c1,?,\'x\') FROM t2';
-PREPARE stmt11 FROM 'SELECT REPLACE(c1,\'x\',?) FROM t1';
-PREPARE stmt12 FROM 'SELECT RPAD(c1,9,?) FROM t1';
-PREPARE stmt13 FROM 'UPDATE t4 SET c1=\'x\' WHERE c1=?';
-PREPARE stmt14 FROM 'UPDATE t4 SET c1=? WHERE c1=\'x\'';
-SET @arg = 'ア';
-EXECUTE stmt1 USING @arg;
-?
-ア
-ア
-ア
-ア
-ア
-ア
-EXECUTE stmt2 USING @arg;
-ア あ 龔
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt3 USING @arg;
-COUNT(*)
-6
-EXECUTE stmt4 USING @arg;
-CHAR_LENGTH(?)
-1
-EXECUTE stmt5 USING @arg;
-CHARSET(?)
-ujis
-EXECUTE stmt6 USING @arg;
-INSERT(c1,1,1,?)
-アxx
-EXECUTE stmt7 USING @arg;
-INSTR(c1,?)
-1
-EXECUTE stmt8 USING @arg;
-LOCATE(?,c1)
-1
-EXECUTE stmt9 USING @arg;
-LPAD(c1,9,?)
-アアアアアアxxx
-EXECUTE stmt10 USING @arg;
-REPLACE(c1,?,'x')
-xあ龔
-EXECUTE stmt11 USING @arg;
-REPLACE(c1,'x',?)
-アアア
-EXECUTE stmt12 USING @arg;
-RPAD(c1,9,?)
-xxxアアアアアア
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t3;
-ア あ 龔
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t3;
-ア あ 龔
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-SET @arg = 'あ';
-EXECUTE stmt1 USING @arg;
-?
-あ
-あ
-あ
-あ
-あ
-あ
-EXECUTE stmt2 USING @arg;
-ア あ 龔
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt3 USING @arg;
-COUNT(*)
-6
-EXECUTE stmt4 USING @arg;
-CHAR_LENGTH(?)
-1
-EXECUTE stmt5 USING @arg;
-CHARSET(?)
-ujis
-EXECUTE stmt6 USING @arg;
-INSERT(c1,1,1,?)
-あxx
-EXECUTE stmt7 USING @arg;
-INSTR(c1,?)
-2
-EXECUTE stmt8 USING @arg;
-LOCATE(?,c1)
-2
-EXECUTE stmt9 USING @arg;
-LPAD(c1,9,?)
-ああああああxxx
-EXECUTE stmt10 USING @arg;
-REPLACE(c1,?,'x')
-アx龔
-EXECUTE stmt11 USING @arg;
-REPLACE(c1,'x',?)
-あああ
-EXECUTE stmt12 USING @arg;
-RPAD(c1,9,?)
-xxxああああああ
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-c1
-ア
-x
-龔
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-c1
-ア
-あ
-龔
-SET @arg = '龔';
-EXECUTE stmt1 USING @arg;
-?
-龔
-龔
-龔
-龔
-龔
-龔
-EXECUTE stmt2 USING @arg;
-ア あ 龔
-x x x
-x x x
-y y y
-y y y
-z z z
-z z z
-EXECUTE stmt3 USING @arg;
-COUNT(*)
-6
-EXECUTE stmt4 USING @arg;
-CHAR_LENGTH(?)
-1
-EXECUTE stmt5 USING @arg;
-CHARSET(?)
-ujis
-EXECUTE stmt6 USING @arg;
-INSERT(c1,1,1,?)
-龔xx
-EXECUTE stmt7 USING @arg;
-INSTR(c1,?)
-3
-EXECUTE stmt8 USING @arg;
-LOCATE(?,c1)
-3
-EXECUTE stmt9 USING @arg;
-LPAD(c1,9,?)
-龔龔龔龔龔龔xxx
-EXECUTE stmt10 USING @arg;
-REPLACE(c1,?,'x')
-アあx
-EXECUTE stmt11 USING @arg;
-REPLACE(c1,'x',?)
-龔龔龔
-EXECUTE stmt12 USING @arg;
-RPAD(c1,9,?)
-xxx龔龔龔龔龔龔
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-c1
-ア
-あ
-x
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-c1
-ア
-あ
-龔
-DEALLOCATE PREPARE stmt1;
-DEALLOCATE PREPARE stmt2;
-DEALLOCATE PREPARE stmt3;
-DEALLOCATE PREPARE stmt4;
-DEALLOCATE PREPARE stmt5;
-DEALLOCATE PREPARE stmt6;
-DEALLOCATE PREPARE stmt7;
-DEALLOCATE PREPARE stmt8;
-DEALLOCATE PREPARE stmt9;
-DEALLOCATE PREPARE stmt10;
-DEALLOCATE PREPARE stmt11;
-DEALLOCATE PREPARE stmt12;
-DEALLOCATE PREPARE stmt13;
-DEALLOCATE PREPARE stmt14;
-DROP TABLE t1;
-DROP TABLE t2;
-DROP TABLE t3;
-DROP TABLE t4;
diff --git a/mysql-test/suite/jp/r/jp_replace_sjis.result b/mysql-test/suite/jp/r/jp_replace_sjis.result
index 08e45968fdd..b8daf59540c 100644
--- a/mysql-test/suite/jp/r/jp_replace_sjis.result
+++ b/mysql-test/suite/jp/r/jp_replace_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
INSERT INTO `sR` VALUES ('\\\\\');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
SELECT REPLACE(`bP`,'','臼') FROM `sP`;
REPLACE(`bP`,'','臼')
臼桶患
@@ -171,51 +162,6 @@ REPLACE(`bP`,'\','\\')
SELECT REPLACE(`bP`,'\','\\') FROM `sX`;
REPLACE(`bP`,'\','\\')
\\\\\\
-SELECT REPLACE(`bP`,'','臼') FROM `sPO`;
-REPLACE(`bP`,'','臼')
-臼桶患
-SELECT REPLACE(`bP`,'','臆') FROM `sPO`;
-REPLACE(`bP`,'','臆')
-渦桶患
-SELECT REPLACE(`bP`,'','崖') FROM `sPO`;
-REPLACE(`bP`,'','崖')
-渦崖患
-SELECT REPLACE(`bP`,'','幹') FROM `sPO`;
-REPLACE(`bP`,'','幹')
-渦慨患
-SELECT REPLACE(`bP`,'','亀') FROM `sPO`;
-REPLACE(`bP`,'','亀')
-渦慨亀
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-REPLACE(`bP`,'','')
-
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-REPLACE(`bP`,'','')
-
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-REPLACE(`bP`,'','')
-
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-REPLACE(`bP`,'','')
-
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-REPLACE(`bP`,'','')
-
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-REPLACE(`bP`,'\','\\')
-\\\\\\
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-REPLACE(`bP`,'\','\\')
-\\\\\\
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-REPLACE(`bP`,'\','\\')
-\\\\\\
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-REPLACE(`bP`,'\','\\')
-\\\\\\
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-REPLACE(`bP`,'\','\\')
-\\\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -225,6 +171,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_replace_ucs2.result b/mysql-test/suite/jp/r/jp_replace_ucs2.result
index 2911fe69b9a..2390e88d82f 100644
--- a/mysql-test/suite/jp/r/jp_replace_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_replace_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -34,9 +28,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 ('龔龖龗龞龡');
SELECT REPLACE(`C1`,'ア','アア') FROM `T1`;
REPLACE(`C1`,'ア','アア')
アアイウエオ
@@ -172,51 +163,6 @@ REPLACE(`C1`,'龞','龞龞')
SELECT REPLACE(`C1`,'龡','龡龡') FROM `T9`;
REPLACE(`C1`,'龡','龡龡')
龔龖龗龞龡龡
-SELECT REPLACE(`C1`,'ア','アア') FROM `T10`;
-REPLACE(`C1`,'ア','アア')
-アアイウエオ
-SELECT REPLACE(`C1`,'イ','イイ') FROM `T10`;
-REPLACE(`C1`,'イ','イイ')
-アイイウエオ
-SELECT REPLACE(`C1`,'ウ','ウウ') FROM `T10`;
-REPLACE(`C1`,'ウ','ウウ')
-アイウウエオ
-SELECT REPLACE(`C1`,'エ','エエ') FROM `T10`;
-REPLACE(`C1`,'エ','エエ')
-アイウエエオ
-SELECT REPLACE(`C1`,'オ','オオ') FROM `T10`;
-REPLACE(`C1`,'オ','オオ')
-アイウエオオ
-SELECT REPLACE(`C1`,'あ','ああ') FROM `T11`;
-REPLACE(`C1`,'あ','ああ')
-ああいうえお
-SELECT REPLACE(`C1`,'い','いい') FROM `T11`;
-REPLACE(`C1`,'い','いい')
-あいいうえお
-SELECT REPLACE(`C1`,'う','うう') FROM `T11`;
-REPLACE(`C1`,'う','うう')
-あいううえお
-SELECT REPLACE(`C1`,'え','ええ') FROM `T11`;
-REPLACE(`C1`,'え','ええ')
-あいうええお
-SELECT REPLACE(`C1`,'お','おお') FROM `T11`;
-REPLACE(`C1`,'お','おお')
-あいうえおお
-SELECT REPLACE(`C1`,'龔','龔龔') FROM `T12`;
-REPLACE(`C1`,'龔','龔龔')
-龔龔龖龗龞龡
-SELECT REPLACE(`C1`,'龖','龖龖') FROM `T12`;
-REPLACE(`C1`,'龖','龖龖')
-龔龖龖龗龞龡
-SELECT REPLACE(`C1`,'龗','龗龗') FROM `T12`;
-REPLACE(`C1`,'龗','龗龗')
-龔龖龗龗龞龡
-SELECT REPLACE(`C1`,'龞','龞龞') FROM `T12`;
-REPLACE(`C1`,'龞','龞龞')
-龔龖龗龞龞龡
-SELECT REPLACE(`C1`,'龡','龡龡') FROM `T12`;
-REPLACE(`C1`,'龡','龡龡')
-龔龖龗龞龡龡
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -226,6 +172,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_replace_ujis.result b/mysql-test/suite/jp/r/jp_replace_ujis.result
index 7f776804ee9..b3ef6c28130 100644
--- a/mysql-test/suite/jp/r/jp_replace_ujis.result
+++ b/mysql-test/suite/jp/r/jp_replace_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,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 ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -33,9 +27,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 ('龔龖龗龞龡');
SELECT REPLACE(`C1`,'ア','アア') FROM `T1`;
REPLACE(`C1`,'ア','アア')
アアイウエオ
@@ -171,51 +162,6 @@ REPLACE(`C1`,'龞','龞龞')
SELECT REPLACE(`C1`,'龡','龡龡') FROM `T9`;
REPLACE(`C1`,'龡','龡龡')
龔龖龗龞龡龡
-SELECT REPLACE(`C1`,'ア','アア') FROM `T10`;
-REPLACE(`C1`,'ア','アア')
-アアイウエオ
-SELECT REPLACE(`C1`,'イ','イイ') FROM `T10`;
-REPLACE(`C1`,'イ','イイ')
-アイイウエオ
-SELECT REPLACE(`C1`,'ウ','ウウ') FROM `T10`;
-REPLACE(`C1`,'ウ','ウウ')
-アイウウエオ
-SELECT REPLACE(`C1`,'エ','エエ') FROM `T10`;
-REPLACE(`C1`,'エ','エエ')
-アイウエエオ
-SELECT REPLACE(`C1`,'オ','オオ') FROM `T10`;
-REPLACE(`C1`,'オ','オオ')
-アイウエオオ
-SELECT REPLACE(`C1`,'あ','ああ') FROM `T11`;
-REPLACE(`C1`,'あ','ああ')
-ああいうえお
-SELECT REPLACE(`C1`,'い','いい') FROM `T11`;
-REPLACE(`C1`,'い','いい')
-あいいうえお
-SELECT REPLACE(`C1`,'う','うう') FROM `T11`;
-REPLACE(`C1`,'う','うう')
-あいううえお
-SELECT REPLACE(`C1`,'え','ええ') FROM `T11`;
-REPLACE(`C1`,'え','ええ')
-あいうええお
-SELECT REPLACE(`C1`,'お','おお') FROM `T11`;
-REPLACE(`C1`,'お','おお')
-あいうえおお
-SELECT REPLACE(`C1`,'龔','龔龔') FROM `T12`;
-REPLACE(`C1`,'龔','龔龔')
-龔龔龖龗龞龡
-SELECT REPLACE(`C1`,'龖','龖龖') FROM `T12`;
-REPLACE(`C1`,'龖','龖龖')
-龔龖龖龗龞龡
-SELECT REPLACE(`C1`,'龗','龗龗') FROM `T12`;
-REPLACE(`C1`,'龗','龗龗')
-龔龖龗龗龞龡
-SELECT REPLACE(`C1`,'龞','龞龞') FROM `T12`;
-REPLACE(`C1`,'龞','龞龞')
-龔龖龗龞龞龡
-SELECT REPLACE(`C1`,'龡','龡龡') FROM `T12`;
-REPLACE(`C1`,'龡','龡龡')
-龔龖龗龞龡龡
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -225,6 +171,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_replace_utf8.result b/mysql-test/suite/jp/r/jp_replace_utf8.result
index 16981fcd0d8..734e1e3d6a9 100644
--- a/mysql-test/suite/jp/r/jp_replace_utf8.result
+++ b/mysql-test/suite/jp/r/jp_replace_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
SELECT REPLACE(`鐚o`,'鐔','鐔縁襲') FROM `鐚器`;
REPLACE(`鐚o`,'鐔','鐔縁襲')
鐔縁襲鐔駕蹴鐔器週
@@ -171,51 +162,6 @@ REPLACE(`鐚o`,'蘊','蘊蘊')
SELECT REPLACE(`鐚o`,'蘊','蘊♂勝') FROM `鐚器`;
REPLACE(`鐚o`,'蘊','蘊♂勝')
蘊蘊蘊蘊蘊♂勝
-SELECT REPLACE(`鐚o`,'鐔','鐔縁襲') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'鐔','鐔縁襲')
-鐔縁襲鐔駕蹴鐔器週
-SELECT REPLACE(`鐚o`,'鐔','鐔駕讐') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'鐔','鐔駕讐')
-鐔縁讐鐔駕蹴鐔器週
-SELECT REPLACE(`鐚o`,'鐔','鐔鰹蹴') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'鐔','鐔鰹蹴')
-鐔縁讐鐔鰹蹴鐔器週
-SELECT REPLACE(`鐚o`,'鐔','鐔器輯') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'鐔','鐔器輯')
-鐔縁讐鐔鰹輯鐔器週
-SELECT REPLACE(`鐚o`,'鐔','鐔居週') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'鐔','鐔居週')
-鐔縁讐鐔鰹輯鐔居週
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'','')
-
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'','')
-
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'','')
-
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'','')
-
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'','')
-
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'蘊','蘊蘊')
-蘊蘊蘊蘊蘊蘊
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'蘊','蘊蘊')
-蘊蘊蘊蘊蘊蘊
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'蘊','蘊蘊')
-蘊蘊蘊蘊蘊蘊
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'蘊','蘊蘊')
-蘊蘊蘊蘊蘊蘊
-SELECT REPLACE(`鐚o`,'蘊','蘊♂勝') FROM `鐚器鐚`;
-REPLACE(`鐚o`,'蘊','蘊♂勝')
-蘊蘊蘊蘊蘊♂勝
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -225,6 +171,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_reverse_sjis.result b/mysql-test/suite/jp/r/jp_reverse_sjis.result
index 76cf9d6b571..95c8cb76217 100644
--- a/mysql-test/suite/jp/r/jp_reverse_sjis.result
+++ b/mysql-test/suite/jp/r/jp_reverse_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
INSERT INTO `sR` VALUES ('\\\\\');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
SELECT REVERSE(`bP`) FROM `sP`;
REVERSE(`bP`)
鬼害
@@ -63,15 +54,6 @@ REVERSE(`bP`)
SELECT REVERSE(`bP`) FROM `sX`;
REVERSE(`bP`)
\\\\\
-SELECT REVERSE(`bP`) FROM `sPO`;
-REVERSE(`bP`)
-鬼害
-SELECT REVERSE(`bP`) FROM `sPP`;
-REVERSE(`bP`)
-
-SELECT REVERSE(`bP`) FROM `sPQ`;
-REVERSE(`bP`)
-\\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -81,6 +63,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_reverse_ucs2.result b/mysql-test/suite/jp/r/jp_reverse_ucs2.result
index ad9782d5048..9da7f5d7b59 100644
--- a/mysql-test/suite/jp/r/jp_reverse_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_reverse_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -34,9 +28,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 ('龔龖龗龞龡');
SELECT REVERSE(`C1`) FROM `T1`;
REVERSE(`C1`)
オエウイア
@@ -64,15 +55,6 @@ REVERSE(`C1`)
SELECT REVERSE(`C1`) FROM `T9`;
REVERSE(`C1`)
龡龞龗龖龔
-SELECT REVERSE(`C1`) FROM `T10`;
-REVERSE(`C1`)
-オエウイア
-SELECT REVERSE(`C1`) FROM `T11`;
-REVERSE(`C1`)
-おえういあ
-SELECT REVERSE(`C1`) FROM `T12`;
-REVERSE(`C1`)
-龡龞龗龖龔
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -82,6 +64,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_reverse_ujis.result b/mysql-test/suite/jp/r/jp_reverse_ujis.result
index 888f7f9e054..67ba5a10b00 100644
--- a/mysql-test/suite/jp/r/jp_reverse_ujis.result
+++ b/mysql-test/suite/jp/r/jp_reverse_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -33,9 +27,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 ('龔龖龗龞龡');
SELECT REVERSE(`C1`) FROM `T1`;
REVERSE(`C1`)
オエウイア
@@ -63,15 +54,6 @@ REVERSE(`C1`)
SELECT REVERSE(`C1`) FROM `T9`;
REVERSE(`C1`)
龡龞龗龖龔
-SELECT REVERSE(`C1`) FROM `T10`;
-REVERSE(`C1`)
-オエウイア
-SELECT REVERSE(`C1`) FROM `T11`;
-REVERSE(`C1`)
-おえういあ
-SELECT REVERSE(`C1`) FROM `T12`;
-REVERSE(`C1`)
-龡龞龗龖龔
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -81,6 +63,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_reverse_utf8.result b/mysql-test/suite/jp/r/jp_reverse_utf8.result
index 4e02cf69645..8ff7afb7e71 100644
--- a/mysql-test/suite/jp/r/jp_reverse_utf8.result
+++ b/mysql-test/suite/jp/r/jp_reverse_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
SELECT REVERSE(`鐚o`) FROM `鐚器`;
REVERSE(`鐚o`)
鐔居輯鐔鰹讐鐔
@@ -63,15 +54,6 @@ REVERSE(`鐚o`)
SELECT REVERSE(`鐚o`) FROM `鐚器`;
REVERSE(`鐚o`)
蘊♂蘊蘊蘊
-SELECT REVERSE(`鐚o`) FROM `鐚器鐚`;
-REVERSE(`鐚o`)
-鐔居輯鐔鰹讐鐔
-SELECT REVERSE(`鐚o`) FROM `鐚器鐚`;
-REVERSE(`鐚o`)
-
-SELECT REVERSE(`鐚o`) FROM `鐚器鐚`;
-REVERSE(`鐚o`)
-蘊♂蘊蘊蘊
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -81,6 +63,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_right_sjis.result b/mysql-test/suite/jp/r/jp_right_sjis.result
index 249d7bbb0bc..332f8b077dd 100644
--- a/mysql-test/suite/jp/r/jp_right_sjis.result
+++ b/mysql-test/suite/jp/r/jp_right_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sR` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
SELECT `bP`, RIGHT(`bP`,0) FROM `sP`;
bP RIGHT(`bP`,0)
@@ -468,150 +459,6 @@ SELECT `bP`, RIGHT(`bP`,5) FROM `sX`;
\\ \\
\ \
-SELECT `bP`, RIGHT(`bP`,0) FROM `sPO`;
-bP RIGHT(`bP`,0)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, RIGHT(`bP`,1) FROM `sPO`;
-bP RIGHT(`bP`,1)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, RIGHT(`bP`,2) FROM `sPO`;
-bP RIGHT(`bP`,2)
-渦慨 患
-渦慨 慨
-渦 桶
-渦 渦
-
-
-SELECT `bP`, RIGHT(`bP`,3) FROM `sPO`;
-bP RIGHT(`bP`,3)
-渦慨 慨
-渦慨 桶
-渦 渦
-渦 渦
-
-
-SELECT `bP`, RIGHT(`bP`,4) FROM `sPO`;
-bP RIGHT(`bP`,4)
-渦慨 桶患
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, RIGHT(`bP`,5) FROM `sPO`;
-bP RIGHT(`bP`,5)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, RIGHT(`bP`,0) FROM `sPP`;
-bP RIGHT(`bP`,0)
-
-
-
-
-
-
-SELECT `bP`, RIGHT(`bP`,1) FROM `sPP`;
-bP RIGHT(`bP`,1)
-
-
-
-
-
-
-SELECT `bP`, RIGHT(`bP`,2) FROM `sPP`;
-bP RIGHT(`bP`,2)
-
-
-
-
-
-
-SELECT `bP`, RIGHT(`bP`,3) FROM `sPP`;
-bP RIGHT(`bP`,3)
-
-
-
-
-
-
-SELECT `bP`, RIGHT(`bP`,4) FROM `sPP`;
-bP RIGHT(`bP`,4)
-
-
-
-
-
-
-SELECT `bP`, RIGHT(`bP`,5) FROM `sPP`;
-bP RIGHT(`bP`,5)
-
-
-
-
-
-
-SELECT `bP`, RIGHT(`bP`,0) FROM `sPQ`;
-bP RIGHT(`bP`,0)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, RIGHT(`bP`,1) FROM `sPQ`;
-bP RIGHT(`bP`,1)
-\\\\\ \
-\\\\ \
-\\\ \
-\\ \
-\ \
-
-SELECT `bP`, RIGHT(`bP`,2) FROM `sPQ`;
-bP RIGHT(`bP`,2)
-\\\\\ \\
-\\\\ \\
-\\\ \\
-\\ \\
-\ \
-
-SELECT `bP`, RIGHT(`bP`,3) FROM `sPQ`;
-bP RIGHT(`bP`,3)
-\\\\\ \\\
-\\\\ \\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, RIGHT(`bP`,4) FROM `sPQ`;
-bP RIGHT(`bP`,4)
-\\\\\ \\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, RIGHT(`bP`,5) FROM `sPQ`;
-bP RIGHT(`bP`,5)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -621,6 +468,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_right_ucs2.result b/mysql-test/suite/jp/r/jp_right_ucs2.result
index a8a3fba0f92..e2e594b9340 100644
--- a/mysql-test/suite/jp/r/jp_right_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_right_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -34,9 +28,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, RIGHT(`C1`,0) FROM `T1`;
C1 RIGHT(`C1`,0)
@@ -469,150 +460,6 @@ SELECT `C1`, RIGHT(`C1`,5) FROM `T9`;
龔龖 龔龖
龔 龔
-SELECT `C1`, RIGHT(`C1`,0) FROM `T10`;
-C1 RIGHT(`C1`,0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, RIGHT(`C1`,1) FROM `T10`;
-C1 RIGHT(`C1`,1)
-アイウエオ オ
-アイウエ エ
-アイウ ウ
-アイ イ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,2) FROM `T10`;
-C1 RIGHT(`C1`,2)
-アイウエオ エオ
-アイウエ ウエ
-アイウ イウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,3) FROM `T10`;
-C1 RIGHT(`C1`,3)
-アイウエオ ウエオ
-アイウエ イウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,4) FROM `T10`;
-C1 RIGHT(`C1`,4)
-アイウエオ イウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,5) FROM `T10`;
-C1 RIGHT(`C1`,5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,0) FROM `T11`;
-C1 RIGHT(`C1`,0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, RIGHT(`C1`,1) FROM `T11`;
-C1 RIGHT(`C1`,1)
-あいうえお お
-あいうえ え
-あいう う
-あい い
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,2) FROM `T11`;
-C1 RIGHT(`C1`,2)
-あいうえお えお
-あいうえ うえ
-あいう いう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,3) FROM `T11`;
-C1 RIGHT(`C1`,3)
-あいうえお うえお
-あいうえ いうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,4) FROM `T11`;
-C1 RIGHT(`C1`,4)
-あいうえお いうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,5) FROM `T11`;
-C1 RIGHT(`C1`,5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,0) FROM `T12`;
-C1 RIGHT(`C1`,0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, RIGHT(`C1`,1) FROM `T12`;
-C1 RIGHT(`C1`,1)
-龔龖龗龞龡 龡
-龔龖龗龞 龞
-龔龖龗 龗
-龔龖 龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,2) FROM `T12`;
-C1 RIGHT(`C1`,2)
-龔龖龗龞龡 龞龡
-龔龖龗龞 龗龞
-龔龖龗 龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,3) FROM `T12`;
-C1 RIGHT(`C1`,3)
-龔龖龗龞龡 龗龞龡
-龔龖龗龞 龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,4) FROM `T12`;
-C1 RIGHT(`C1`,4)
-龔龖龗龞龡 龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,5) FROM `T12`;
-C1 RIGHT(`C1`,5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -622,6 +469,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_right_ujis.result b/mysql-test/suite/jp/r/jp_right_ujis.result
index bb182853d95..d5d2cda036f 100644
--- a/mysql-test/suite/jp/r/jp_right_ujis.result
+++ b/mysql-test/suite/jp/r/jp_right_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -33,9 +27,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, RIGHT(`C1`,0) FROM `T1`;
C1 RIGHT(`C1`,0)
@@ -468,150 +459,6 @@ SELECT `C1`, RIGHT(`C1`,5) FROM `T9`;
龔龖 龔龖
龔 龔
-SELECT `C1`, RIGHT(`C1`,0) FROM `T10`;
-C1 RIGHT(`C1`,0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, RIGHT(`C1`,1) FROM `T10`;
-C1 RIGHT(`C1`,1)
-アイウエオ オ
-アイウエ エ
-アイウ ウ
-アイ イ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,2) FROM `T10`;
-C1 RIGHT(`C1`,2)
-アイウエオ エオ
-アイウエ ウエ
-アイウ イウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,3) FROM `T10`;
-C1 RIGHT(`C1`,3)
-アイウエオ ウエオ
-アイウエ イウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,4) FROM `T10`;
-C1 RIGHT(`C1`,4)
-アイウエオ イウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,5) FROM `T10`;
-C1 RIGHT(`C1`,5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, RIGHT(`C1`,0) FROM `T11`;
-C1 RIGHT(`C1`,0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, RIGHT(`C1`,1) FROM `T11`;
-C1 RIGHT(`C1`,1)
-あいうえお お
-あいうえ え
-あいう う
-あい い
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,2) FROM `T11`;
-C1 RIGHT(`C1`,2)
-あいうえお えお
-あいうえ うえ
-あいう いう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,3) FROM `T11`;
-C1 RIGHT(`C1`,3)
-あいうえお うえお
-あいうえ いうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,4) FROM `T11`;
-C1 RIGHT(`C1`,4)
-あいうえお いうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,5) FROM `T11`;
-C1 RIGHT(`C1`,5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, RIGHT(`C1`,0) FROM `T12`;
-C1 RIGHT(`C1`,0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, RIGHT(`C1`,1) FROM `T12`;
-C1 RIGHT(`C1`,1)
-龔龖龗龞龡 龡
-龔龖龗龞 龞
-龔龖龗 龗
-龔龖 龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,2) FROM `T12`;
-C1 RIGHT(`C1`,2)
-龔龖龗龞龡 龞龡
-龔龖龗龞 龗龞
-龔龖龗 龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,3) FROM `T12`;
-C1 RIGHT(`C1`,3)
-龔龖龗龞龡 龗龞龡
-龔龖龗龞 龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,4) FROM `T12`;
-C1 RIGHT(`C1`,4)
-龔龖龗龞龡 龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, RIGHT(`C1`,5) FROM `T12`;
-C1 RIGHT(`C1`,5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -621,6 +468,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_right_utf8.result b/mysql-test/suite/jp/r/jp_right_utf8.result
index 50ba18ce3c4..e0b5c847956 100644
--- a/mysql-test/suite/jp/r/jp_right_utf8.result
+++ b/mysql-test/suite/jp/r/jp_right_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器`;
鐚o RIGHT(`鐚o`,0)
@@ -468,150 +459,6 @@ SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器`;
蘊蘊 蘊蘊
蘊 蘊
-SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,0)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, RIGHT(`鐚o`,1) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,1)
-鐔縁讐鐔鰹輯鐔 鐔
-鐔縁讐鐔鰹輯 鐔
-鐔縁讐鐔 鐔
-鐔縁讐 鐔
-鐔 鐔
-
-SELECT `鐚o`, RIGHT(`鐚o`,2) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,2)
-鐔縁讐鐔鰹輯鐔 鐔器週
-鐔縁讐鐔鰹輯 鐔鰹輯
-鐔縁讐鐔 鐔駕蹴
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,3)
-鐔縁讐鐔鰹輯鐔 鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔駕蹴鐔
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,4)
-鐔縁讐鐔鰹輯鐔 鐔駕蹴鐔器週
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,5)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,0)
-
-
-
-
-
-
-SELECT `鐚o`, RIGHT(`鐚o`,1) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,1)
-
-
-
-
-
-
-SELECT `鐚o`, RIGHT(`鐚o`,2) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,2)
-
-
-
-
-
-
-SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,3)
-
-
-
-
-
-
-SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,4)
-
-
-
-
-
-
-SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,5)
-
-
-
-
-
-
-SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,0)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, RIGHT(`鐚o`,1) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,1)
-蘊蘊蘊蘊蘊 蘊
-蘊蘊蘊蘊 蘊
-蘊蘊蘊 蘊
-蘊蘊 蘊
-蘊 蘊
-
-SELECT `鐚o`, RIGHT(`鐚o`,2) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,2)
-蘊蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊 蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,3)
-蘊蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,4)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器鐚`;
-鐚o RIGHT(`鐚o`,5)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -621,6 +468,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_rpad_sjis.result b/mysql-test/suite/jp/r/jp_rpad_sjis.result
index 9c61c200672..906bbc4680d 100644
--- a/mysql-test/suite/jp/r/jp_rpad_sjis.result
+++ b/mysql-test/suite/jp/r/jp_rpad_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sR` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
SELECT `bP`, RPAD(`bP`,5,'') FROM `sP`;
bP RPAD(`bP`,5,'')
  
@@ -108,30 +99,6 @@ SELECT `bP`, RPAD(`bP`,5,'\' ) FROM `sX`;
\\ \\\\\
\ \\\\\
\\\\\
-SELECT `bP`, RPAD(`bP`,5,'') FROM `sPO`;
-bP RPAD(`bP`,5,'')
-渦慨 渦慨
-渦慨 渦慨
-渦 渦魁
-渦 渦 
- 院 
-   
-SELECT `bP`, RPAD(`bP`,5,'w') FROM `sPP`;
-bP RPAD(`bP`,5,'w')
-
- w
- ww
- www
- wwww
- wwwww
-SELECT `bP`, RPAD(`bP`,5,'\' ) FROM `sPQ`;
-bP RPAD(`bP`,5,'\' )
-\\\\\ \\\\\
-\\\\ \\\\\
-\\\ \\\\\
-\\ \\\\\
-\ \\\\\
- \\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -141,6 +108,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_rpad_ucs2.result b/mysql-test/suite/jp/r/jp_rpad_ucs2.result
index b9df4cf6783..c3cbd1540ae 100644
--- a/mysql-test/suite/jp/r/jp_rpad_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_rpad_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -34,9 +28,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, RPAD(`C1`,5,'。') FROM `T1`;
C1 RPAD(`C1`,5,'。')
。。。。。
@@ -109,30 +100,6 @@ SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T9`;
龔龖 龔龖丄丄丄
龔 龔丄丄丄丄
丄丄丄丄丄
-SELECT `C1`, RPAD(`C1`,5,'。') FROM `T10`;
-C1 RPAD(`C1`,5,'。')
-アイウエオ アイウエオ
-アイウエ アイウエ。
-アイウ アイウ。。
-アイ アイ。。。
-ア ア。。。。
- 。。。。。
-SELECT `C1`, RPAD(`C1`,5,'X') FROM `T11`;
-C1 RPAD(`C1`,5,'X')
-あいうえお あいうえお
-あいうえ あいうえX
-あいう あいうXX
-あい あいXXX
-あ あXXXX
- XXXXX
-SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T12`;
-C1 RPAD(`C1`,5,'丄' )
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞丄
-龔龖龗 龔龖龗丄丄
-龔龖 龔龖丄丄丄
-龔 龔丄丄丄丄
- 丄丄丄丄丄
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -142,6 +109,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_rpad_ujis.result b/mysql-test/suite/jp/r/jp_rpad_ujis.result
index 3183b4f5fcd..38beef83591 100644
--- a/mysql-test/suite/jp/r/jp_rpad_ujis.result
+++ b/mysql-test/suite/jp/r/jp_rpad_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -33,9 +27,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, RPAD(`C1`,5,'。') FROM `T1`;
C1 RPAD(`C1`,5,'。')
。。。。。
@@ -108,30 +99,6 @@ SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T9`;
龔龖 龔龖丄丄丄
龔 龔丄丄丄丄
丄丄丄丄丄
-SELECT `C1`, RPAD(`C1`,5,'。') FROM `T10`;
-C1 RPAD(`C1`,5,'。')
-アイウエオ アイウエオ
-アイウエ アイウエ。
-アイウ アイウ。。
-アイ アイ。。。
-ア ア。。。。
- 。。。。。
-SELECT `C1`, RPAD(`C1`,5,'X') FROM `T11`;
-C1 RPAD(`C1`,5,'X')
-あいうえお あいうえお
-あいうえ あいうえX
-あいう あいうXX
-あい あいXXX
-あ あXXXX
- XXXXX
-SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T12`;
-C1 RPAD(`C1`,5,'丄' )
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞丄
-龔龖龗 龔龖龗丄丄
-龔龖 龔龖丄丄丄
-龔 龔丄丄丄丄
- 丄丄丄丄丄
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -141,6 +108,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_rpad_utf8.result b/mysql-test/suite/jp/r/jp_rpad_utf8.result
index c482a058bd8..c2d65a3c953 100644
--- a/mysql-test/suite/jp/r/jp_rpad_utf8.result
+++ b/mysql-test/suite/jp/r/jp_rpad_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
SELECT `鐚o`, RPAD(`鐚o`,5,'鐔') FROM `鐚器`;
鐚o RPAD(`鐚o`,5,'鐔')
鐔¥宗鐔¥宗鐔
@@ -108,30 +99,6 @@ SELECT `鐚o`, RPAD(`鐚o`,5,'筝' ) FROM `鐚器`;
蘊蘊 蘊蘊筝筝筝
蘊 蘊筝筝筝筝
筝筝筝筝筝
-SELECT `鐚o`, RPAD(`鐚o`,5,'鐔') FROM `鐚器鐚`;
-鐚o RPAD(`鐚o`,5,'鐔')
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔 鐔縁讐鐔鰹宗鐔
-鐔縁讐 鐔縁讐鐔¥宗鐔
-鐔 鐔縁宗鐔¥宗鐔
- 鐔¥宗鐔¥宗鐔
-SELECT `鐚o`, RPAD(`鐚o`,5,'鐚') FROM `鐚器鐚`;
-鐚o RPAD(`鐚o`,5,'鐚')
-
- 鐚
- 鐚醐叱
- 鐚醐叱鐚
- 鐚醐叱鐚醐叱
- 鐚醐叱鐚醐叱鐚
-SELECT `鐚o`, RPAD(`鐚o`,5,'筝' ) FROM `鐚器鐚`;
-鐚o RPAD(`鐚o`,5,'筝' )
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊筝
-蘊蘊蘊 蘊蘊蘊筝筝
-蘊蘊 蘊蘊筝筝筝
-蘊 蘊筝筝筝筝
- 筝筝筝筝筝
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -141,6 +108,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_rtrim_sjis.result b/mysql-test/suite/jp/r/jp_rtrim_sjis.result
index 01ab173c982..fc5b490abc9 100644
--- a/mysql-test/suite/jp/r/jp_rtrim_sjis.result
+++ b/mysql-test/suite/jp/r/jp_rtrim_sjis.result
@@ -7,7 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sP` VALUES ('渦慨 ');
INSERT INTO `sP` VALUES ('渦慨 ');
@@ -85,27 +81,6 @@ INSERT INTO `sX` VALUES ('\\\\\ ');
INSERT INTO `sX` VALUES ('\\\\\@');
INSERT INTO `sX` VALUES ('\\\\\@@');
INSERT INTO `sX` VALUES ('\\\\\@@@');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPO` VALUES ('渦慨 ');
-INSERT INTO `sPO` VALUES ('渦慨 ');
-INSERT INTO `sPO` VALUES ('渦慨 ');
-INSERT INTO `sPO` VALUES ('渦慨@');
-INSERT INTO `sPO` VALUES ('渦慨@@');
-INSERT INTO `sPO` VALUES ('渦慨@@@');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES ('@');
-INSERT INTO `sPP` VALUES ('@@');
-INSERT INTO `sPP` VALUES ('@@@');
-INSERT INTO `sPQ` VALUES ('\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\ ');
-INSERT INTO `sPQ` VALUES ('\\\\\ ');
-INSERT INTO `sPQ` VALUES ('\\\\\ ');
-INSERT INTO `sPQ` VALUES ('\\\\\@');
-INSERT INTO `sPQ` VALUES ('\\\\\@@');
-INSERT INTO `sPQ` VALUES ('\\\\\@@@');
SELECT RTRIM(`bP`) from `sP`;
RTRIM(`bP`)
渦慨
@@ -187,33 +162,6 @@ RTRIM(`bP`)
\\\\\@
\\\\\@@
\\\\\@@@
-SELECT RTRIM(`bP`) from `sPO`;
-RTRIM(`bP`)
-渦慨
-渦慨
-渦慨
-渦慨
-渦慨@
-渦慨@@
-渦慨@@@
-SELECT RTRIM(`bP`) from `sPP`;
-RTRIM(`bP`)
-
-
-
-
-@
-@@
-@@@
-SELECT RTRIM(`bP`) from `sPQ`;
-RTRIM(`bP`)
-\\\\\
-\\\\\
-\\\\\
-\\\\\
-\\\\\@
-\\\\\@@
-\\\\\@@@
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -223,6 +171,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_rtrim_ucs2.result b/mysql-test/suite/jp/r/jp_rtrim_ucs2.result
index 905f5bef08f..417396350b5 100644
--- a/mysql-test/suite/jp/r/jp_rtrim_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_rtrim_ucs2.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -17,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES ('アイウエオ ');
INSERT INTO `T1` VALUES ('アイウエオ ');
@@ -86,27 +82,6 @@ INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡  ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡   ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ  ');
-INSERT INTO `T10` VALUES ('アイウエオ   ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお  ');
-INSERT INTO `T11` VALUES ('あいうえお   ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡  ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡   ');
SELECT RTRIM(`C1`) from `T1`;
RTRIM(`C1`)
アイウエオ
@@ -188,33 +163,6 @@ RTRIM(`C1`)
龔龖龗龞龡 
龔龖龗龞龡  
龔龖龗龞龡   
-SELECT RTRIM(`C1`) from `T10`;
-RTRIM(`C1`)
-アイウエオ
-アイウエオ
-アイウエオ
-アイウエオ
-アイウエオ 
-アイウエオ  
-アイウエオ   
-SELECT RTRIM(`C1`) from `T11`;
-RTRIM(`C1`)
-あいうえお
-あいうえお
-あいうえお
-あいうえお
-あいうえお 
-あいうえお  
-あいうえお   
-SELECT RTRIM(`C1`) from `T12`;
-RTRIM(`C1`)
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡 
-龔龖龗龞龡  
-龔龖龗龞龡   
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -224,6 +172,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_rtrim_ujis.result b/mysql-test/suite/jp/r/jp_rtrim_ujis.result
index 84b141c16dc..d922cab93ef 100644
--- a/mysql-test/suite/jp/r/jp_rtrim_ujis.result
+++ b/mysql-test/suite/jp/r/jp_rtrim_ujis.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES ('アイウエオ ');
INSERT INTO `T1` VALUES ('アイウエオ ');
@@ -85,27 +81,6 @@ INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡  ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡   ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ  ');
-INSERT INTO `T10` VALUES ('アイウエオ   ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお  ');
-INSERT INTO `T11` VALUES ('あいうえお   ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡  ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡   ');
SELECT RTRIM(`C1`) from `T1`;
RTRIM(`C1`)
アイウエオ
@@ -187,33 +162,6 @@ RTRIM(`C1`)
龔龖龗龞龡 
龔龖龗龞龡  
龔龖龗龞龡   
-SELECT RTRIM(`C1`) from `T10`;
-RTRIM(`C1`)
-アイウエオ
-アイウエオ
-アイウエオ
-アイウエオ
-アイウエオ 
-アイウエオ  
-アイウエオ   
-SELECT RTRIM(`C1`) from `T11`;
-RTRIM(`C1`)
-あいうえお
-あいうえお
-あいうえお
-あいうえお
-あいうえお 
-あいうえお  
-あいうえお   
-SELECT RTRIM(`C1`) from `T12`;
-RTRIM(`C1`)
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡
-龔龖龗龞龡 
-龔龖龗龞龡  
-龔龖龗龞龡   
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -223,6 +171,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_rtrim_utf8.result b/mysql-test/suite/jp/r/jp_rtrim_utf8.result
index 09d719f3386..d793f895793 100644
--- a/mysql-test/suite/jp/r/jp_rtrim_utf8.result
+++ b/mysql-test/suite/jp/r/jp_rtrim_utf8.result
@@ -7,7 +7,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔 ');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔 ');
@@ -85,27 +81,6 @@ 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 ('');
-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 ('蘊蘊蘊蘊蘊<');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊<');
SELECT RTRIM(`鐚o`) from `鐚器`;
RTRIM(`鐚o`)
鐔縁讐鐔鰹輯鐔
@@ -187,33 +162,6 @@ RTRIM(`鐚o`)
蘊蘊蘊蘊蘊<
蘊蘊蘊蘊蘊<
蘊蘊蘊蘊蘊<
-SELECT RTRIM(`鐚o`) from `鐚器鐚`;
-RTRIM(`鐚o`)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔泣
-鐔縁讐鐔鰹輯鐔泣
-鐔縁讐鐔鰹輯鐔泣
-SELECT RTRIM(`鐚o`) from `鐚器鐚`;
-RTRIM(`鐚o`)
-
-
-
-
-
-
-
-SELECT RTRIM(`鐚o`) from `鐚器鐚`;
-RTRIM(`鐚o`)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊<
-蘊蘊蘊蘊蘊<
-蘊蘊蘊蘊蘊<
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -223,6 +171,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_select_sjis.result b/mysql-test/suite/jp/r/jp_select_sjis.result
index d48d08d745f..38c1cf06448 100644
--- a/mysql-test/suite/jp/r/jp_select_sjis.result
+++ b/mysql-test/suite/jp/r/jp_select_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engi
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sP`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sQ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sR`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
SELECT * FROM `sP`;
bP
!"#$%&'()*+,-./
@@ -285,89 +276,6 @@ SELECT * FROM `sW`;
SELECT * FROM `sX`;
bP
\\\\\\\\\\\\\\\\\\\\
-SELECT * FROM `sPO`;
-bP
- !"#$%&'()*+,-./
-0123456789:;<=>?
-@ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_
-abcdefghijklmno
-pqrstuvwxyz{|}~
- 、ぅΗ┤
-葦桶患況弦沙悉梢
-請唾津毒班碧麺力
-佰厶壞嶐慵无槿渤
-SELECT * FROM `sPP`;
-bP
-@@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz
-{]}~
-EEEEE
-EEEEEE
-EEEEEEEEEEEE
-EEEEEEEEEEEEE
-EEEEE
-EEEEEEEEEE@
-EEEEEEEEEEEEEEEEOPQR
-STUVWXEEEEEEE`abcdef
-ghijklmnopqrstuvwxyE
-EEEEE
-EEEEEEEEE
-E
-
-
-
-EEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz
-{|}~
-EEEEEEEEEEEEE
-E
-EEEEEEEE
-EEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`EEEEEE
-EEEEEEEEEpqrstuvwxyz
-{|}~
-EEEEEEEEEEEEEEEEEE
-E
-EEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-E
-
-
-
-EEEEE
-E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef
-ghijklmnopqrEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-E
-
-
-
-EEEEE
-E@ABCDEFGHIJKLMNOPQR
-STUVWXYZ[\]^_`abcdef
-ghijklmnopqrstuvwxyz
-{|}~
-EEEEE
-E蝓蝣蝪蠅EEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-EEEEEEEEEEEEEEEEEEEE
-SELECT * FROM `sPQ`;
-bP
-\\\\\\\\\\\\\\\\\\\\
drop table `sP`;
drop table `sQ`;
drop table `sR`;
@@ -377,6 +285,3 @@ drop table `sU`;
drop table `sV`;
drop table `sW`;
drop table `sX`;
-drop table `sPO`;
-drop table `sPP`;
-drop table `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_select_ucs2.result b/mysql-test/suite/jp/r/jp_select_ucs2.result
index 39d057ed107..a02cc2ead77 100644
--- a/mysql-test/suite/jp/r/jp_select_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_select_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -22,9 +19,6 @@ CREATE TABLE `T6` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = myi
CREATE TABLE `T7` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T8` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T9` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = bdb;
INSERT INTO `T1` VALUES
('PQRSTUVWXYZ[\\]^_')
,(' 。「」、・ヲァィゥェォャュョッ')
@@ -91,28 +85,6 @@ INSERT INTO `T9` VALUES
,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
-('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-INSERT INTO `T11` VALUES
-('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-INSERT INTO `T12` VALUES
-('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
SELECT * FROM `T1`;
c1
。「」、・ヲァィゥェォャュョッ
@@ -188,31 +160,6 @@ c1
・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪
鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
-SELECT * FROM `T10`;
-c1
-PQRSTUVWXYZ[\]^_
- 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚
-SELECT * FROM `T11`;
-c1
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-・ァアィイゥウェエォオカガキギクグケゲコ
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-SELECT * FROM `T12`;
-c1
-・˛˚~΄΅・・・・・・・・¡¦¿・・・
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -222,6 +169,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/r/jp_select_ujis.result b/mysql-test/suite/jp/r/jp_select_ujis.result
index 3eea73c8083..b8dbe2f6732 100644
--- a/mysql-test/suite/jp/r/jp_select_ujis.result
+++ b/mysql-test/suite/jp/r/jp_select_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = inn
CREATE TABLE `T4` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T1`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T2`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T3`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
SELECT * FROM `T1`;
c1
!"#$%&'()*+,-./
@@ -402,128 +393,6 @@ c1
齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
龔龖龗龞龡龢龣龥・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・
-SELECT * FROM `T10`;
-c1
- !"#$%&'()*+,-./
-0123456789:;<=>?
-@ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_
-abcdefghijklmno
-pqrstuvwxyz{|}~
- 。「」、・ヲァィゥェォャュョッ
-ーアイウエオカキクケコサシスセソ
-タチツテトナニヌネノハヒフヘホマ
-ミムメモヤユヨラリルレロワン゙゚
-SELECT * FROM `T11`;
-c1
-  、。,.・:;?!゛゜´`¨^ ̄_ヽ
-ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’
-“”()〔〕[]{}〈〉《》「」『』【】
-+‐±×÷=≠<>≦≧∞∴♂♀°′″℃¥
-$¢£%#&*@§☆★○●◎◇・・・・・
-・◆□■△▲▽▼※〒→←↑↓〓・・・・・
-・・・・・・∈∋⊆⊇⊂⊃∪∩・・・・・・
-・・∧∨¬⇒⇔∀∃・・・・・・・・・・・
-∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬・・・・・
-・・ʼn♯♭♪†‡¶・・・・◯・・・・ 
-・・・・・・・・・・・・・・・・0123
-456789・・・・・・・ABCDEFG
-HIJKLMNOPQRSTUVWXYZ・
-・・・・・abcdefghijklmno
-pqrstuvwxyz・・・・・・・・・
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-ごさざしじすずせぜそぞただちぢっつづてで
-とどなにぬねのはばぱひびぴふぶぷへべぺほ
-ぼぽまみむめもゃやゅゆょよらりるれろゎわ
-ゐゑをん・・・・・・・・・・・・・・・・
-・ァアィイゥウェエォオカガキギクグケゲコ
-ゴサザシジスズセゼソゾタダチヂッツヅテデ
-トドナニヌネノハバパヒビピフブプヘベペホ
-ボポマミムメモャヤュユョヨラリルレロヮワ
-ヰヱヲンヴヵヶ・・・・・・・・・・・・・
-・ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤ
-ΥΦΧΨΩ・・・・・・・・αβγδεζη
-θικλμνξοπρστυφχψω・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・АБВГДЕЁЖЗИЙКЛМНОПРС
-ТУФХЦЧШЩЪЫЬЭЮЯ・・・・・・
-・・・・・・・・・абвгдеёжзий
-клмнопрстуфхцчшщъыьэ
-юя・・・・・・・・・・・・・・・・・・
-・─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳
-┫┻╋┠┯┨┷┿┝┰┥┸╂・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵
-梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇
-鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異
-移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸
-稲茨芋鰯允印咽員因姻引飲淫胤蔭・・・・・
-・蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏
-牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑
-枠鷲亙亘鰐詫藁蕨椀湾碗腕・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞
-亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛
-佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛
-俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆
-偃假會偕偐偈做偖偬偸傀傚傅傴傲・・・・・
-・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻
-鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈
-麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝
-黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒
-齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠・・・・・
-・堯槇遙瑤凜熙・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-SELECT * FROM `T12`;
-c1
-・・・・・・・・・・・・・・・˘ˇ¸˙˝
-・˛˚~΄΅・・・・・・・・¡¦¿・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・ºª©®™
-¤№・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・ΆΈΉΊΪ・Ό・ΎΫ・Ώ・・・
-・άέήίϊΐόςύϋΰώ・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・ЂЃЄЅІЇ
-ЈЉЊЋЌЎЏ・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・ђѓєѕіїјљњћќўџ・・・・・
-・ÆĐ・Ħ・IJ・ŁĿ・ŊØŒ・ŦÞ・・・
-・・・・・・・・・・・・・æđðħıijĸ
-łŀʼnŋøœßŧþ・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
-・ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈË
-ÊĚĖĒĘ・ĜĞĢĠĤÍÌÏÎǏİĪĮĨ
-ĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖ
-ŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙ
-ǕŴÝŸŶŹŽŻ・・・・・・・・・・・・
-・áàäâăǎāąåãćĉčçċďéèë
-êěėēęǵĝğ・ġĥíìïîǐ・īįĩ
-ĵķĺľļńňņñóòöôǒőōõŕřŗ
-śŝšşťţúùüûŭǔűūųůũǘǜǚ
-ǖŵýÿŷźžż・・・・・・・・・・・・
-・丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑
-乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠
-仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众
-伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘
-佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄・・・・・
-・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒
-龔龖龗龞龡龢龣龥・・・・・・・・・・・・
-・・・・・・・・・・・・・・・・・・・・
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -533,6 +402,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/r/jp_select_utf8.result b/mysql-test/suite/jp/r/jp_select_utf8.result
index 43704ad2f6e..bc7b23cd51c 100644
--- a/mysql-test/suite/jp/r/jp_select_utf8.result
+++ b/mysql-test/suite/jp/r/jp_select_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = i
CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
SELECT * FROM `鐚器`;
c1
!"#$%&'()*+,-./
@@ -402,128 +393,6 @@ c1
藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊
蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉
祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT * FROM `鐚器鐚`;
-c1
- !"#$%&'()*+,-./
-0123456789:;<=>?
-@ABCDEFGHIJKLMNO
-PQRSTUVWXYZ[\]^_
-abcdefghijklmno
-pqrstuvwxyz{|}~
- 鐔¥就鐔o修鐔ワ拾鐔э秀鐔鐔鐔鐔鐔鐔鐔
-鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓鐓
-SELECT * FROM `鐚器鐚`;
-c1
-鐚鐚誌鐚鐚鐚卒鐔即鐚常殖鐚帥
-障篁錫鐚鐚若鐔モ
-鐚鐚鐚誌悉鐔鐔
-鐚賊歎鐚鐚鐚р癌属霞鰍鐃
-鐚蔵贈鐚鐚鐚鐚鐚則祉祉祉祉
-獅≠鰍霞盾錫祉祉祉祉祉
-祉祉祉祉祉獅祉祉祉祉祉
-祉獅р測祉祉祉祉祉祉祉祉祉祉
-モ≠盾汲祉祉祉祉
-祉獅謂‖吟祉祉祉獅祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉誌鐚鐚鐚
-鐚鐚鐚鐚鐚鐚祉祉祉祉祉祉誌次鐚鐚o爾鐚ワ痔鐚
-鐚鐚鐚鐚鐚鐚鐚鐚鐚逸識鐚駕竺鐚器宍鐚駈七鐚醐執鐚冴
-祉祉祉祉誌鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔
-鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔鐔祉祉祉祉祉祉祉祉
-祉
-<≪cゃャ
-違宴蚊潟眼泣吟激吾鴻冴
-若純障帥
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉<≪cゃャс違宴蚊
-眼泣吟激吾鴻冴祉若純障帥
-
-<≪cゃャс
-違宴蚊潟眼泣吟祉祉祉祉祉祉祉祉祉祉祉祉
-士痢裡里
-離陸律率立祉祉祉祉祉祉祉士盈歌確肝砧粁
-慮旅虜了亮僚両凌祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-姉弌
-丐丕个丱丶丼丿乂乖乘亂亅豫亊祉祉祉祉祉
-祉祉祉祉祉祉祉祉姉夷頴火覚莞却亢亰亳亶
-从仍仄仆仂仗
-ム祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-獅も癌錫b
-獅撃垂謂モ呉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-私紲水紮狗∵笈腥≧献薇
-罌ф≧怨紮脂4腟∝蕎藪膕茴桁綺究罅
-鋌ヤ篏箴峨し紮紲絨井罎榊
-腱紫境膩茵h阪私篋ュ臥脾筝紕掩頃
-腮画薜医遵≦紮糸蕋我繰よ祉祉祉祉
-肢i薛罠莖莊峨翫綮綣罐惹羌羲
-∝主乗藝胼画荅掩莖
-薹俄篋薜荅罎羚丞祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-糸筝筝筝筝延原筝寂舷箙箙箙篋篋莟篋綣篋篋
-篋篋篋≫紺篋割唆篁篁篁篁篁篁篁篁篁篁隙篏篌遺
-篏篏篏篏銀箴鋐篏私秋篏遺篏箴箴篆篆篆篆篆
-篆篆篆篆や織ュ篌篆九≦篆鞘侵
-後翫蚊祉祉祉祉
-脂薺薺ら薺薺薺臥藏藏薺薺咲藏ら匡藏臥薹藏
-藏檎矯薹薹騂薹薹薹檎窪薹薹薹初藐藐藕級更藕初藝
-藝藝藝藝藝藝藝ラ懇藝檎昏藝♂藥藥騌藥藥藥藥
-藥藥ラ雑藥藥顔散藥潔珊藥脂纂藥初藜潔藜♂蒔藜冗藹
-藹藹i藹藹♂拾藹ч習藹藹潔讐藹狗蘊蘊祉祉祉祉
-糸罕ゅ祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-SELECT * FROM `鐚器鐚`;
-c1
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉史存
-史鐔祉祉祉祉祉祉祉斬‖β帥祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉斬座息速
-造祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉士葎士士ホ士祉祉
-士劉流溜琉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉姉
-ミ祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉姿祉祉祉祉
-暫残残蚊仕朕仕仕γ祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉暫δ丹徴脹蝶銚
-淡擢綻祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
-暫テ
-残帳弔ヌ棵暢町懲
-調超長捗鳥
-鼎鄭適徹的轍溺敵
-鉄展填店貼纏祉祉祉祉祉祉祉祉祉祉祉
-暫|辰但ト奪達巽枎竪谷
-棚乃残…ッ狸誰樽残眺挑
-諜跳頂直勅単坦嘆旦担探
-邸泥釘炭湛端短鏑撤笛迭哲滴
-典箪耽天添転甜祉祉祉祉祉祉祉祉祉祉祉
-私筝筝筝筝筝筝d犬筝筝筝筝筝遺元箙箙箙箙箙
-箙箙箙d宏箙箙岩控箙剛洪篋篋篋篋篋篋剛篁篁篁篁
-篁>拶篁篁篁延山篁灸蚕篁鞘賛篌篌篌篌篌篌篌篌篌篌
-篌篌篌延篌割宍篌隙執篌私湿篏篏篏篏篏篏篏篏篏篏
-篏篏d終篏篏篏延酬篏娯醜篏坂十篏鞘箴箴祉祉祉祉
-脂燦藥翠藜藜藜騐藜藜藜藜藜藜藜藜藜藜∫痔藜
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
-藹藹藹藹藹藹藹藹藹藹藹育襲藹渇週藹咲十蘊騖蘊蘊
-蘊蘊蘊蘊蘊♂匠蘊i哨祉祉祉祉祉祉祉祉祉祉祉
-祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉祉
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
@@ -533,6 +402,3 @@ drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_subquery_sjis.result b/mysql-test/suite/jp/r/jp_subquery_sjis.result
index b94de3630af..d1dd688e938 100644
--- a/mysql-test/suite/jp/r/jp_subquery_sjis.result
+++ b/mysql-test/suite/jp/r/jp_subquery_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sPa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
@@ -24,18 +21,12 @@ CREATE TABLE `sTa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine
CREATE TABLE `sTb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
+CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sPa` VALUES (''),(''),('');
INSERT INTO `sPb` VALUES ('');
INSERT INTO `sQa` VALUES (''),(''),('');
@@ -54,12 +45,6 @@ INSERT INTO `sWa` VALUES (''),(''),('');
INSERT INTO `sWb` VALUES ('');
INSERT INTO `sXa` VALUES ('\'),('\'),('\');
INSERT INTO `sXb` VALUES ('\');
-INSERT INTO `sPOa` VALUES (''),(''),('');
-INSERT INTO `sPOb` VALUES ('');
-INSERT INTO `sPPa` VALUES (''),(''),('');
-INSERT INTO `sPPb` VALUES ('');
-INSERT INTO `sPQa` VALUES ('\'),('\'),('\');
-INSERT INTO `sPQb` VALUES ('\');
SELECT `bP` FROM `sPa` WHERE `bP` IN (SELECT `bP` FROM `sPb`);
bP
@@ -150,36 +135,6 @@ SELECT `bP` FROM `sXa` WHERE NOT EXISTS (SELECT `bP` FROM `sXb` WHERE `
bP
\
\
-SELECT `bP` FROM `sPOa` WHERE `bP` IN (SELECT `bP` FROM `sPOb`);
-bP
-
-SELECT `bP` FROM `sPOa` WHERE EXISTS (SELECT `bP` FROM `sPOb` WHERE `sPOa`.`bP` = `sPOb`.`bP`);
-bP
-
-SELECT `bP` FROM `sPOa` WHERE NOT EXISTS (SELECT `bP` FROM `sPOb` WHERE `sPOa`.`bP` = `sPOb`.`bP`);
-bP
-
-
-SELECT `bP` FROM `sPPa` WHERE `bP` IN (SELECT `bP` FROM `sPPb`);
-bP
-
-SELECT `bP` FROM `sPPa` WHERE EXISTS (SELECT `bP` FROM `sPPb` WHERE `sPPa`.`bP` = `sPPb`.`bP`);
-bP
-
-SELECT `bP` FROM `sPPa` WHERE NOT EXISTS (SELECT `bP` FROM `sPPb` WHERE `sPPa`.`bP` = `sPPb`.`bP`);
-bP
-
-
-SELECT `bP` FROM `sPQa` WHERE `bP` IN (SELECT `bP` FROM `sPQb`);
-bP
-\
-SELECT `bP` FROM `sPQa` WHERE EXISTS (SELECT `bP` FROM `sPQb` WHERE `sPQa`.`bP` = `sPQb`.`bP`);
-bP
-\
-SELECT `bP` FROM `sPQa` WHERE NOT EXISTS (SELECT `bP` FROM `sPQb` WHERE `sPQa`.`bP` = `sPQb`.`bP`);
-bP
-\
-\
DROP TABLE `sPa`;
DROP TABLE `sPb`;
DROP TABLE `sQa`;
@@ -198,9 +153,3 @@ DROP TABLE `sWa`;
DROP TABLE `sWb`;
DROP TABLE `sXa`;
DROP TABLE `sXb`;
-DROP TABLE `sPOa`;
-DROP TABLE `sPOb`;
-DROP TABLE `sPPa`;
-DROP TABLE `sPPb`;
-DROP TABLE `sPQa`;
-DROP TABLE `sPQb`;
diff --git a/mysql-test/suite/jp/r/jp_subquery_ucs2.result b/mysql-test/suite/jp/r/jp_subquery_ucs2.result
index 023100ecce3..1cafa1ae83b 100644
--- a/mysql-test/suite/jp/r/jp_subquery_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_subquery_ucs2.result
@@ -1,15 +1,21 @@
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -25,18 +31,12 @@ CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine
CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1a` VALUES ('ア'),('カ'),('サ');
INSERT INTO `T1b` VALUES ('ア');
INSERT INTO `T2a` VALUES ('あ'),('か'),('さ');
@@ -55,12 +55,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
SELECT `C1` FROM `T1a` WHERE `C1` IN (SELECT `C1` FROM `T1b`);
C1
@@ -151,36 +145,6 @@ SELECT `C1` FROM `T9a` WHERE NOT EXISTS (SELECT `C1` FROM `T9b` WHERE `
C1
-SELECT `C1` FROM `T10a` WHERE `C1` IN (SELECT `C1` FROM `T10b`);
-C1
-ア
-SELECT `C1` FROM `T10a` WHERE EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-C1
-ア
-SELECT `C1` FROM `T10a` WHERE NOT EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-C1
-カ
-サ
-SELECT `C1` FROM `T11a` WHERE `C1` IN (SELECT `C1` FROM `T11b`);
-C1
-あ
-SELECT `C1` FROM `T11a` WHERE EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-C1
-あ
-SELECT `C1` FROM `T11a` WHERE NOT EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-C1
-か
-さ
-SELECT `C1` FROM `T12a` WHERE `C1` IN (SELECT `C1` FROM `T12b`);
-C1
-龔
-SELECT `C1` FROM `T12a` WHERE EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
-C1
-龔
-SELECT `C1` FROM `T12a` WHERE NOT EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
-C1
-龖
-龗
DROP TABLE `T1a`;
DROP TABLE `T1b`;
DROP TABLE `T2a`;
@@ -199,9 +163,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
diff --git a/mysql-test/suite/jp/r/jp_subquery_ujis.result b/mysql-test/suite/jp/r/jp_subquery_ujis.result
index 0b6aa03970f..530f7e1ad9f 100644
--- a/mysql-test/suite/jp/r/jp_subquery_ujis.result
+++ b/mysql-test/suite/jp/r/jp_subquery_ujis.result
@@ -1,15 +1,21 @@
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
@@ -24,18 +30,12 @@ CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine
CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1a` VALUES ('ア'),('カ'),('サ');
INSERT INTO `T1b` VALUES ('ア');
INSERT INTO `T2a` VALUES ('あ'),('か'),('さ');
@@ -54,12 +54,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
SELECT `C1` FROM `T1a` WHERE `C1` IN (SELECT `C1` FROM `T1b`);
C1
@@ -150,36 +144,6 @@ SELECT `C1` FROM `T9a` WHERE NOT EXISTS (SELECT `C1` FROM `T9b` WHERE `
C1
-SELECT `C1` FROM `T10a` WHERE `C1` IN (SELECT `C1` FROM `T10b`);
-C1
-ア
-SELECT `C1` FROM `T10a` WHERE EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-C1
-ア
-SELECT `C1` FROM `T10a` WHERE NOT EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-C1
-カ
-サ
-SELECT `C1` FROM `T11a` WHERE `C1` IN (SELECT `C1` FROM `T11b`);
-C1
-あ
-SELECT `C1` FROM `T11a` WHERE EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-C1
-あ
-SELECT `C1` FROM `T11a` WHERE NOT EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-C1
-か
-さ
-SELECT `C1` FROM `T12a` WHERE `C1` IN (SELECT `C1` FROM `T12b`);
-C1
-龔
-SELECT `C1` FROM `T12a` WHERE EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
-C1
-龔
-SELECT `C1` FROM `T12a` WHERE NOT EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
-C1
-龖
-龗
DROP TABLE `T1a`;
DROP TABLE `T1b`;
DROP TABLE `T2a`;
@@ -198,9 +162,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
diff --git a/mysql-test/suite/jp/r/jp_subquery_utf8.result b/mysql-test/suite/jp/r/jp_subquery_utf8.result
index ce56e660a65..d82cfbaca9d 100644
--- a/mysql-test/suite/jp/r/jp_subquery_utf8.result
+++ b/mysql-test/suite/jp/r/jp_subquery_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
@@ -24,18 +21,12 @@ CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 eng
CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器a` VALUES ('鐔'),('鐔'),('鐔');
INSERT INTO `鐚器b` VALUES ('鐔');
INSERT INTO `鐚器a` VALUES (''),(''),('');
@@ -54,12 +45,6 @@ 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 ('蘊');
SELECT `鐚o` FROM `鐚器a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器b`);
鐚o
@@ -150,36 +135,6 @@ SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b`
鐚o
-SELECT `鐚o` FROM `鐚器鐚a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器鐚b`);
-鐚o
-鐔
-SELECT `鐚o` FROM `鐚器鐚a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o
-鐔
-SELECT `鐚o` FROM `鐚器鐚a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o
-鐔
-鐔
-SELECT `鐚o` FROM `鐚器鐚a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器鐚b`);
-鐚o
-
-SELECT `鐚o` FROM `鐚器鐚a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o
-
-SELECT `鐚o` FROM `鐚器鐚a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o
-
-
-SELECT `鐚o` FROM `鐚器鐚a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器鐚b`);
-鐚o
-蘊
-SELECT `鐚o` FROM `鐚器鐚a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o
-蘊
-SELECT `鐚o` FROM `鐚器鐚a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-鐚o
-蘊
-蘊
DROP TABLE `鐚器a`;
DROP TABLE `鐚器b`;
DROP TABLE `鐚器a`;
@@ -198,9 +153,3 @@ 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`;
diff --git a/mysql-test/suite/jp/r/jp_substring_sjis.result b/mysql-test/suite/jp/r/jp_substring_sjis.result
index 3fe5bf44b86..a8e98cc62f5 100644
--- a/mysql-test/suite/jp/r/jp_substring_sjis.result
+++ b/mysql-test/suite/jp/r/jp_substring_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sR` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
SELECT `bP`, SUBSTRING(`bP`,0) FROM `sP`;
bP SUBSTRING(`bP`,0)
@@ -2052,678 +2043,6 @@ SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sX`;
\\ \\
\ \
-SELECT `bP`, SUBSTRING(`bP`,0) FROM `sPO`;
-bP SUBSTRING(`bP`,0)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1) FROM `sPO`;
-bP SUBSTRING(`bP`,1)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,2) FROM `sPO`;
-bP SUBSTRING(`bP`,2)
-渦慨 桶患
-渦慨 桶
-渦 桶
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,3) FROM `sPO`;
-bP SUBSTRING(`bP`,3)
-渦慨 慨
-渦慨 慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,4) FROM `sPO`;
-bP SUBSTRING(`bP`,4)
-渦慨 患
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,5) FROM `sPO`;
-bP SUBSTRING(`bP`,5)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,6) FROM `sPO`;
-bP SUBSTRING(`bP`,6)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 0) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 0)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 2) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 2)
-渦慨 桶患
-渦慨 桶
-渦 桶
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 3) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 3)
-渦慨 慨
-渦慨 慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 4) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 4)
-渦慨 患
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 5) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 5)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 6) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 6)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,0) FROM `sPO`;
-bP SUBSTRING(`bP`,1,0)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,1) FROM `sPO`;
-bP SUBSTRING(`bP`,1,1)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,2) FROM `sPO`;
-bP SUBSTRING(`bP`,1,2)
-渦慨 渦
-渦慨 渦
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,3) FROM `sPO`;
-bP SUBSTRING(`bP`,1,3)
-渦慨 渦
-渦慨 渦
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,4) FROM `sPO`;
-bP SUBSTRING(`bP`,1,4)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,5) FROM `sPO`;
-bP SUBSTRING(`bP`,1,5)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,6) FROM `sPO`;
-bP SUBSTRING(`bP`,1,6)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 0) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1 FOR 0)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 1) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1 FOR 1)
-渦慨
-渦慨
-渦
-渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 2) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1 FOR 2)
-渦慨 渦
-渦慨 渦
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 3) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1 FOR 3)
-渦慨 渦
-渦慨 渦
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1 FOR 4)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1 FOR 5)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sPO`;
-bP SUBSTRING(`bP` FROM 1 FOR 6)
-渦慨 渦慨
-渦慨 渦慨
-渦 渦
-渦 渦
-
-
-SELECT `bP`, SUBSTRING(`bP`,0) FROM `sPP`;
-bP SUBSTRING(`bP`,0)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1) FROM `sPP`;
-bP SUBSTRING(`bP`,1)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,2) FROM `sPP`;
-bP SUBSTRING(`bP`,2)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,3) FROM `sPP`;
-bP SUBSTRING(`bP`,3)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,4) FROM `sPP`;
-bP SUBSTRING(`bP`,4)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,5) FROM `sPP`;
-bP SUBSTRING(`bP`,5)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,6) FROM `sPP`;
-bP SUBSTRING(`bP`,6)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 0) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 0)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 2) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 2)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 3) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 3)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 4) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 4)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 5) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 5)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 6) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 6)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,0) FROM `sPP`;
-bP SUBSTRING(`bP`,1,0)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,1) FROM `sPP`;
-bP SUBSTRING(`bP`,1,1)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,2) FROM `sPP`;
-bP SUBSTRING(`bP`,1,2)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,3) FROM `sPP`;
-bP SUBSTRING(`bP`,1,3)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,4) FROM `sPP`;
-bP SUBSTRING(`bP`,1,4)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,5) FROM `sPP`;
-bP SUBSTRING(`bP`,1,5)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,1,6) FROM `sPP`;
-bP SUBSTRING(`bP`,1,6)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 0) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1 FOR 0)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 1) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1 FOR 1)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 2) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1 FOR 2)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 3) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1 FOR 3)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1 FOR 4)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1 FOR 5)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sPP`;
-bP SUBSTRING(`bP` FROM 1 FOR 6)
-
-
-
-
-
-
-SELECT `bP`, SUBSTRING(`bP`,0) FROM `sPQ`;
-bP SUBSTRING(`bP`,0)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP`,1) FROM `sPQ`;
-bP SUBSTRING(`bP`,1)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP`,2) FROM `sPQ`;
-bP SUBSTRING(`bP`,2)
-\\\\\ \\\\
-\\\\ \\\
-\\\ \\
-\\ \
-\
-
-SELECT `bP`, SUBSTRING(`bP`,3) FROM `sPQ`;
-bP SUBSTRING(`bP`,3)
-\\\\\ \\\
-\\\\ \\
-\\\ \
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP`,4) FROM `sPQ`;
-bP SUBSTRING(`bP`,4)
-\\\\\ \\
-\\\\ \
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP`,5) FROM `sPQ`;
-bP SUBSTRING(`bP`,5)
-\\\\\ \
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP`,6) FROM `sPQ`;
-bP SUBSTRING(`bP`,6)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP` FROM 0) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 0)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP` FROM 2) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 2)
-\\\\\ \\\\
-\\\\ \\\
-\\\ \\
-\\ \
-\
-
-SELECT `bP`, SUBSTRING(`bP` FROM 3) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 3)
-\\\\\ \\\
-\\\\ \\
-\\\ \
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP` FROM 4) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 4)
-\\\\\ \\
-\\\\ \
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP` FROM 5) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 5)
-\\\\\ \
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP` FROM 6) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 6)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP`,1,0) FROM `sPQ`;
-bP SUBSTRING(`bP`,1,0)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP`,1,1) FROM `sPQ`;
-bP SUBSTRING(`bP`,1,1)
-\\\\\ \
-\\\\ \
-\\\ \
-\\ \
-\ \
-
-SELECT `bP`, SUBSTRING(`bP`,1,2) FROM `sPQ`;
-bP SUBSTRING(`bP`,1,2)
-\\\\\ \\
-\\\\ \\
-\\\ \\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP`,1,3) FROM `sPQ`;
-bP SUBSTRING(`bP`,1,3)
-\\\\\ \\\
-\\\\ \\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP`,1,4) FROM `sPQ`;
-bP SUBSTRING(`bP`,1,4)
-\\\\\ \\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP`,1,5) FROM `sPQ`;
-bP SUBSTRING(`bP`,1,5)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP`,1,6) FROM `sPQ`;
-bP SUBSTRING(`bP`,1,6)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 0) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1 FOR 0)
-\\\\\
-\\\\
-\\\
-\\
-\
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 1) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1 FOR 1)
-\\\\\ \
-\\\\ \
-\\\ \
-\\ \
-\ \
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 2) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1 FOR 2)
-\\\\\ \\
-\\\\ \\
-\\\ \\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 3) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1 FOR 3)
-\\\\\ \\\
-\\\\ \\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1 FOR 4)
-\\\\\ \\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1 FOR 5)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sPQ`;
-bP SUBSTRING(`bP` FROM 1 FOR 6)
-\\\\\ \\\\\
-\\\\ \\\\
-\\\ \\\
-\\ \\
-\ \
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -2733,6 +2052,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_substring_ucs2.result b/mysql-test/suite/jp/r/jp_substring_ucs2.result
index cb2a5b5b946..5b01928f2a9 100644
--- a/mysql-test/suite/jp/r/jp_substring_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_substring_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -34,9 +28,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T1`;
C1 SUBSTRING(`C1`,1,0)
@@ -1045,342 +1036,6 @@ SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T9`;
龔龖 龔龖
龔 龔
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T10`;
-C1 SUBSTRING(`C1`,1,0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T10`;
-C1 SUBSTRING(`C1`,1,1)
-アイウエオ ア
-アイウエ ア
-アイウ ア
-アイ ア
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T10`;
-C1 SUBSTRING(`C1`,1,2)
-アイウエオ アイ
-アイウエ アイ
-アイウ アイ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T10`;
-C1 SUBSTRING(`C1`,1,3)
-アイウエオ アイウ
-アイウエ アイウ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T10`;
-C1 SUBSTRING(`C1`,1,4)
-アイウエオ アイウエ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T10`;
-C1 SUBSTRING(`C1`,1,5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T10`;
-C1 SUBSTRING(`C1`,1,6)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 1)
-アイウエオ ア
-アイウエ ア
-アイウ ア
-アイ ア
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 2)
-アイウエオ アイ
-アイウエ アイ
-アイウ アイ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 3)
-アイウエオ アイウ
-アイウエ アイウ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 4)
-アイウエオ アイウエ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 6)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T11`;
-C1 SUBSTRING(`C1`,1,0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T11`;
-C1 SUBSTRING(`C1`,1,1)
-あいうえお あ
-あいうえ あ
-あいう あ
-あい あ
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T11`;
-C1 SUBSTRING(`C1`,1,2)
-あいうえお あい
-あいうえ あい
-あいう あい
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T11`;
-C1 SUBSTRING(`C1`,1,3)
-あいうえお あいう
-あいうえ あいう
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T11`;
-C1 SUBSTRING(`C1`,1,4)
-あいうえお あいうえ
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T11`;
-C1 SUBSTRING(`C1`,1,5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T11`;
-C1 SUBSTRING(`C1`,1,6)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 1)
-あいうえお あ
-あいうえ あ
-あいう あ
-あい あ
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 2)
-あいうえお あい
-あいうえ あい
-あいう あい
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 3)
-あいうえお あいう
-あいうえ あいう
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 4)
-あいうえお あいうえ
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 6)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T12`;
-C1 SUBSTRING(`C1`,1,0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T12`;
-C1 SUBSTRING(`C1`,1,1)
-龔龖龗龞龡 龔
-龔龖龗龞 龔
-龔龖龗 龔
-龔龖 龔
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T12`;
-C1 SUBSTRING(`C1`,1,2)
-龔龖龗龞龡 龔龖
-龔龖龗龞 龔龖
-龔龖龗 龔龖
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T12`;
-C1 SUBSTRING(`C1`,1,3)
-龔龖龗龞龡 龔龖龗
-龔龖龗龞 龔龖龗
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T12`;
-C1 SUBSTRING(`C1`,1,4)
-龔龖龗龞龡 龔龖龗龞
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T12`;
-C1 SUBSTRING(`C1`,1,5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T12`;
-C1 SUBSTRING(`C1`,1,6)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 1)
-龔龖龗龞龡 龔
-龔龖龗龞 龔
-龔龖龗 龔
-龔龖 龔
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 2)
-龔龖龗龞龡 龔龖
-龔龖龗龞 龔龖
-龔龖龗 龔龖
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 3)
-龔龖龗龞龡 龔龖龗
-龔龖龗龞 龔龖龗
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 4)
-龔龖龗龞龡 龔龖龗龞
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 6)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -1390,6 +1045,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_substring_ujis.result b/mysql-test/suite/jp/r/jp_substring_ujis.result
index 229de0c0236..6285271d267 100644
--- a/mysql-test/suite/jp/r/jp_substring_ujis.result
+++ b/mysql-test/suite/jp/r/jp_substring_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
@@ -33,9 +27,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, SUBSTRING(`C1`,0) FROM `T1`;
C1 SUBSTRING(`C1`,0)
@@ -2052,678 +2043,6 @@ SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T9`;
龔龖 龔龖
龔 龔
-SELECT `C1`, SUBSTRING(`C1`,0) FROM `T10`;
-C1 SUBSTRING(`C1`,0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,1) FROM `T10`;
-C1 SUBSTRING(`C1`,1)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,2) FROM `T10`;
-C1 SUBSTRING(`C1`,2)
-アイウエオ イウエオ
-アイウエ イウエ
-アイウ イウ
-アイ イ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,3) FROM `T10`;
-C1 SUBSTRING(`C1`,3)
-アイウエオ ウエオ
-アイウエ ウエ
-アイウ ウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,4) FROM `T10`;
-C1 SUBSTRING(`C1`,4)
-アイウエオ エオ
-アイウエ エ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,5) FROM `T10`;
-C1 SUBSTRING(`C1`,5)
-アイウエオ オ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,6) FROM `T10`;
-C1 SUBSTRING(`C1`,6)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 2)
-アイウエオ イウエオ
-アイウエ イウエ
-アイウ イウ
-アイ イ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 3)
-アイウエオ ウエオ
-アイウエ ウエ
-アイウ ウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 4)
-アイウエオ エオ
-アイウエ エ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 5)
-アイウエオ オ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 6)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T10`;
-C1 SUBSTRING(`C1`,1,0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T10`;
-C1 SUBSTRING(`C1`,1,1)
-アイウエオ ア
-アイウエ ア
-アイウ ア
-アイ ア
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T10`;
-C1 SUBSTRING(`C1`,1,2)
-アイウエオ アイ
-アイウエ アイ
-アイウ アイ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T10`;
-C1 SUBSTRING(`C1`,1,3)
-アイウエオ アイウ
-アイウエ アイウ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T10`;
-C1 SUBSTRING(`C1`,1,4)
-アイウエオ アイウエ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T10`;
-C1 SUBSTRING(`C1`,1,5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T10`;
-C1 SUBSTRING(`C1`,1,6)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 0)
-アイウエオ
-アイウエ
-アイウ
-アイ
-ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 1)
-アイウエオ ア
-アイウエ ア
-アイウ ア
-アイ ア
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 2)
-アイウエオ アイ
-アイウエ アイ
-アイウ アイ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 3)
-アイウエオ アイウ
-アイウエ アイウ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 4)
-アイウエオ アイウエ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 5)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T10`;
-C1 SUBSTRING(`C1` FROM 1 FOR 6)
-アイウエオ アイウエオ
-アイウエ アイウエ
-アイウ アイウ
-アイ アイ
-ア ア
-
-SELECT `C1`, SUBSTRING(`C1`,0) FROM `T11`;
-C1 SUBSTRING(`C1`,0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,1) FROM `T11`;
-C1 SUBSTRING(`C1`,1)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,2) FROM `T11`;
-C1 SUBSTRING(`C1`,2)
-あいうえお いうえお
-あいうえ いうえ
-あいう いう
-あい い
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,3) FROM `T11`;
-C1 SUBSTRING(`C1`,3)
-あいうえお うえお
-あいうえ うえ
-あいう う
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,4) FROM `T11`;
-C1 SUBSTRING(`C1`,4)
-あいうえお えお
-あいうえ え
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,5) FROM `T11`;
-C1 SUBSTRING(`C1`,5)
-あいうえお お
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,6) FROM `T11`;
-C1 SUBSTRING(`C1`,6)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 2)
-あいうえお いうえお
-あいうえ いうえ
-あいう いう
-あい い
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 3)
-あいうえお うえお
-あいうえ うえ
-あいう う
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 4)
-あいうえお えお
-あいうえ え
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 5)
-あいうえお お
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 6)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T11`;
-C1 SUBSTRING(`C1`,1,0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T11`;
-C1 SUBSTRING(`C1`,1,1)
-あいうえお あ
-あいうえ あ
-あいう あ
-あい あ
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T11`;
-C1 SUBSTRING(`C1`,1,2)
-あいうえお あい
-あいうえ あい
-あいう あい
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T11`;
-C1 SUBSTRING(`C1`,1,3)
-あいうえお あいう
-あいうえ あいう
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T11`;
-C1 SUBSTRING(`C1`,1,4)
-あいうえお あいうえ
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T11`;
-C1 SUBSTRING(`C1`,1,5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T11`;
-C1 SUBSTRING(`C1`,1,6)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 0)
-あいうえお
-あいうえ
-あいう
-あい
-あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 1)
-あいうえお あ
-あいうえ あ
-あいう あ
-あい あ
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 2)
-あいうえお あい
-あいうえ あい
-あいう あい
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 3)
-あいうえお あいう
-あいうえ あいう
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 4)
-あいうえお あいうえ
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 5)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T11`;
-C1 SUBSTRING(`C1` FROM 1 FOR 6)
-あいうえお あいうえお
-あいうえ あいうえ
-あいう あいう
-あい あい
-あ あ
-
-SELECT `C1`, SUBSTRING(`C1`,0) FROM `T12`;
-C1 SUBSTRING(`C1`,0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,1) FROM `T12`;
-C1 SUBSTRING(`C1`,1)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,2) FROM `T12`;
-C1 SUBSTRING(`C1`,2)
-龔龖龗龞龡 龖龗龞龡
-龔龖龗龞 龖龗龞
-龔龖龗 龖龗
-龔龖 龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,3) FROM `T12`;
-C1 SUBSTRING(`C1`,3)
-龔龖龗龞龡 龗龞龡
-龔龖龗龞 龗龞
-龔龖龗 龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,4) FROM `T12`;
-C1 SUBSTRING(`C1`,4)
-龔龖龗龞龡 龞龡
-龔龖龗龞 龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,5) FROM `T12`;
-C1 SUBSTRING(`C1`,5)
-龔龖龗龞龡 龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,6) FROM `T12`;
-C1 SUBSTRING(`C1`,6)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 2)
-龔龖龗龞龡 龖龗龞龡
-龔龖龗龞 龖龗龞
-龔龖龗 龖龗
-龔龖 龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 3)
-龔龖龗龞龡 龗龞龡
-龔龖龗龞 龗龞
-龔龖龗 龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 4)
-龔龖龗龞龡 龞龡
-龔龖龗龞 龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 5)
-龔龖龗龞龡 龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 6)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T12`;
-C1 SUBSTRING(`C1`,1,0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T12`;
-C1 SUBSTRING(`C1`,1,1)
-龔龖龗龞龡 龔
-龔龖龗龞 龔
-龔龖龗 龔
-龔龖 龔
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T12`;
-C1 SUBSTRING(`C1`,1,2)
-龔龖龗龞龡 龔龖
-龔龖龗龞 龔龖
-龔龖龗 龔龖
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T12`;
-C1 SUBSTRING(`C1`,1,3)
-龔龖龗龞龡 龔龖龗
-龔龖龗龞 龔龖龗
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T12`;
-C1 SUBSTRING(`C1`,1,4)
-龔龖龗龞龡 龔龖龗龞
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T12`;
-C1 SUBSTRING(`C1`,1,5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T12`;
-C1 SUBSTRING(`C1`,1,6)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 0)
-龔龖龗龞龡
-龔龖龗龞
-龔龖龗
-龔龖
-龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 1)
-龔龖龗龞龡 龔
-龔龖龗龞 龔
-龔龖龗 龔
-龔龖 龔
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 2)
-龔龖龗龞龡 龔龖
-龔龖龗龞 龔龖
-龔龖龗 龔龖
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 3)
-龔龖龗龞龡 龔龖龗
-龔龖龗龞 龔龖龗
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 4)
-龔龖龗龞龡 龔龖龗龞
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 5)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T12`;
-C1 SUBSTRING(`C1` FROM 1 FOR 6)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞 龔龖龗龞
-龔龖龗 龔龖龗
-龔龖 龔龖
-龔 龔
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -2733,6 +2052,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_substring_utf8.result b/mysql-test/suite/jp/r/jp_substring_utf8.result
index f838a2e75e2..80c4ad5c6c1 100644
--- a/mysql-test/suite/jp/r/jp_substring_utf8.result
+++ b/mysql-test/suite/jp/r/jp_substring_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器`;
鐚o SUBSTRING(`鐚o`,0)
@@ -2052,678 +2043,6 @@ SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器`;
蘊蘊 蘊蘊
蘊 蘊
-SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,0)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,2)
-鐔縁讐鐔鰹輯鐔 鐔駕蹴鐔器週
-鐔縁讐鐔鰹輯 鐔駕蹴鐔
-鐔縁讐鐔 鐔駕蹴
-鐔縁讐 鐔
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,3)
-鐔縁讐鐔鰹輯鐔 鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔鰹輯
-鐔縁讐鐔 鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,4)
-鐔縁讐鐔鰹輯鐔 鐔器週
-鐔縁讐鐔鰹輯 鐔
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,5)
-鐔縁讐鐔鰹輯鐔 鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,6)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 0)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 2)
-鐔縁讐鐔鰹輯鐔 鐔駕蹴鐔器週
-鐔縁讐鐔鰹輯 鐔駕蹴鐔
-鐔縁讐鐔 鐔駕蹴
-鐔縁讐 鐔
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 3)
-鐔縁讐鐔鰹輯鐔 鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔鰹輯
-鐔縁讐鐔 鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 4)
-鐔縁讐鐔鰹輯鐔 鐔器週
-鐔縁讐鐔鰹輯 鐔
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 5)
-鐔縁讐鐔鰹輯鐔 鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 6)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,0)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,1)
-鐔縁讐鐔鰹輯鐔 鐔
-鐔縁讐鐔鰹輯 鐔
-鐔縁讐鐔 鐔
-鐔縁讐 鐔
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,2)
-鐔縁讐鐔鰹輯鐔 鐔縁讐
-鐔縁讐鐔鰹輯 鐔縁讐
-鐔縁讐鐔 鐔縁讐
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,3)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,4)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,5)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,6)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 0)
-鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯
-鐔縁讐鐔
-鐔縁讐
-鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 1)
-鐔縁讐鐔鰹輯鐔 鐔
-鐔縁讐鐔鰹輯 鐔
-鐔縁讐鐔 鐔
-鐔縁讐 鐔
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 2)
-鐔縁讐鐔鰹輯鐔 鐔縁讐
-鐔縁讐鐔鰹輯 鐔縁讐
-鐔縁讐鐔 鐔縁讐
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 3)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 4)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 5)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 6)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯 鐔縁讐鐔鰹輯
-鐔縁讐鐔 鐔縁讐鐔
-鐔縁讐 鐔縁讐
-鐔 鐔
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,0)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,2)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,3)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,4)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,5)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,6)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 0)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 2)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 3)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 4)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 5)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 6)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,0)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,1)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,2)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,3)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,4)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,5)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,6)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 0)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 1)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 2)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 3)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 4)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 5)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 6)
-
-
-
-
-
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,0)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,2)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊 蘊蘊
-蘊蘊 蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,3)
-蘊蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊 蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,4)
-蘊蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊蘊 蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,5)
-蘊蘊蘊蘊蘊 蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,6)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 0)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 2)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊 蘊蘊
-蘊蘊 蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 3)
-蘊蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊 蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 4)
-蘊蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊蘊 蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 5)
-蘊蘊蘊蘊蘊 蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 6)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,0)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,1)
-蘊蘊蘊蘊蘊 蘊
-蘊蘊蘊蘊 蘊
-蘊蘊蘊 蘊
-蘊蘊 蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,2)
-蘊蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊 蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,3)
-蘊蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,4)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,5)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o`,1,6)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 0) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 0)
-蘊蘊蘊蘊蘊
-蘊蘊蘊蘊
-蘊蘊蘊
-蘊蘊
-蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 1) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 1)
-蘊蘊蘊蘊蘊 蘊
-蘊蘊蘊蘊 蘊
-蘊蘊蘊 蘊
-蘊蘊 蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 2) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 2)
-蘊蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊蘊 蘊蘊
-蘊蘊蘊 蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 3) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 3)
-蘊蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 4)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 5)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器鐚`;
-鐚o SUBSTRING(`鐚o` FROM 1 FOR 6)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊 蘊蘊蘊蘊
-蘊蘊蘊 蘊蘊蘊
-蘊蘊 蘊蘊
-蘊 蘊
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -2733,6 +2052,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_trim_sjis.result b/mysql-test/suite/jp/r/jp_trim_sjis.result
index e6ab86fd20a..604b2afcae5 100644
--- a/mysql-test/suite/jp/r/jp_trim_sjis.result
+++ b/mysql-test/suite/jp/r/jp_trim_sjis.result
@@ -1,27 +1,11 @@
-drop table if exists `sP`;
-drop table if exists `sQ`;
-drop table if exists `sR`;
-drop table if exists `sS`;
-drop table if exists `sT`;
-drop table if exists `sU`;
-drop table if exists `sV`;
-drop table if exists `sW`;
-drop table if exists `sX`;
-drop table if exists `sPO`;
SET NAMES sjis;
SET character_set_database = sjis;
-CREATE TABLE `sP` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
-CREATE TABLE `sQ` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
-CREATE TABLE `sR` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
-CREATE TABLE `sS` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sT` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sU` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+DROP TABLE IF EXISTS `sP`;
+DROP TABLE IF EXISTS `sQ`;
+DROP TABLE IF EXISTS `sR`;
+CREATE TABLE `sP` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+CREATE TABLE `sQ` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+CREATE TABLE `sR` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sP` VALUES ('渦慨偽');
INSERT INTO `sP` VALUES ('渦慨偽');
@@ -49,87 +33,6 @@ INSERT INTO `sR` VALUES ('\\\\\\\');
INSERT INTO `sR` VALUES ('\\\\\\\\');
INSERT INTO `sR` VALUES ('\\\\\\\\\\\');
INSERT INTO `sR` VALUES (' \\\\\ ');
-INSERT INTO `sS` VALUES ('渦慨');
-INSERT INTO `sS` VALUES ('渦慨偽');
-INSERT INTO `sS` VALUES ('渦慨偽');
-INSERT INTO `sS` VALUES ('渦慨偽橋');
-INSERT INTO `sS` VALUES ('怯桶患');
-INSERT INTO `sS` VALUES ('橋渦慨');
-INSERT INTO `sS` VALUES ('橋怯桶患');
-INSERT INTO `sS` VALUES ('橋怯桶患橋');
-INSERT INTO `sS` VALUES (' 渦慨 ');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES (' ');
-INSERT INTO `sU` VALUES ('\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\\\\\');
-INSERT INTO `sU` VALUES (' \\\\\ ');
-INSERT INTO `sV` VALUES ('渦慨');
-INSERT INTO `sV` VALUES ('渦慨偽');
-INSERT INTO `sV` VALUES ('渦慨偽');
-INSERT INTO `sV` VALUES ('渦慨偽橋');
-INSERT INTO `sV` VALUES ('怯桶患');
-INSERT INTO `sV` VALUES ('橋渦慨');
-INSERT INTO `sV` VALUES ('橋怯桶患');
-INSERT INTO `sV` VALUES ('橋怯桶患橋');
-INSERT INTO `sV` VALUES (' 渦慨 ');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES (' ');
-INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\\\\\');
-INSERT INTO `sX` VALUES (' \\\\\ ');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPO` VALUES ('渦慨偽');
-INSERT INTO `sPO` VALUES ('渦慨偽');
-INSERT INTO `sPO` VALUES ('渦慨偽橋');
-INSERT INTO `sPO` VALUES ('怯桶患');
-INSERT INTO `sPO` VALUES ('橋渦慨');
-INSERT INTO `sPO` VALUES ('橋怯桶患');
-INSERT INTO `sPO` VALUES ('橋怯桶患橋');
-INSERT INTO `sPO` VALUES (' 渦慨 ');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPQ` VALUES ('\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\ ');
SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sP`;
bP TRIM(TRAILING '' FROM `bP`)
渦慨 渦慨
@@ -218,8 +121,8 @@ SELECT `bP`,TRIM(`bP`) FROM `sQ`;
-SELECT `bP`,TRIM(TRAILING '\'FROM `bP`) FROM `sR`;
-bP TRIM(TRAILING '\'FROM `bP`)
+SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sR`;
+bP TRIM(TRAILING '\' FROM `bP`)
\\\\\ \\\\\
\\\\\ \\\\\
\\\\\\ \\\\\
@@ -262,7 +165,45 @@ SELECT `bP`,TRIM(`bP`) FROM `sR`;
\\\\\\\ \\\\\\\
\\\\\\\\ \\\\\\\\
\\\\\\\\\\\ \\\\\\\\\\\
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sS`;
+DROP TABLE `sP`;
+DROP TABLE `sQ`;
+DROP TABLE `sR`;
+SET NAMES sjis;
+SET character_set_database = sjis;
+DROP TABLE IF EXISTS `sP`;
+DROP TABLE IF EXISTS `sQ`;
+DROP TABLE IF EXISTS `sR`;
+CREATE TABLE `sP` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+CREATE TABLE `sQ` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+CREATE TABLE `sR` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+INSERT INTO `sP` VALUES ('渦慨');
+INSERT INTO `sP` VALUES ('渦慨偽');
+INSERT INTO `sP` VALUES ('渦慨偽');
+INSERT INTO `sP` VALUES ('渦慨偽橋');
+INSERT INTO `sP` VALUES ('怯桶患');
+INSERT INTO `sP` VALUES ('橋渦慨');
+INSERT INTO `sP` VALUES ('橋怯桶患');
+INSERT INTO `sP` VALUES ('橋怯桶患橋');
+INSERT INTO `sP` VALUES (' 渦慨 ');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES (' ');
+INSERT INTO `sR` VALUES ('\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\\\\');
+INSERT INTO `sR` VALUES (' \\\\\ ');
+SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sP`;
bP TRIM(TRAILING '' FROM `bP`)
渦慨 渦慨
渦慨 渦慨
@@ -273,7 +214,7 @@ SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sS`;
橋渦慨 橋渦慨
橋怯桶患 橋怯桶患
橋怯桶患橋 橋怯桶患
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sS`;
+SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sP`;
bP TRIM(LEADING '' FROM `bP`)
渦慨 渦慨
渦慨 渦慨
@@ -284,7 +225,7 @@ SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sS`;
橋渦慨 渦慨
橋怯桶患 渦慨
橋怯桶患橋 渦慨偽橋
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sS`;
+SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sP`;
bP TRIM(BOTH '' FROM `bP`)
渦慨 渦慨
渦慨 渦慨
@@ -295,7 +236,7 @@ SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sS`;
橋渦慨 渦慨
橋怯桶患 渦慨
橋怯桶患橋 渦慨
-SELECT `bP`,TRIM(`bP`) FROM `sS`;
+SELECT `bP`,TRIM(`bP`) FROM `sP`;
bP TRIM(`bP`)
渦慨 渦慨
渦慨 渦慨
@@ -306,7 +247,7 @@ SELECT `bP`,TRIM(`bP`) FROM `sS`;
橋渦慨 橋渦慨
橋怯桶患 橋怯桶患
橋怯桶患橋 橋怯桶患橋
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sT`;
+SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sQ`;
bP TRIM(TRAILING '' FROM `bP`)
@@ -317,7 +258,7 @@ SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sT`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sT`;
+SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sQ`;
bP TRIM(LEADING '' FROM `bP`)
@@ -328,7 +269,7 @@ SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sT`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sT`;
+SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sQ`;
bP TRIM(BOTH '' FROM `bP`)
@@ -339,7 +280,7 @@ SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sT`;
-SELECT `bP`,TRIM(`bP`) FROM `sT`;
+SELECT `bP`,TRIM(`bP`) FROM `sQ`;
bP TRIM(`bP`)
@@ -350,7 +291,7 @@ SELECT `bP`,TRIM(`bP`) FROM `sT`;
-SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sU`;
+SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sR`;
bP TRIM(TRAILING '\' FROM `bP`)
\\\\\ \\\\\
\\\\\ \\\\\
@@ -361,7 +302,7 @@ SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sU`;
\\\\\\\ \\\\\\\
\\\\\\\\ \\\\\\\\
\\\\\\\\\\\ \\\\\\\\
-SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sU`;
+SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sR`;
bP TRIM(LEADING '\' FROM `bP`)
\\\\\ \\\\\
\\\\\ \\\\\
@@ -372,7 +313,7 @@ SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sU`;
\\\\\\\ \\\\\
\\\\\\\\ \\\\\
\\\\\\\\\\\ \\\\\\\\
-SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sU`;
+SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sR`;
bP TRIM(BOTH '\' FROM `bP`)
\\\\\ \\\\\
\\\\\ \\\\\
@@ -383,7 +324,7 @@ SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sU`;
\\\\\\\ \\\\\
\\\\\\\\ \\\\\
\\\\\\\\\\\ \\\\\
-SELECT `bP`,TRIM(`bP`) FROM `sU`;
+SELECT `bP`,TRIM(`bP`) FROM `sR`;
bP TRIM(`bP`)
\\\\\ \\\\\
\\\\\ \\\\\
@@ -394,139 +335,45 @@ SELECT `bP`,TRIM(`bP`) FROM `sU`;
\\\\\\\ \\\\\\\
\\\\\\\\ \\\\\\\\
\\\\\\\\\\\ \\\\\\\\\\\
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sV`;
-bP TRIM(TRAILING '' FROM `bP`)
-渦慨 渦慨
-渦慨偽 渦慨
-渦慨偽 渦慨
-渦慨偽橋 渦慨
-怯桶患 怯桶患
-橋渦慨 橋渦慨
-橋怯桶患 橋怯桶患
-橋怯桶患橋 橋怯桶患
- 渦慨 渦慨
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sV`;
-bP TRIM(LEADING '' FROM `bP`)
-渦慨 渦慨
-渦慨偽 渦慨偽
-渦慨偽 渦慨偽
-渦慨偽橋 渦慨偽橋
-怯桶患 渦慨
-橋渦慨 渦慨
-橋怯桶患 渦慨
-橋怯桶患橋 渦慨偽橋
- 渦慨 渦慨
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sV`;
-bP TRIM(BOTH '' FROM `bP`)
-渦慨 渦慨
-渦慨偽 渦慨
-渦慨偽 渦慨
-渦慨偽橋 渦慨
-怯桶患 渦慨
-橋渦慨 渦慨
-橋怯桶患 渦慨
-橋怯桶患橋 渦慨
- 渦慨 渦慨
-SELECT `bP`,TRIM(`bP`) FROM `sV`;
-bP TRIM(`bP`)
-渦慨 渦慨
-渦慨偽 渦慨偽
-渦慨偽 渦慨偽
-渦慨偽橋 渦慨偽橋
-怯桶患 怯桶患
-橋渦慨 橋渦慨
-橋怯桶患 橋怯桶患
-橋怯桶患橋 橋怯桶患橋
- 渦慨 渦慨
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sW`;
-bP TRIM(TRAILING '' FROM `bP`)
-
-
-
-
-
-
-
-
-
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sW`;
-bP TRIM(LEADING '' FROM `bP`)
-
-
-
-
-
-
-
-
-
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sW`;
-bP TRIM(BOTH '' FROM `bP`)
-
-
-
-
-
-
-
-
-
-SELECT `bP`,TRIM(`bP`) FROM `sW`;
-bP TRIM(`bP`)
-
-
-
-
-
-
-
-
-
-SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sX`;
-bP TRIM(TRAILING '\' FROM `bP`)
-\\\\\ \\\\\
-\\\\\\ \\\\\
-\\\\\\\ \\\\\
-\\\\\\\\ \\\\\
-\\\\\\ \\\\\\
-\\\\\\\ \\\\\\\
-\\\\\\\\ \\\\\\\\
-\\\\\\\\\\\ \\\\\\\\
- \\\\\ \\\\\
-SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sX`;
-bP TRIM(LEADING '\' FROM `bP`)
-\\\\\ \\\\\
-\\\\\\ \\\\\\
-\\\\\\\ \\\\\\\
-\\\\\\\\ \\\\\\\\
-\\\\\\ \\\\\
-\\\\\\\ \\\\\
-\\\\\\\\ \\\\\
-\\\\\\\\\\\ \\\\\\\\
- \\\\\ \\\\\
-SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sX`;
-bP TRIM(BOTH '\' FROM `bP`)
-\\\\\ \\\\\
-\\\\\\ \\\\\
-\\\\\\\ \\\\\
-\\\\\\\\ \\\\\
-\\\\\\ \\\\\
-\\\\\\\ \\\\\
-\\\\\\\\ \\\\\
-\\\\\\\\\\\ \\\\\
- \\\\\ \\\\\
-SELECT `bP`,TRIM(`bP`) FROM `sX`;
-bP TRIM(`bP`)
-\\\\\ \\\\\
-\\\\\\ \\\\\\
-\\\\\\\ \\\\\\\
-\\\\\\\\ \\\\\\\\
-\\\\\\ \\\\\\
-\\\\\\\ \\\\\\\
-\\\\\\\\ \\\\\\\\
-\\\\\\\\\\\ \\\\\\\\\\\
- \\\\\ \\\\\
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sPO`;
+DROP TABLE `sP`;
+DROP TABLE `sQ`;
+DROP TABLE `sR`;
+SET NAMES sjis;
+SET character_set_database = sjis;
+DROP TABLE IF EXISTS `sP`;
+DROP TABLE IF EXISTS `sQ`;
+DROP TABLE IF EXISTS `sR`;
+CREATE TABLE `sP` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+CREATE TABLE `sQ` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+CREATE TABLE `sR` (`bP` CHAR(12), INDEX(`bP`)) DEFAULT CHARSET = sjis ENGINE = <engine_to_be_tested>;
+INSERT INTO `sP` VALUES ('渦慨');
+INSERT INTO `sP` VALUES ('渦慨偽');
+INSERT INTO `sP` VALUES ('渦慨偽');
+INSERT INTO `sP` VALUES ('渦慨偽橋');
+INSERT INTO `sP` VALUES ('怯桶患');
+INSERT INTO `sP` VALUES ('橋渦慨');
+INSERT INTO `sP` VALUES ('橋怯桶患');
+INSERT INTO `sP` VALUES ('橋怯桶患橋');
+INSERT INTO `sP` VALUES (' 渦慨 ');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES ('');
+INSERT INTO `sQ` VALUES (' ');
+INSERT INTO `sR` VALUES ('\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\');
+INSERT INTO `sR` VALUES ('\\\\\\\\\\\');
+INSERT INTO `sR` VALUES (' \\\\\ ');
+SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sP`;
bP TRIM(TRAILING '' FROM `bP`)
渦慨 渦慨
渦慨偽 渦慨
@@ -537,7 +384,7 @@ SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sPO`;
橋怯桶患 橋怯桶患
橋怯桶患橋 橋怯桶患
渦慨 渦慨
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sPO`;
+SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sP`;
bP TRIM(LEADING '' FROM `bP`)
渦慨 渦慨
渦慨偽 渦慨偽
@@ -548,7 +395,7 @@ SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sPO`;
橋怯桶患 渦慨
橋怯桶患橋 渦慨偽橋
渦慨 渦慨
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sPO`;
+SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sP`;
bP TRIM(BOTH '' FROM `bP`)
渦慨 渦慨
渦慨偽 渦慨
@@ -559,7 +406,7 @@ SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sPO`;
橋怯桶患 渦慨
橋怯桶患橋 渦慨
渦慨 渦慨
-SELECT `bP`,TRIM(`bP`) FROM `sPO`;
+SELECT `bP`,TRIM(`bP`) FROM `sP`;
bP TRIM(`bP`)
渦慨 渦慨
渦慨偽 渦慨偽
@@ -570,7 +417,7 @@ SELECT `bP`,TRIM(`bP`) FROM `sPO`;
橋怯桶患 橋怯桶患
橋怯桶患橋 橋怯桶患橋
渦慨 渦慨
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sPP`;
+SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sQ`;
bP TRIM(TRAILING '' FROM `bP`)
@@ -581,7 +428,7 @@ SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sPP`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sPP`;
+SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sQ`;
bP TRIM(LEADING '' FROM `bP`)
@@ -592,7 +439,7 @@ SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sPP`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sPP`;
+SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sQ`;
bP TRIM(BOTH '' FROM `bP`)
@@ -603,7 +450,7 @@ SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sPP`;
-SELECT `bP`,TRIM(`bP`) FROM `sPP`;
+SELECT `bP`,TRIM(`bP`) FROM `sQ`;
bP TRIM(`bP`)
@@ -614,7 +461,7 @@ SELECT `bP`,TRIM(`bP`) FROM `sPP`;
-SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sPQ`;
+SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sR`;
bP TRIM(TRAILING '\' FROM `bP`)
\\\\\ \\\\\
\\\\\\ \\\\\
@@ -625,7 +472,7 @@ SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sPQ`;
\\\\\\\\ \\\\\\\\
\\\\\\\\\\\ \\\\\\\\
\\\\\ \\\\\
-SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sPQ`;
+SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sR`;
bP TRIM(LEADING '\' FROM `bP`)
\\\\\ \\\\\
\\\\\\ \\\\\\
@@ -636,7 +483,7 @@ SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sPQ`;
\\\\\\\\ \\\\\
\\\\\\\\\\\ \\\\\\\\
\\\\\ \\\\\
-SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sPQ`;
+SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sR`;
bP TRIM(BOTH '\' FROM `bP`)
\\\\\ \\\\\
\\\\\\ \\\\\
@@ -647,7 +494,7 @@ SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sPQ`;
\\\\\\\\ \\\\\
\\\\\\\\\\\ \\\\\
\\\\\ \\\\\
-SELECT `bP`,TRIM(`bP`) FROM `sPQ`;
+SELECT `bP`,TRIM(`bP`) FROM `sR`;
bP TRIM(`bP`)
\\\\\ \\\\\
\\\\\\ \\\\\\
@@ -661,12 +508,3 @@ SELECT `bP`,TRIM(`bP`) FROM `sPQ`;
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
-DROP TABLE `sS`;
-DROP TABLE `sT`;
-DROP TABLE `sU`;
-DROP TABLE `sV`;
-DROP TABLE `sW`;
-DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_trim_ucs2.result b/mysql-test/suite/jp/r/jp_trim_ucs2.result
index 6ef73301a49..31ae0ab9115 100644
--- a/mysql-test/suite/jp/r/jp_trim_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_trim_ucs2.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -17,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES ('アイウエオカ');
INSERT INTO `T1` VALUES ('アイウエオカカ');
@@ -104,33 +100,6 @@ INSERT INTO `T9` VALUES ('丂丂龔龖龗龞龡');
INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡');
INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡 ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオカ');
-INSERT INTO `T10` VALUES ('アイウエオカカ');
-INSERT INTO `T10` VALUES ('アイウエオカカカ');
-INSERT INTO `T10` VALUES ('カアイウエオ');
-INSERT INTO `T10` VALUES ('カカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオカカカ');
-INSERT INTO `T10` VALUES (' アイウエオ ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえおか');
-INSERT INTO `T11` VALUES ('あいうえおかか');
-INSERT INTO `T11` VALUES ('あいうえおかかか');
-INSERT INTO `T11` VALUES ('かあいうえお');
-INSERT INTO `T11` VALUES ('かかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえおかかか');
-INSERT INTO `T11` VALUES (' あいうえお ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES ('丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡 ');
SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T1`;
C1 TRIM(TRAILING 'カ' FROM `C1`)
アイウエオ アイウエオ
@@ -527,138 +496,6 @@ SELECT `C1`,TRIM(`C1`) FROM `T9`;
丂丂丂龔龖龗龞龡 丂丂丂龔龖龗龞龡
丂丂丂龔龖龗龞龡丂丂丂 丂丂丂龔龖龗龞龡丂丂丂
龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T10`;
-C1 TRIM(TRAILING 'カ' FROM `C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオ
-アイウエオカカ アイウエオ
-アイウエオカカカ アイウエオ
-カアイウエオ カアイウエオ
-カカアイウエオ カカアイウエオ
-カカカアイウエオ カカカアイウエオ
-カカカアイウエオカカカ カカカアイウエオ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T10`;
-C1 TRIM(LEADING 'カ' FROM `C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオカ
-アイウエオカカ アイウエオカカ
-アイウエオカカカ アイウエオカカカ
-カアイウエオ アイウエオ
-カカアイウエオ アイウエオ
-カカカアイウエオ アイウエオ
-カカカアイウエオカカカ アイウエオカカカ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(BOTH 'カ' FROM `C1`) FROM `T10`;
-C1 TRIM(BOTH 'カ' FROM `C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオ
-アイウエオカカ アイウエオ
-アイウエオカカカ アイウエオ
-カアイウエオ アイウエオ
-カカアイウエオ アイウエオ
-カカカアイウエオ アイウエオ
-カカカアイウエオカカカ アイウエオ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(`C1`) FROM `T10`;
-C1 TRIM(`C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオカ
-アイウエオカカ アイウエオカカ
-アイウエオカカカ アイウエオカカカ
-カアイウエオ カアイウエオ
-カカアイウエオ カカアイウエオ
-カカカアイウエオ カカカアイウエオ
-カカカアイウエオカカカ カカカアイウエオカカカ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(TRAILING 'か' FROM `C1`) FROM `T11`;
-C1 TRIM(TRAILING 'か' FROM `C1`)
-あいうえお あいうえお
-あいうえおか あいうえお
-あいうえおかか あいうえお
-あいうえおかかか あいうえお
-かあいうえお かあいうえお
-かかあいうえお かかあいうえお
-かかかあいうえお かかかあいうえお
-かかかあいうえおかかか かかかあいうえお
- あいうえお あいうえお
-SELECT `C1`,TRIM(LEADING 'か' FROM `C1`) FROM `T11`;
-C1 TRIM(LEADING 'か' FROM `C1`)
-あいうえお あいうえお
-あいうえおか あいうえおか
-あいうえおかか あいうえおかか
-あいうえおかかか あいうえおかかか
-かあいうえお あいうえお
-かかあいうえお あいうえお
-かかかあいうえお あいうえお
-かかかあいうえおかかか あいうえおかかか
- あいうえお あいうえお
-SELECT `C1`,TRIM(BOTH 'か' FROM `C1`) FROM `T11`;
-C1 TRIM(BOTH 'か' FROM `C1`)
-あいうえお あいうえお
-あいうえおか あいうえお
-あいうえおかか あいうえお
-あいうえおかかか あいうえお
-かあいうえお あいうえお
-かかあいうえお あいうえお
-かかかあいうえお あいうえお
-かかかあいうえおかかか あいうえお
- あいうえお あいうえお
-SELECT `C1`,TRIM(`C1`) FROM `T11`;
-C1 TRIM(`C1`)
-あいうえお あいうえお
-あいうえおか あいうえおか
-あいうえおかか あいうえおかか
-あいうえおかかか あいうえおかかか
-かあいうえお かあいうえお
-かかあいうえお かかあいうえお
-かかかあいうえお かかかあいうえお
-かかかあいうえおかかか かかかあいうえおかかか
- あいうえお あいうえお
-SELECT `C1`,TRIM(TRAILING '丂' FROM `C1`) FROM `T12`;
-C1 TRIM(TRAILING '丂' FROM `C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡
-龔龖龗龞龡丂丂 龔龖龗龞龡
-龔龖龗龞龡丂丂丂 龔龖龗龞龡
-丂龔龖龗龞龡 丂龔龖龗龞龡
-丂丂龔龖龗龞龡 丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡 丂丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 丂丂丂龔龖龗龞龡
- 龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T12`;
-C1 TRIM(LEADING '丂' FROM `C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡丂
-龔龖龗龞龡丂丂 龔龖龗龞龡丂丂
-龔龖龗龞龡丂丂丂 龔龖龗龞龡丂丂丂
-丂龔龖龗龞龡 龔龖龗龞龡
-丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 龔龖龗龞龡丂丂丂
- 龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T12`;
-C1 TRIM(BOTH '丂' FROM `C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡
-龔龖龗龞龡丂丂 龔龖龗龞龡
-龔龖龗龞龡丂丂丂 龔龖龗龞龡
-丂龔龖龗龞龡 龔龖龗龞龡
-丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 龔龖龗龞龡
- 龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(`C1`) FROM `T12`;
-C1 TRIM(`C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡丂
-龔龖龗龞龡丂丂 龔龖龗龞龡丂丂
-龔龖龗龞龡丂丂丂 龔龖龗龞龡丂丂丂
-丂龔龖龗龞龡 丂龔龖龗龞龡
-丂丂龔龖龗龞龡 丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡 丂丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 丂丂丂龔龖龗龞龡丂丂丂
- 龔龖龗龞龡 龔龖龗龞龡
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -668,6 +505,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_trim_ujis.result b/mysql-test/suite/jp/r/jp_trim_ujis.result
index b79a1b24a37..c90d1a50308 100644
--- a/mysql-test/suite/jp/r/jp_trim_ujis.result
+++ b/mysql-test/suite/jp/r/jp_trim_ujis.result
@@ -7,7 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES ('アイウエオカ');
INSERT INTO `T1` VALUES ('アイウエオカカ');
@@ -103,33 +99,6 @@ INSERT INTO `T9` VALUES ('丂丂龔龖龗龞龡');
INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡');
INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡 ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオカ');
-INSERT INTO `T10` VALUES ('アイウエオカカ');
-INSERT INTO `T10` VALUES ('アイウエオカカカ');
-INSERT INTO `T10` VALUES ('カアイウエオ');
-INSERT INTO `T10` VALUES ('カカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオカカカ');
-INSERT INTO `T10` VALUES (' アイウエオ ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえおか');
-INSERT INTO `T11` VALUES ('あいうえおかか');
-INSERT INTO `T11` VALUES ('あいうえおかかか');
-INSERT INTO `T11` VALUES ('かあいうえお');
-INSERT INTO `T11` VALUES ('かかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえおかかか');
-INSERT INTO `T11` VALUES (' あいうえお ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES ('丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡 ');
SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T1`;
C1 TRIM(TRAILING 'カ' FROM `C1`)
アイウエオ アイウエオ
@@ -526,138 +495,6 @@ SELECT `C1`,TRIM(`C1`) FROM `T9`;
丂丂丂龔龖龗龞龡 丂丂丂龔龖龗龞龡
丂丂丂龔龖龗龞龡丂丂丂 丂丂丂龔龖龗龞龡丂丂丂
龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T10`;
-C1 TRIM(TRAILING 'カ' FROM `C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオ
-アイウエオカカ アイウエオ
-アイウエオカカカ アイウエオ
-カアイウエオ カアイウエオ
-カカアイウエオ カカアイウエオ
-カカカアイウエオ カカカアイウエオ
-カカカアイウエオカカカ カカカアイウエオ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T10`;
-C1 TRIM(LEADING 'カ' FROM `C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオカ
-アイウエオカカ アイウエオカカ
-アイウエオカカカ アイウエオカカカ
-カアイウエオ アイウエオ
-カカアイウエオ アイウエオ
-カカカアイウエオ アイウエオ
-カカカアイウエオカカカ アイウエオカカカ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(BOTH 'カ' FROM `C1`) FROM `T10`;
-C1 TRIM(BOTH 'カ' FROM `C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオ
-アイウエオカカ アイウエオ
-アイウエオカカカ アイウエオ
-カアイウエオ アイウエオ
-カカアイウエオ アイウエオ
-カカカアイウエオ アイウエオ
-カカカアイウエオカカカ アイウエオ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(`C1`) FROM `T10`;
-C1 TRIM(`C1`)
-アイウエオ アイウエオ
-アイウエオカ アイウエオカ
-アイウエオカカ アイウエオカカ
-アイウエオカカカ アイウエオカカカ
-カアイウエオ カアイウエオ
-カカアイウエオ カカアイウエオ
-カカカアイウエオ カカカアイウエオ
-カカカアイウエオカカカ カカカアイウエオカカカ
- アイウエオ アイウエオ
-SELECT `C1`,TRIM(TRAILING 'か' FROM `C1`) FROM `T11`;
-C1 TRIM(TRAILING 'か' FROM `C1`)
-あいうえお あいうえお
-あいうえおか あいうえお
-あいうえおかか あいうえお
-あいうえおかかか あいうえお
-かあいうえお かあいうえお
-かかあいうえお かかあいうえお
-かかかあいうえお かかかあいうえお
-かかかあいうえおかかか かかかあいうえお
- あいうえお あいうえお
-SELECT `C1`,TRIM(LEADING 'か' FROM `C1`) FROM `T11`;
-C1 TRIM(LEADING 'か' FROM `C1`)
-あいうえお あいうえお
-あいうえおか あいうえおか
-あいうえおかか あいうえおかか
-あいうえおかかか あいうえおかかか
-かあいうえお あいうえお
-かかあいうえお あいうえお
-かかかあいうえお あいうえお
-かかかあいうえおかかか あいうえおかかか
- あいうえお あいうえお
-SELECT `C1`,TRIM(BOTH 'か' FROM `C1`) FROM `T11`;
-C1 TRIM(BOTH 'か' FROM `C1`)
-あいうえお あいうえお
-あいうえおか あいうえお
-あいうえおかか あいうえお
-あいうえおかかか あいうえお
-かあいうえお あいうえお
-かかあいうえお あいうえお
-かかかあいうえお あいうえお
-かかかあいうえおかかか あいうえお
- あいうえお あいうえお
-SELECT `C1`,TRIM(`C1`) FROM `T11`;
-C1 TRIM(`C1`)
-あいうえお あいうえお
-あいうえおか あいうえおか
-あいうえおかか あいうえおかか
-あいうえおかかか あいうえおかかか
-かあいうえお かあいうえお
-かかあいうえお かかあいうえお
-かかかあいうえお かかかあいうえお
-かかかあいうえおかかか かかかあいうえおかかか
- あいうえお あいうえお
-SELECT `C1`,TRIM(TRAILING '丂' FROM `C1`) FROM `T12`;
-C1 TRIM(TRAILING '丂' FROM `C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡
-龔龖龗龞龡丂丂 龔龖龗龞龡
-龔龖龗龞龡丂丂丂 龔龖龗龞龡
-丂龔龖龗龞龡 丂龔龖龗龞龡
-丂丂龔龖龗龞龡 丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡 丂丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 丂丂丂龔龖龗龞龡
- 龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T12`;
-C1 TRIM(LEADING '丂' FROM `C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡丂
-龔龖龗龞龡丂丂 龔龖龗龞龡丂丂
-龔龖龗龞龡丂丂丂 龔龖龗龞龡丂丂丂
-丂龔龖龗龞龡 龔龖龗龞龡
-丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 龔龖龗龞龡丂丂丂
- 龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T12`;
-C1 TRIM(BOTH '丂' FROM `C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡
-龔龖龗龞龡丂丂 龔龖龗龞龡
-龔龖龗龞龡丂丂丂 龔龖龗龞龡
-丂龔龖龗龞龡 龔龖龗龞龡
-丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡 龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 龔龖龗龞龡
- 龔龖龗龞龡 龔龖龗龞龡
-SELECT `C1`,TRIM(`C1`) FROM `T12`;
-C1 TRIM(`C1`)
-龔龖龗龞龡 龔龖龗龞龡
-龔龖龗龞龡丂 龔龖龗龞龡丂
-龔龖龗龞龡丂丂 龔龖龗龞龡丂丂
-龔龖龗龞龡丂丂丂 龔龖龗龞龡丂丂丂
-丂龔龖龗龞龡 丂龔龖龗龞龡
-丂丂龔龖龗龞龡 丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡 丂丂丂龔龖龗龞龡
-丂丂丂龔龖龗龞龡丂丂丂 丂丂丂龔龖龗龞龡丂丂丂
- 龔龖龗龞龡 龔龖龗龞龡
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -667,6 +504,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_trim_utf8.result b/mysql-test/suite/jp/r/jp_trim_utf8.result
index 99fb785e495..4f4849c9f3c 100644
--- a/mysql-test/suite/jp/r/jp_trim_utf8.result
+++ b/mysql-test/suite/jp/r/jp_trim_utf8.result
@@ -7,7 +7,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -16,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔居酋');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔居酋鐔');
@@ -103,33 +99,6 @@ 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 ('鐔駈酋鐔駈襲鐔駕蹴鐔器週鐔駈酋鐔');
-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 ('蘊蘊蘊蘊蘊>');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊>筝');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊>筝筝');
-INSERT INTO `鐚器鐚` VALUES ('筝蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('筝筝蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('筝筝筝蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('筝筝筝蘊蘊蘊蘊蘊>筝筝');
-INSERT INTO `鐚器鐚` VALUES (' 蘊蘊蘊蘊蘊 ');
SELECT `鐚o`,TRIM(TRAILING '鐔' FROM `鐚o`) FROM `鐚器`;
鐚o TRIM(TRAILING '鐔' FROM `鐚o`)
鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
@@ -526,138 +495,6 @@ SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器`;
筝筝筝蘊蘊蘊蘊蘊 筝筝筝蘊蘊蘊蘊蘊
筝筝筝蘊蘊蘊蘊蘊>筝筝 筝筝筝蘊蘊蘊蘊蘊>筝筝
蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-SELECT `鐚o`,TRIM(TRAILING '鐔' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(TRAILING '鐔' FROM `鐚o`)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋鐔駈酋 鐔縁讐鐔鰹輯鐔
-鐔駈襲鐔駕蹴鐔器週 鐔駈襲鐔駕蹴鐔器週
-鐔駈酋鐔縁讐鐔鰹輯鐔 鐔駈酋鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔駈襲鐔駕蹴鐔器週 鐔駈酋鐔駈襲鐔駕蹴鐔器週
-鐔駈酋鐔駈襲鐔駕蹴鐔器週鐔駈酋鐔 鐔駈酋鐔駈襲鐔駕蹴鐔器週
- 鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-SELECT `鐚o`,TRIM(LEADING '鐔' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(LEADING '鐔' FROM `鐚o`)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋 鐔縁讐鐔鰹輯鐔居酋
-鐔縁讐鐔鰹輯鐔居酋鐔 鐔縁讐鐔鰹輯鐔居酋鐔
-鐔縁讐鐔鰹輯鐔居酋鐔駈酋 鐔縁讐鐔鰹輯鐔居酋鐔駈酋
-鐔駈襲鐔駕蹴鐔器週 鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔駈襲鐔駕蹴鐔器週 鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔駈襲鐔駕蹴鐔器週鐔駈酋鐔 鐔縁讐鐔鰹輯鐔居酋鐔駈酋
- 鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-SELECT `鐚o`,TRIM(BOTH '鐔' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(BOTH '鐔' FROM `鐚o`)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋鐔駈酋 鐔縁讐鐔鰹輯鐔
-鐔駈襲鐔駕蹴鐔器週 鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔駈襲鐔駕蹴鐔器週 鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔駈襲鐔駕蹴鐔器週鐔駈酋鐔 鐔縁讐鐔鰹輯鐔
- 鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(`鐚o`)
-鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-鐔縁讐鐔鰹輯鐔居酋 鐔縁讐鐔鰹輯鐔居酋
-鐔縁讐鐔鰹輯鐔居酋鐔 鐔縁讐鐔鰹輯鐔居酋鐔
-鐔縁讐鐔鰹輯鐔居酋鐔駈酋 鐔縁讐鐔鰹輯鐔居酋鐔駈酋
-鐔駈襲鐔駕蹴鐔器週 鐔駈襲鐔駕蹴鐔器週
-鐔駈酋鐔縁讐鐔鰹輯鐔 鐔駈酋鐔縁讐鐔鰹輯鐔
-鐔駈酋鐔駈襲鐔駕蹴鐔器週 鐔駈酋鐔駈襲鐔駕蹴鐔器週
-鐔駈酋鐔駈襲鐔駕蹴鐔器週鐔駈酋鐔 鐔駈酋鐔駈襲鐔駕蹴鐔器週鐔駈酋鐔
- 鐔縁讐鐔鰹輯鐔 鐔縁讐鐔鰹輯鐔
-SELECT `鐚o`,TRIM(TRAILING '' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(TRAILING '' FROM `鐚o`)
-
-
-
-
-
-
-
-
-
-SELECT `鐚o`,TRIM(LEADING '' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(LEADING '' FROM `鐚o`)
-
-
-
-
-
-
-
-
-
-SELECT `鐚o`,TRIM(BOTH '' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(BOTH '' FROM `鐚o`)
-
-
-
-
-
-
-
-
-
-SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(`鐚o`)
-
-
-
-
-
-
-
-
-
-SELECT `鐚o`,TRIM(TRAILING '筝' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(TRAILING '筝' FROM `鐚o`)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊> 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊>筝 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊>筝筝 蘊蘊蘊蘊蘊
-筝蘊蘊蘊蘊蘊 筝蘊蘊蘊蘊蘊
-筝筝蘊蘊蘊蘊蘊 筝筝蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊 筝筝筝蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊>筝筝 筝筝筝蘊蘊蘊蘊蘊
- 蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-SELECT `鐚o`,TRIM(LEADING '筝' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(LEADING '筝' FROM `鐚o`)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊> 蘊蘊蘊蘊蘊>
-蘊蘊蘊蘊蘊>筝 蘊蘊蘊蘊蘊>筝
-蘊蘊蘊蘊蘊>筝筝 蘊蘊蘊蘊蘊>筝筝
-筝蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-筝筝蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊>筝筝 蘊蘊蘊蘊蘊>筝筝
- 蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-SELECT `鐚o`,TRIM(BOTH '筝' FROM `鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(BOTH '筝' FROM `鐚o`)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊> 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊>筝 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊>筝筝 蘊蘊蘊蘊蘊
-筝蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-筝筝蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊>筝筝 蘊蘊蘊蘊蘊
- 蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器鐚`;
-鐚o TRIM(`鐚o`)
-蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
-蘊蘊蘊蘊蘊> 蘊蘊蘊蘊蘊>
-蘊蘊蘊蘊蘊>筝 蘊蘊蘊蘊蘊>筝
-蘊蘊蘊蘊蘊>筝筝 蘊蘊蘊蘊蘊>筝筝
-筝蘊蘊蘊蘊蘊 筝蘊蘊蘊蘊蘊
-筝筝蘊蘊蘊蘊蘊 筝筝蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊 筝筝筝蘊蘊蘊蘊蘊
-筝筝筝蘊蘊蘊蘊蘊>筝筝 筝筝筝蘊蘊蘊蘊蘊>筝筝
- 蘊蘊蘊蘊蘊 蘊蘊蘊蘊蘊
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -667,6 +504,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_union_ujis.result b/mysql-test/suite/jp/r/jp_union_ujis.result
index 4b74c570ffe..00dc868b8e2 100644
--- a/mysql-test/suite/jp/r/jp_union_ujis.result
+++ b/mysql-test/suite/jp/r/jp_union_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -202,104 +199,9 @@ SELECT * FROM `T1` UNION SELECT REPEAT(`C1`,5) FROM `T2` ORDER BY `C1`;
DROP TABLE `T1` ;
DROP TABLE `T2` ;
DROP TABLE `T3` ;
-CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = HEAP;
-CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = HEAP;
-CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = HEAP;
-INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
-INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
-INSERT INTO `T3` VALUES('ウ'),('ウ'),('う'),('う'),('龗'),('龗');
-SELECT * FROM `T1` UNION DISTINCT SELECT * FROM `T2` ORDER BY `C1`;
-C1
-ア
-イ
-龔
-龖
-あ
-い
-SELECT * FROM `T1` UNION ALL SELECT * FROM `T2` ORDER BY `C1`;
-C1
-ア
-ア
-イ
-イ
-龔
-龔
-龖
-龖
-あ
-あ
-い
-い
-(SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) UNION (SELECT 'う') ORDER BY `C1`;
-C1
-ア
-イ
-龔
-龖
-あ
-い
-う
-(SELECT 'う' AS `C1`) UNION (SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) ORDER BY `C1`;
-C1
-ア
-イ
-龔
-龖
-あ
-い
-う
-SELECT `C1`, COUNT(*) FROM `T1` GROUP BY `C1` UNION
-SELECT `C1`, COUNT(*) FROM `T2` GROUP BY `C1` ORDER BY `C1`;
-C1 COUNT(*)
-ア 2
-イ 2
-龔 2
-龖 2
-あ 2
-い 2
-SELECT * FROM `T1` UNION DISTINCT
-SELECT * FROM `T2` UNION ALL
-SELECT * FROM `T3` ORDER BY `C1`;
-C1
-ア
-イ
-ウ
-ウ
-龔
-龖
-龗
-龗
-あ
-い
-う
-う
-SELECT * FROM `T1` UNION ALL
-SELECT * FROM `T2` UNION DISTINCT
-SELECT * FROM `T3` ORDER BY `C1`;
-C1
-ア
-イ
-ウ
-龔
-龖
-龗
-あ
-い
-う
-SELECT * FROM `T1` UNION SELECT REPEAT(`C1`,5) FROM `T2` ORDER BY `C1`;
-C1
-ア
-イイイイイ
-龔
-龖龖龖龖龖
-あ
-いいいいい
-DROP TABLE `T1` ;
-DROP TABLE `T2` ;
-DROP TABLE `T3` ;
-CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = BDB;
-CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = BDB;
-CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = BDB;
+CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
INSERT INTO `T3` VALUES('ウ'),('ウ'),('う'),('う'),('龗'),('龗');
diff --git a/mysql-test/suite/jp/r/jp_update_sjis.result b/mysql-test/suite/jp/r/jp_update_sjis.result
index 65151cc7021..08d250a12e3 100644
--- a/mysql-test/suite/jp/r/jp_update_sjis.result
+++ b/mysql-test/suite/jp/r/jp_update_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
INSERT INTO `sR` VALUES ('\\\\\');
@@ -33,9 +27,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
UPDATE `sP` SET `bP` = ('況弦');
UPDATE `sQ` SET `bP` = ('');
UPDATE `sR` SET `bP` = ('\\\\\');
@@ -45,9 +36,6 @@ UPDATE `sU` SET `bP` = ('\\\\\');
UPDATE `sV` SET `bP` = ('況弦');
UPDATE `sW` SET `bP` = ('');
UPDATE `sX` SET `bP` = ('\\\\\');
-UPDATE `sPO` SET `bP` = ('況弦');
-UPDATE `sPP` SET `bP` = ('');
-UPDATE `sPQ` SET `bP` = ('\\\\\');
SELECT * FROM `sP`;
bP
況弦
@@ -75,15 +63,6 @@ SELECT * FROM `sW`;
SELECT * FROM `sX`;
bP
\\\\\
-SELECT * FROM `sPO`;
-bP
-況弦
-SELECT * FROM `sPP`;
-bP
-
-SELECT * FROM `sPQ`;
-bP
-\\\\\
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -93,6 +72,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_update_ucs2.result b/mysql-test/suite/jp/r/jp_update_ucs2.result
index 2796958ac3e..998126a4e4c 100644
--- a/mysql-test/suite/jp/r/jp_update_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_update_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -34,9 +28,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 ('龔龖龗龞龡');
UPDATE `T1` SET `C1` = ('カキクケコ');
UPDATE `T2` SET `C1` = ('かきくけこ');
UPDATE `T3` SET `C1` = ('齗齘齚齝齞');
@@ -46,9 +37,6 @@ UPDATE `T6` SET `C1` = ('齗齘齚齝齞');
UPDATE `T7` SET `C1` = ('カキクケコ');
UPDATE `T8` SET `C1` = ('かきくけこ');
UPDATE `T9` SET `C1` = ('齗齘齚齝齞');
-UPDATE `T10` SET `C1` = ('カキクケコ');
-UPDATE `T11` SET `C1` = ('かきくけこ');
-UPDATE `T12` SET `C1` = ('齗齘齚齝齞');
SELECT * FROM `T1`;
C1
カキクケコ
@@ -76,15 +64,6 @@ SELECT * FROM `T8`;
SELECT * FROM `T9`;
C1
齗齘齚齝齞
-SELECT * FROM `T10`;
-C1
-カキクケコ
-SELECT * FROM `T11`;
-C1
-かきくけこ
-SELECT * FROM `T12`;
-C1
-齗齘齚齝齞
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -94,6 +73,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_update_ujis.result b/mysql-test/suite/jp/r/jp_update_ujis.result
index e9633d14f0c..f976436030b 100644
--- a/mysql-test/suite/jp/r/jp_update_ujis.result
+++ b/mysql-test/suite/jp/r/jp_update_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
@@ -33,9 +27,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 ('龔龖龗龞龡');
UPDATE `T1` SET `C1` = ('カキクケコ');
UPDATE `T2` SET `C1` = ('かきくけこ');
UPDATE `T3` SET `C1` = ('齗齘齚齝齞');
@@ -45,9 +36,6 @@ UPDATE `T6` SET `C1` = ('齗齘齚齝齞');
UPDATE `T7` SET `C1` = ('カキクケコ');
UPDATE `T8` SET `C1` = ('かきくけこ');
UPDATE `T9` SET `C1` = ('齗齘齚齝齞');
-UPDATE `T10` SET `C1` = ('カキクケコ');
-UPDATE `T11` SET `C1` = ('かきくけこ');
-UPDATE `T12` SET `C1` = ('齗齘齚齝齞');
SELECT * FROM `T1`;
C1
カキクケコ
@@ -75,15 +63,6 @@ SELECT * FROM `T8`;
SELECT * FROM `T9`;
C1
齗齘齚齝齞
-SELECT * FROM `T10`;
-C1
-カキクケコ
-SELECT * FROM `T11`;
-C1
-かきくけこ
-SELECT * FROM `T12`;
-C1
-齗齘齚齝齞
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -93,6 +72,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_update_utf8.result b/mysql-test/suite/jp/r/jp_update_utf8.result
index f690d2f0247..15d3214534b 100644
--- a/mysql-test/suite/jp/r/jp_update_utf8.result
+++ b/mysql-test/suite/jp/r/jp_update_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
@@ -33,9 +27,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
UPDATE `鐚器` SET `鐚o` = ('鐔駈酬鐔醐醜鐔');
UPDATE `鐚器` SET `鐚o` = ('');
UPDATE `鐚器` SET `鐚o` = ('藹藹藹藹藹');
@@ -45,9 +36,6 @@ UPDATE `鐚器` SET `鐚o` = ('藹藹藹藹藹');
UPDATE `鐚器` SET `鐚o` = ('鐔駈酬鐔醐醜鐔');
UPDATE `鐚器` SET `鐚o` = ('');
UPDATE `鐚器` SET `鐚o` = ('藹藹藹藹藹');
-UPDATE `鐚器鐚` SET `鐚o` = ('鐔駈酬鐔醐醜鐔');
-UPDATE `鐚器鐚` SET `鐚o` = ('');
-UPDATE `鐚器鐚` SET `鐚o` = ('藹藹藹藹藹');
SELECT * FROM `鐚器`;
鐚o
鐔駈酬鐔醐醜鐔
@@ -75,15 +63,6 @@ SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
鐚o
藹藹藹藹藹
-SELECT * FROM `鐚器鐚`;
-鐚o
-鐔駈酬鐔醐醜鐔
-SELECT * FROM `鐚器鐚`;
-鐚o
-
-SELECT * FROM `鐚器鐚`;
-鐚o
-藹藹藹藹藹
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -93,6 +72,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/r/jp_where_sjis.result b/mysql-test/suite/jp/r/jp_where_sjis.result
index a3cbc24c113..536d2a8d330 100644
--- a/mysql-test/suite/jp/r/jp_where_sjis.result
+++ b/mysql-test/suite/jp/r/jp_where_sjis.result
@@ -7,9 +7,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engi
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sP`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sQ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sR`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
SELECT * FROM `sP` WHERE `bP` = '葦桶患況弦沙悉梢';
bP
葦桶患況弦沙悉梢
@@ -63,23 +54,15 @@ SELECT * FROM `sW` WHERE `bP` = 'E';
SELECT * FROM `sX` WHERE `bP` = '\\\\\\\\\\\\\\\\\\\\';
bP
\\\\\\\\\\\\\\\\\\\\
-SELECT * FROM `sPO` WHERE `bP` = '葦桶患況弦沙悉梢';
-bP
-葦桶患況弦沙悉梢
-SELECT * FROM `sPP` WHERE `bP` = 'E';
-bP
-E
-SELECT * FROM `sPQ` WHERE `bP` = '\\\\\\\\\\\\\\\\\\\\';
-bP
-\\\\\\\\\\\\\\\\\\\\
+DROP TABLE IF EXISTS t1;
+DROP TABLE IF EXISTS t2;
+DROP TABLE IF EXISTS t3;
CREATE TABLE t1(c1 char(1)) default charset = sjis engine=innodb;
CREATE TABLE t2(c1 char(1)) default charset = sjis engine=myisam;
-CREATE TABLE t3(c1 char(1)) default charset = sjis engine=heap;
-CREATE TABLE t4(c1 char(1)) default charset = sjis engine=bdb;
+CREATE TABLE t3(c1 char(1)) default charset = sjis engine=MEMORY;
INSERT INTO t1 VALUES('S'),('s');
INSERT INTO t2 VALUES('S'),('s');
INSERT INTO t3 VALUES('S'),('s');
-INSERT INTO t4 VALUES('S'),('s');
SELECT * FROM t1 WHERE c1 = 'S';
c1
S
@@ -89,9 +72,6 @@ c1
SELECT * FROM t3 WHERE c1 = 'S';
c1
S
-SELECT * FROM t4 WHERE c1 = 'S';
-c1
-S
SELECT * FROM t1 WHERE c1 = 's';
c1
s
@@ -101,9 +81,9 @@ c1
SELECT * FROM t3 WHERE c1 = 's';
c1
s
-SELECT * FROM t4 WHERE c1 = 's';
-c1
-s
+DROP TABLE t1;
+DROP TABLE t2;
+DROP TABLE t3;
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -113,6 +93,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/r/jp_where_ucs2.result b/mysql-test/suite/jp/r/jp_where_ucs2.result
index a05b1da9b68..b581ba017a0 100644
--- a/mysql-test/suite/jp/r/jp_where_ucs2.result
+++ b/mysql-test/suite/jp/r/jp_where_ucs2.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
@@ -19,12 +16,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES
('PQRSTUVWXYZ[\\]^_')
,(' 。「」、・ヲァィゥェォャュョッ')
@@ -91,28 +85,6 @@ INSERT INTO `T9` VALUES
,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
-('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-INSERT INTO `T11` VALUES
-('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-INSERT INTO `T12` VALUES
-('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
SELECT * FROM `T1` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
C1
ーアイウエオカキクケコサシスセソ
@@ -140,15 +112,6 @@ SELECT * FROM `T8` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
SELECT * FROM `T9` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
C1
鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T10` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T11` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
-C1
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-SELECT * FROM `T12` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -158,6 +121,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_where_ujis.result b/mysql-test/suite/jp/r/jp_where_ujis.result
index b13b8a10ef8..0c4621c3a33 100644
--- a/mysql-test/suite/jp/r/jp_where_ujis.result
+++ b/mysql-test/suite/jp/r/jp_where_ujis.result
@@ -7,9 +7,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`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T1`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T2`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T3`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
SELECT * FROM `T1` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
C1
ーアイウエオカキクケコサシスセソ
@@ -63,15 +54,6 @@ SELECT * FROM `T8` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
SELECT * FROM `T9` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
C1
鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
-SELECT * FROM `T10` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
-C1
-ーアイウエオカキクケコサシスセソ
-SELECT * FROM `T11` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
-C1
-・ぁあぃいぅうぇえぉおかがきぎくぐけげこ
-SELECT * FROM `T12` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-C1
-鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -81,6 +63,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/r/jp_where_utf8.result b/mysql-test/suite/jp/r/jp_where_utf8.result
index d69aaf8715d..3adb5733dbf 100644
--- a/mysql-test/suite/jp/r/jp_where_utf8.result
+++ b/mysql-test/suite/jp/r/jp_where_utf8.result
@@ -7,9 +7,6 @@ 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 `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = innodb;
@@ -18,12 +15,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
@@ -33,9 +27,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
SELECT * FROM `鐚器` WHERE `鐚o` = '鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎';
鐚o
鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎
@@ -63,15 +54,6 @@ SELECT * FROM `鐚器` WHERE `鐚o` = '祉
SELECT * FROM `鐚器` WHERE `鐚o` = '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
鐚o
藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
-SELECT * FROM `鐚器鐚` WHERE `鐚o` = '鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎';
-鐚o
-鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎
-SELECT * FROM `鐚器鐚` WHERE `鐚o` = '祉';
-鐚o
-祉
-SELECT * FROM `鐚器鐚` WHERE `鐚o` = '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
-鐚o
-藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -81,6 +63,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/disabled.def b/mysql-test/suite/jp/t/disabled.def
new file mode 100644
index 00000000000..8c4d862ebde
--- /dev/null
+++ b/mysql-test/suite/jp/t/disabled.def
@@ -0,0 +1,13 @@
+##############################################################################
+#
+# List the test cases that are to be disabled temporarily.
+#
+# Separate the test case name and the comment with ':'.
+#
+# <testcasename> : BUG#<xxxx> <date disabled> <disabler> <comment>
+#
+# Do not use any TAB characters for whitespace.
+#
+##############################################################################
+jp_convert_sjis : Bug#36597 Testsuite "jp": Suspicious results for some tests
+jp_select_sjis : Bug#36597 Testsuite "jp": Suspicious results for some tests
diff --git a/mysql-test/suite/jp/t/jp_alter_sjis.test b/mysql-test/suite/jp/t/jp_alter_sjis.test
index b7b31862599..ec3abf01b8a 100644
--- a/mysql-test/suite/jp/t/jp_alter_sjis.test
+++ b/mysql-test/suite/jp/t/jp_alter_sjis.test
@@ -1,6 +1,8 @@
+--source include/have_sjis.inc
--character_set sjis
SET NAMES sjis;
SET character_set_database = sjis;
+--source include/have_innodb.inc
--disable_warnings
DROP TABLE IF EXISTS `臼`;
DROP TABLE IF EXISTS `臆`;
@@ -217,15 +219,15 @@ DROP TABLE `\\\`;
DROP TABLE `\\\`;
#
-# Test HEAP
+# Test MEMORY
#
-CREATE TABLE `臼`(`祁` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `臆`(`更` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
+CREATE TABLE `臼`(`祁` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `臆`(`更` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=MEMORY;
INSERT INTO `臼` VALUES ('臼臼'),('臆臆'),('崖崖');
INSERT INTO `` VALUES (''),(''),('');
@@ -314,103 +316,3 @@ DROP TABLE ``;
DROP TABLE ``;
DROP TABLE `\\\`;
DROP TABLE `\\\`;
-
-#
-# Test BDB
-#
-
-CREATE TABLE `臼`(`祁` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `臆`(`更` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(5)) DEFAULT CHARSET = sjis engine=BDB;
-
-INSERT INTO `臼` VALUES ('臼臼'),('臆臆'),('崖崖');
-INSERT INTO `` VALUES (''),(''),('');
-INSERT INTO `\\\` VALUES ('\\\\\'),('\\\\\'),('\\\\\');
-
-ALTER TABLE `臼` ADD `橋` char(1) FIRST;
-ALTER TABLE `臼` ADD `幻` char(1) AFTER `祁`;
-ALTER TABLE `臼` ADD `更` char(1);
-ALTER TABLE `臼` ADD INDEX (`橋`);
-ALTER TABLE `臼` ADD PRIMARY KEY (`祁`);
-#Multiple NULL fields are not allowed in BDB
-#ALTER TABLE `臼` ADD UNIQUE (`幻`);
-#ALTER TABLE `臼` ADD FOREIGN KEY (`更`) REFERENCES `臆`(`更`);
-ALTER TABLE `臼` CHANGE `橋` `橋` char(1);
-ALTER TABLE `臼` MODIFY `祁` char(6);
-
-SELECT * FROM `臼`;
-DESC `臼`;
-SHOW CREATE TABLE `臼`;
-
-ALTER TABLE `臼` DROP INDEX `橋`;
-ALTER TABLE `臼` DROP PRIMARY KEY;
-#ALTER TABLE `臼` DROP INDEX `幻`;
-#ALTER TABLE `臼` DROP FOREIGN KEY `更`;
-ALTER TABLE `臼` DROP `橋`;
-ALTER TABLE `臼` DROP `幻`;
-ALTER TABLE `臼` DROP `更`;
-SELECT * FROM `臼`;
-DESC `臼`;
-SHOW CREATE TABLE `臼`;
-
-ALTER TABLE `` ADD `` char(1) FIRST;
-ALTER TABLE `` ADD `` char(1) AFTER ``;
-ALTER TABLE `` ADD `` char(1);
-ALTER TABLE `` ADD INDEX (``);
-ALTER TABLE `` ADD PRIMARY KEY (``);
-#ALTER TABLE `` ADD UNIQUE (``);
-#ALTER TABLE `` ADD FOREIGN KEY (``) REFERENCES ``(``);
-ALTER TABLE `` CHANGE `` `` char(1);
-ALTER TABLE `` MODIFY `` char(6);
-
-SELECT * FROM ``;
-DESC ``;
-SHOW CREATE TABLE ``;
-
-ALTER TABLE `` DROP INDEX ``;
-ALTER TABLE `` DROP PRIMARY KEY;
-#ALTER TABLE `` DROP INDEX ``;
-#ALTER TABLE `` DROP FOREIGN KEY ``;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-
-SELECT * FROM ``;
-DESC ``;
-SHOW CREATE TABLE ``;
-
-ALTER TABLE `\\\` ADD `\\\` char(1) FIRST;
-ALTER TABLE `\\\` ADD `\\\` char(1) AFTER `\\\`;
-ALTER TABLE `\\\` ADD `\\\` char(1);
-ALTER TABLE `\\\` ADD INDEX (`\\\`);
-ALTER TABLE `\\\` ADD PRIMARY KEY (`\\\`);
-#ALTER TABLE `\\\` ADD UNIQUE (`\\\`);
-#ALTER TABLE `\\\` ADD FOREIGN KEY (`\\\`) REFERENCES `\\\`(`\\\`);
-ALTER TABLE `\\\` CHANGE `\\\` `\\` char(1);
-ALTER TABLE `\\\` MODIFY `\\\` char(6);
-
-SELECT * FROM `\\\`;
-DESC `\\\`;
-SHOW CREATE TABLE `\\\`;
-
-ALTER TABLE `\\\` DROP INDEX `\\\`;
-ALTER TABLE `\\\` DROP PRIMARY KEY;
-#ALTER TABLE `\\\` DROP INDEX `\\\`;
-#ALTER TABLE `\\\` DROP FOREIGN KEY `\\\`;
-ALTER TABLE `\\\` DROP `\\`;
-ALTER TABLE `\\\` DROP `\\\`;
-ALTER TABLE `\\\` DROP `\\\`;
-
-SELECT * FROM `\\\`;
-DESC `\\\`;
-SHOW CREATE TABLE `\\\`;
-
-DROP TABLE `臼`;
-DROP TABLE `臆`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
diff --git a/mysql-test/suite/jp/t/jp_alter_ucs2.test b/mysql-test/suite/jp/t/jp_alter_ucs2.test
index 6c5b3132edf..24cfed06e3e 100644
--- a/mysql-test/suite/jp/t/jp_alter_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_alter_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
DROP TABLE IF EXISTS `アアア`;
@@ -220,15 +221,15 @@ DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
#
-# Test HEAP
+# Test MEMORY
#
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=HEAP;
+CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=MEMORY;
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
@@ -317,103 +318,3 @@ DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
-
-#
-# Test BDB
-#
-
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=BDB;
-
-INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
-INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
-INSERT INTO `龖龖龖` VALUES ('丂丂丂丂丂'),('丄丄丄丄丄'),('丅丅丅丅丅');
-
-ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
-ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
-ALTER TABLE `アアア` ADD `ケケケ` char(1);
-ALTER TABLE `アアア` ADD INDEX (`カカカ`);
-ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
-#Multiple NULL fields are not allowed in BDB
-#ALTER TABLE `アアア` ADD UNIQUE (`ククク`);
-#ALTER TABLE `アアア` ADD FOREIGN KEY (`ケケケ`) REFERENCES `イイイ`(`ケケケ`);
-ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
-ALTER TABLE `アアア` MODIFY `キキキ` char(6);
-
-SELECT * FROM `アアア`;
-DESC `アアア`;
-SHOW CREATE TABLE `アアア`;
-
-ALTER TABLE `アアア` DROP INDEX `カカカ`;
-ALTER TABLE `アアア` DROP PRIMARY KEY;
-#ALTER TABLE `アアア` DROP INDEX `ククク`;
-#ALTER TABLE `アアア` DROP FOREIGN KEY `ケケケ`;
-ALTER TABLE `アアア` DROP `カカ`;
-ALTER TABLE `アアア` DROP `ククク`;
-ALTER TABLE `アアア` DROP `ケケケ`;
-SELECT * FROM `アアア`;
-DESC `アアア`;
-SHOW CREATE TABLE `アアア`;
-
-ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
-ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
-ALTER TABLE `あああ` ADD `けけけ` char(1);
-ALTER TABLE `あああ` ADD INDEX (`かかか`);
-ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
-#ALTER TABLE `あああ` ADD UNIQUE (`くくく`);
-#ALTER TABLE `あああ` ADD FOREIGN KEY (`けけけ`) REFERENCES `いいい`(`けけけ`);
-ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
-ALTER TABLE `あああ` MODIFY `ききき` char(6);
-
-SELECT * FROM `あああ`;
-DESC `あああ`;
-SHOW CREATE TABLE `あああ`;
-
-ALTER TABLE `あああ` DROP INDEX `かかか`;
-ALTER TABLE `あああ` DROP PRIMARY KEY;
-#ALTER TABLE `あああ` DROP INDEX `くくく`;
-#ALTER TABLE `あああ` DROP FOREIGN KEY `けけけ`;
-ALTER TABLE `あああ` DROP `かか`;
-ALTER TABLE `あああ` DROP `くくく`;
-ALTER TABLE `あああ` DROP `けけけ`;
-
-SELECT * FROM `あああ`;
-DESC `あああ`;
-SHOW CREATE TABLE `あああ`;
-
-ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
-ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
-ALTER TABLE `龖龖龖` ADD `乚乚乚` char(1);
-ALTER TABLE `龖龖龖` ADD INDEX (`丄丄丄`);
-ALTER TABLE `龖龖龖` ADD PRIMARY KEY (`丂丂丂`);
-#ALTER TABLE `龖龖龖` ADD UNIQUE (`丅丅丅`);
-#ALTER TABLE `龖龖龖` ADD FOREIGN KEY (`乚乚乚`) REFERENCES `龗龗龗`(`乚乚乚`);
-ALTER TABLE `龖龖龖` CHANGE `丄丄丄` `丄丄` char(1);
-ALTER TABLE `龖龖龖` MODIFY `丂丂丂` char(6);
-
-SELECT * FROM `龖龖龖`;
-DESC `龖龖龖`;
-SHOW CREATE TABLE `龖龖龖`;
-
-ALTER TABLE `龖龖龖` DROP INDEX `丄丄丄`;
-ALTER TABLE `龖龖龖` DROP PRIMARY KEY;
-#ALTER TABLE `龖龖龖` DROP INDEX `丅丅丅`;
-#ALTER TABLE `龖龖龖` DROP FOREIGN KEY `乚乚乚`;
-ALTER TABLE `龖龖龖` DROP `丄丄`;
-ALTER TABLE `龖龖龖` DROP `丅丅丅`;
-ALTER TABLE `龖龖龖` DROP `乚乚乚`;
-
-SELECT * FROM `龖龖龖`;
-DESC `龖龖龖`;
-SHOW CREATE TABLE `龖龖龖`;
-
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
diff --git a/mysql-test/suite/jp/t/jp_alter_ujis.test b/mysql-test/suite/jp/t/jp_alter_ujis.test
index d388d20c49b..e397cf66a50 100644
--- a/mysql-test/suite/jp/t/jp_alter_ujis.test
+++ b/mysql-test/suite/jp/t/jp_alter_ujis.test
@@ -1,4 +1,6 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
+
--disable_warnings
DROP TABLE IF EXISTS `アアア`;
@@ -219,15 +221,15 @@ DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
#
-# Test HEAP
+# Test MEMORY
#
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ujis engine=HEAP;
+CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ujis engine=MEMORY;
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
@@ -316,103 +318,3 @@ DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
-
-#
-# Test BDB
-#
-
-CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ujis engine=BDB;
-
-INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
-INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
-INSERT INTO `龖龖龖` VALUES ('丂丂丂丂丂'),('丄丄丄丄丄'),('丅丅丅丅丅');
-
-ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
-ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
-ALTER TABLE `アアア` ADD `ケケケ` char(1);
-ALTER TABLE `アアア` ADD INDEX (`カカカ`);
-ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
-#Multiple NULL fields are not allowed in BDB
-#ALTER TABLE `アアア` ADD UNIQUE (`ククク`);
-#ALTER TABLE `アアア` ADD FOREIGN KEY (`ケケケ`) REFERENCES `イイイ`(`ケケケ`);
-ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
-ALTER TABLE `アアア` MODIFY `キキキ` char(6);
-
-SELECT * FROM `アアア`;
-DESC `アアア`;
-SHOW CREATE TABLE `アアア`;
-
-ALTER TABLE `アアア` DROP INDEX `カカカ`;
-ALTER TABLE `アアア` DROP PRIMARY KEY;
-#ALTER TABLE `アアア` DROP INDEX `ククク`;
-#ALTER TABLE `アアア` DROP FOREIGN KEY `ケケケ`;
-ALTER TABLE `アアア` DROP `カカ`;
-ALTER TABLE `アアア` DROP `ククク`;
-ALTER TABLE `アアア` DROP `ケケケ`;
-SELECT * FROM `アアア`;
-DESC `アアア`;
-SHOW CREATE TABLE `アアア`;
-
-ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
-ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
-ALTER TABLE `あああ` ADD `けけけ` char(1);
-ALTER TABLE `あああ` ADD INDEX (`かかか`);
-ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
-#ALTER TABLE `あああ` ADD UNIQUE (`くくく`);
-#ALTER TABLE `あああ` ADD FOREIGN KEY (`けけけ`) REFERENCES `いいい`(`けけけ`);
-ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
-ALTER TABLE `あああ` MODIFY `ききき` char(6);
-
-SELECT * FROM `あああ`;
-DESC `あああ`;
-SHOW CREATE TABLE `あああ`;
-
-ALTER TABLE `あああ` DROP INDEX `かかか`;
-ALTER TABLE `あああ` DROP PRIMARY KEY;
-#ALTER TABLE `あああ` DROP INDEX `くくく`;
-#ALTER TABLE `あああ` DROP FOREIGN KEY `けけけ`;
-ALTER TABLE `あああ` DROP `かか`;
-ALTER TABLE `あああ` DROP `くくく`;
-ALTER TABLE `あああ` DROP `けけけ`;
-
-SELECT * FROM `あああ`;
-DESC `あああ`;
-SHOW CREATE TABLE `あああ`;
-
-ALTER TABLE `龖龖龖` ADD `丄丄丄` char(1) FIRST;
-ALTER TABLE `龖龖龖` ADD `丅丅丅` char(1) AFTER `丂丂丂`;
-ALTER TABLE `龖龖龖` ADD `乚乚乚` char(1);
-ALTER TABLE `龖龖龖` ADD INDEX (`丄丄丄`);
-ALTER TABLE `龖龖龖` ADD PRIMARY KEY (`丂丂丂`);
-#ALTER TABLE `龖龖龖` ADD UNIQUE (`丅丅丅`);
-#ALTER TABLE `龖龖龖` ADD FOREIGN KEY (`乚乚乚`) REFERENCES `龗龗龗`(`乚乚乚`);
-ALTER TABLE `龖龖龖` CHANGE `丄丄丄` `丄丄` char(1);
-ALTER TABLE `龖龖龖` MODIFY `丂丂丂` char(6);
-
-SELECT * FROM `龖龖龖`;
-DESC `龖龖龖`;
-SHOW CREATE TABLE `龖龖龖`;
-
-ALTER TABLE `龖龖龖` DROP INDEX `丄丄丄`;
-ALTER TABLE `龖龖龖` DROP PRIMARY KEY;
-#ALTER TABLE `龖龖龖` DROP INDEX `丅丅丅`;
-#ALTER TABLE `龖龖龖` DROP FOREIGN KEY `乚乚乚`;
-ALTER TABLE `龖龖龖` DROP `丄丄`;
-ALTER TABLE `龖龖龖` DROP `丅丅丅`;
-ALTER TABLE `龖龖龖` DROP `乚乚乚`;
-
-SELECT * FROM `龖龖龖`;
-DESC `龖龖龖`;
-SHOW CREATE TABLE `龖龖龖`;
-
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
diff --git a/mysql-test/suite/jp/t/jp_alter_utf8.test b/mysql-test/suite/jp/t/jp_alter_utf8.test
index 6771343f38f..fc98e20acfe 100644
--- a/mysql-test/suite/jp/t/jp_alter_utf8.test
+++ b/mysql-test/suite/jp/t/jp_alter_utf8.test
@@ -11,9 +11,12 @@ DROP TABLE IF EXISTS `蘊蘊蘊`;
# Test altering table with Japanese characters in utf8 encoding
#
+--source include/have_utf8.inc
SET NAMES utf8;
SET character_set_database = utf8;
+--source include/have_innodb.inc
+
#
# Test InnoDB
#
@@ -217,15 +220,15 @@ DROP TABLE `蘊蘊蘊`;
DROP TABLE `蘊蘊蘊`;
#
-# Test HEAP
+# Test MEMORY
#
-CREATE TABLE `鐔縁襲鐔`(`鐔件酬鐔` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `鐔駕讐鐔`(`鐔刻醜鐔` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`箙箙箙` char(5)) DEFAULT CHARSET = utf8 engine=HEAP;
+CREATE TABLE `鐔縁襲鐔`(`鐔件酬鐔` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `鐔駕讐鐔`(`鐔刻醜鐔` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`箙箙箙` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;
INSERT INTO `鐔縁襲鐔` VALUES ('鐔縁襲鐔縁襲鐔'),('鐔駕讐鐔駕讐鐔'),('鐔鰹蹴鐔鰹蹴鐔');
INSERT INTO `` VALUES (''),(''),('');
@@ -314,103 +317,3 @@ DROP TABLE ``;
DROP TABLE ``;
DROP TABLE `蘊蘊蘊`;
DROP TABLE `蘊蘊蘊`;
-
-#
-# Test BDB
-#
-
-CREATE TABLE `鐔縁襲鐔`(`鐔件酬鐔` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `鐔駕讐鐔`(`鐔刻醜鐔` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`箙箙箙` char(5)) DEFAULT CHARSET = utf8 engine=BDB;
-
-INSERT INTO `鐔縁襲鐔` VALUES ('鐔縁襲鐔縁襲鐔'),('鐔駕讐鐔駕讐鐔'),('鐔鰹蹴鐔鰹蹴鐔');
-INSERT INTO `` VALUES (''),(''),('');
-INSERT INTO `蘊蘊蘊` VALUES ('筝筝筝筝筝'),('筝筝筝筝筝'),('筝筝筝筝筝');
-
-ALTER TABLE `鐔縁襲鐔` ADD `鐔駈酋鐔` char(1) FIRST;
-ALTER TABLE `鐔縁襲鐔` ADD `鐔醐集鐔` char(1) AFTER `鐔件酬鐔`;
-ALTER TABLE `鐔縁襲鐔` ADD `鐔刻醜鐔` char(1);
-ALTER TABLE `鐔縁襲鐔` ADD INDEX (`鐔駈酋鐔`);
-ALTER TABLE `鐔縁襲鐔` ADD PRIMARY KEY (`鐔件酬鐔`);
-#Multiple NULL fields are not allowed in BDB
-#ALTER TABLE `鐔縁襲鐔` ADD UNIQUE (`鐔醐集鐔`);
-#ALTER TABLE `鐔縁襲鐔` ADD FOREIGN KEY (`鐔刻醜鐔`) REFERENCES `鐔駕讐鐔`(`鐔刻醜鐔`);
-ALTER TABLE `鐔縁襲鐔` CHANGE `鐔駈酋鐔` `鐔駈酋` char(1);
-ALTER TABLE `鐔縁襲鐔` MODIFY `鐔件酬鐔` char(6);
-
-SELECT * FROM `鐔縁襲鐔`;
-DESC `鐔縁襲鐔`;
-SHOW CREATE TABLE `鐔縁襲鐔`;
-
-ALTER TABLE `鐔縁襲鐔` DROP INDEX `鐔駈酋鐔`;
-ALTER TABLE `鐔縁襲鐔` DROP PRIMARY KEY;
-#ALTER TABLE `鐔縁襲鐔` DROP INDEX `鐔醐集鐔`;
-#ALTER TABLE `鐔縁襲鐔` DROP FOREIGN KEY `鐔刻醜鐔`;
-ALTER TABLE `鐔縁襲鐔` DROP `鐔駈酋`;
-ALTER TABLE `鐔縁襲鐔` DROP `鐔醐集鐔`;
-ALTER TABLE `鐔縁襲鐔` DROP `鐔刻醜鐔`;
-SELECT * FROM `鐔縁襲鐔`;
-DESC `鐔縁襲鐔`;
-SHOW CREATE TABLE `鐔縁襲鐔`;
-
-ALTER TABLE `` ADD `` char(1) FIRST;
-ALTER TABLE `` ADD `` char(1) AFTER ``;
-ALTER TABLE `` ADD `` char(1);
-ALTER TABLE `` ADD INDEX (``);
-ALTER TABLE `` ADD PRIMARY KEY (``);
-#ALTER TABLE `` ADD UNIQUE (``);
-#ALTER TABLE `` ADD FOREIGN KEY (``) REFERENCES ``(``);
-ALTER TABLE `` CHANGE `` `` char(1);
-ALTER TABLE `` MODIFY `` char(6);
-
-SELECT * FROM ``;
-DESC ``;
-SHOW CREATE TABLE ``;
-
-ALTER TABLE `` DROP INDEX ``;
-ALTER TABLE `` DROP PRIMARY KEY;
-#ALTER TABLE `` DROP INDEX ``;
-#ALTER TABLE `` DROP FOREIGN KEY ``;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-ALTER TABLE `` DROP ``;
-
-SELECT * FROM ``;
-DESC ``;
-SHOW CREATE TABLE ``;
-
-ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) FIRST;
-ALTER TABLE `蘊蘊蘊` ADD `筝筝筝` char(1) AFTER `筝筝筝`;
-ALTER TABLE `蘊蘊蘊` ADD `箙箙箙` char(1);
-ALTER TABLE `蘊蘊蘊` ADD INDEX (`筝筝筝`);
-ALTER TABLE `蘊蘊蘊` ADD PRIMARY KEY (`筝筝筝`);
-#ALTER TABLE `蘊蘊蘊` ADD UNIQUE (`筝筝筝`);
-#ALTER TABLE `蘊蘊蘊` ADD FOREIGN KEY (`箙箙箙`) REFERENCES `蘊蘊蘊`(`箙箙箙`);
-ALTER TABLE `蘊蘊蘊` CHANGE `筝筝筝` `筝筝` char(1);
-ALTER TABLE `蘊蘊蘊` MODIFY `筝筝筝` char(6);
-
-SELECT * FROM `蘊蘊蘊`;
-DESC `蘊蘊蘊`;
-SHOW CREATE TABLE `蘊蘊蘊`;
-
-ALTER TABLE `蘊蘊蘊` DROP INDEX `筝筝筝`;
-ALTER TABLE `蘊蘊蘊` DROP PRIMARY KEY;
-#ALTER TABLE `蘊蘊蘊` DROP INDEX `筝筝筝`;
-#ALTER TABLE `蘊蘊蘊` DROP FOREIGN KEY `箙箙箙`;
-ALTER TABLE `蘊蘊蘊` DROP `筝筝`;
-ALTER TABLE `蘊蘊蘊` DROP `筝筝筝`;
-ALTER TABLE `蘊蘊蘊` DROP `箙箙箙`;
-
-SELECT * FROM `蘊蘊蘊`;
-DESC `蘊蘊蘊`;
-SHOW CREATE TABLE `蘊蘊蘊`;
-
-DROP TABLE `鐔縁襲鐔`;
-DROP TABLE `鐔駕讐鐔`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊蘊蘊`;
diff --git a/mysql-test/suite/jp/t/jp_charlength_sjis.test b/mysql-test/suite/jp/t/jp_charlength_sjis.test
index 5f3543bb7a6..91bdb272d14 100644
--- a/mysql-test/suite/jp/t/jp_charlength_sjis.test
+++ b/mysql-test/suite/jp/t/jp_charlength_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
#InnoDB
SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sP`;
@@ -57,16 +50,11 @@ SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sS`;
SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sT`;
SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sU`;
-#HEAP
+#MEMORY
SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sV`;
SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sW`;
SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sX`;
-#BDB
-SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sPO`;
-SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sPP`;
-SELECT `bP`, CHAR_LENGTH(`bP`) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -76,6 +64,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_charlength_ucs2.test b/mysql-test/suite/jp/t/jp_charlength_ucs2.test
index 2db9db7cfc6..4376ebbd135 100644
--- a/mysql-test/suite/jp/t/jp_charlength_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_charlength_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
@@ -45,9 +40,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 `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
@@ -59,16 +51,11 @@ SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T4`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T5`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T7`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T8`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
-#BDB
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -78,6 +65,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_charlength_ujis.test b/mysql-test/suite/jp/t/jp_charlength_ujis.test
index 08973231f27..3f55e8ee73d 100644
--- a/mysql-test/suite/jp/t/jp_charlength_ujis.test
+++ b/mysql-test/suite/jp/t/jp_charlength_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
@@ -58,16 +50,11 @@ SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T4`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T5`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T7`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T8`;
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
-#BDB
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
-SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -77,6 +64,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_charlength_utf8.test b/mysql-test/suite/jp/t/jp_charlength_utf8.test
index a3f74db27ee..9e88bd98907 100644
--- a/mysql-test/suite/jp/t/jp_charlength_utf8.test
+++ b/mysql-test/suite/jp/t/jp_charlength_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
#InnoDB
SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
@@ -56,16 +49,11 @@ SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`, CHAR_LENGTH(`鐚o`) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -75,6 +63,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_charset_sjis.test b/mysql-test/suite/jp/t/jp_charset_sjis.test
index 3a9f264bdfe..4cde0848a95 100644
--- a/mysql-test/suite/jp/t/jp_charset_sjis.test
+++ b/mysql-test/suite/jp/t/jp_charset_sjis.test
@@ -1,3 +1,8 @@
+--source include/have_sjis.inc
+--source include/have_ucs2.inc
+--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +14,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +29,9 @@ CREATE TABLE `sR` (`bP` char(20)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20)) DEFAULT CHARSET = sjis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -47,9 +46,6 @@ CREATE TABLE `sPQ` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
#InnoDB
SELECT DISTINCT CHARSET(`bP`) FROM `sP`;
@@ -85,7 +81,7 @@ SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sU`;
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sU`;
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sU`;
-#Heap
+#MEMORY
SELECT DISTINCT CHARSET(`bP`) FROM `sV`;
SELECT DISTINCT CHARSET(`bP`) FROM `sW`;
SELECT DISTINCT CHARSET(`bP`) FROM `sX`;
@@ -102,23 +98,6 @@ SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sX`;
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sX`;
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sX`;
-#BDB
-SELECT DISTINCT CHARSET(`bP`) FROM `sPO`;
-SELECT DISTINCT CHARSET(`bP`) FROM `sPP`;
-SELECT DISTINCT CHARSET(`bP`) FROM `sPQ`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPO`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPO`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPO`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPO`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPP`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPP`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPP`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPP`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPQ`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPQ`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPQ`;
-SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPQ`;
-
drop table `sP`;
drop table `sQ`;
drop table `sR`;
@@ -128,6 +107,3 @@ drop table `sU`;
drop table `sV`;
drop table `sW`;
drop table `sX`;
-drop table `sPO`;
-drop table `sPP`;
-drop table `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_charset_ucs2.test b/mysql-test/suite/jp/t/jp_charset_ucs2.test
index 5183071033b..8427d721339 100644
--- a/mysql-test/suite/jp/t/jp_charset_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_charset_ucs2.test
@@ -1,4 +1,8 @@
+--source include/have_sjis.inc
--source include/have_ucs2.inc
+--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,9 +14,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
#
@@ -27,12 +28,9 @@ CREATE TABLE `T3` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ucs2 engine = MEMORY;
#Insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -114,31 +112,6 @@ INSERT INTO `T9` VALUES
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
- ('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-
-INSERT INTO `T11` VALUES
- ('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-
-INSERT INTO `T12` VALUES
- ('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-
#InnoDB
SELECT DISTINCT CHARSET(`C1`) FROM `T1`;
SELECT DISTINCT CHARSET(`C1`) FROM `T2`;
@@ -173,7 +146,7 @@ SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T6`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T6`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T6`;
-#Heap
+#MEMORY
SELECT DISTINCT CHARSET(`C1`) FROM `T7`;
SELECT DISTINCT CHARSET(`C1`) FROM `T8`;
SELECT DISTINCT CHARSET(`C1`) FROM `T9`;
@@ -190,23 +163,6 @@ SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T9`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T9`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T9`;
-#BDB
-SELECT DISTINCT CHARSET(`C1`) FROM `T10`;
-SELECT DISTINCT CHARSET(`C1`) FROM `T11`;
-SELECT DISTINCT CHARSET(`C1`) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T12`;
-
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -216,6 +172,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/t/jp_charset_ujis.test b/mysql-test/suite/jp/t/jp_charset_ujis.test
index de9ef318530..6e80162c2fa 100644
--- a/mysql-test/suite/jp/t/jp_charset_ujis.test
+++ b/mysql-test/suite/jp/t/jp_charset_ujis.test
@@ -1,4 +1,8 @@
+--source include/have_sjis.inc
+--source include/have_ucs2.inc
--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,9 +14,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 +29,9 @@ CREATE TABLE `T3` (`C1` char(20)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T4` (`C1` char(20)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = ujis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -49,9 +47,6 @@ CREATE TABLE `T12` (`C1` char(20)) DEFAULT CHARSET = ujis engine = bdb;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
#InnoDB
SELECT DISTINCT CHARSET(`C1`) FROM `T1`;
@@ -87,7 +82,7 @@ SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T6`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T6`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T6`;
-#Heap
+#MEMORY
SELECT DISTINCT CHARSET(`C1`) FROM `T7`;
SELECT DISTINCT CHARSET(`C1`) FROM `T8`;
SELECT DISTINCT CHARSET(`C1`) FROM `T9`;
@@ -104,23 +99,6 @@ SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T9`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T9`;
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T9`;
-#BDB
-SELECT DISTINCT CHARSET(`C1`) FROM `T10`;
-SELECT DISTINCT CHARSET(`C1`) FROM `T11`;
-SELECT DISTINCT CHARSET(`C1`) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T10`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T11`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T12`;
-SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T12`;
-
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -130,6 +108,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/t/jp_charset_utf8.test b/mysql-test/suite/jp/t/jp_charset_utf8.test
index 2d73daba42a..e02c035fb33 100644
--- a/mysql-test/suite/jp/t/jp_charset_utf8.test
+++ b/mysql-test/suite/jp/t/jp_charset_utf8.test
@@ -1,3 +1,9 @@
+--source include/have_sjis.inc
+--source include/have_ucs2.inc
+--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
+
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +14,6 @@ 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
#
@@ -26,12 +29,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = innodb
CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -47,9 +47,6 @@ CREATE TABLE `鐚器鐚` (`鐚o` char(20)) DEFAULT CHARSET = utf8 engine = bdb
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
#InnoDB
SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器`;
@@ -85,7 +82,7 @@ SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器`;
SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器`;
SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器`;
-#Heap
+#MEMORY
SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器`;
SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器`;
SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器`;
@@ -102,23 +99,6 @@ SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器`;
SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器`;
SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器`;
-#BDB
-SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(`鐚o`) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING utf8)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING utf8)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING utf8)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ucs2)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING sjis)) FROM `鐚器鐚`;
-SELECT DISTINCT CHARSET(CONVERT(`鐚o` USING ujis)) FROM `鐚器鐚`;
-
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
@@ -128,6 +108,3 @@ drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_convert_sjis.test b/mysql-test/suite/jp/t/jp_convert_sjis.test
index 93fa33029bf..ccbce35b1e0 100644
--- a/mysql-test/suite/jp/t/jp_convert_sjis.test
+++ b/mysql-test/suite/jp/t/jp_convert_sjis.test
@@ -1,3 +1,9 @@
+--source include/have_sjis.inc
+--source include/have_ucs2.inc
+--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
+
--character_set sjis
SET NAMES sjis;
SET character_set_database = sjis;
@@ -12,9 +18,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +30,9 @@ CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engi
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -48,9 +48,6 @@ CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis en
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
#InnoDB
SELECT `bP`, CONVERT(`bP` using utf8) FROM `sP`;
@@ -74,7 +71,7 @@ SELECT `bP`, CONVERT(`bP` using utf8) FROM `sU`;
SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sU`;
SELECT `bP`, CONVERT(`bP` using ujis) FROM `sU`;
-#Heap
+#MEMORY
SELECT `bP`, CONVERT(`bP` using utf8) FROM `sV`;
SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sV`;
SELECT `bP`, CONVERT(`bP` using ujis) FROM `sV`;
@@ -85,17 +82,6 @@ SELECT `bP`, CONVERT(`bP` using utf8) FROM `sX`;
SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sX`;
SELECT `bP`, CONVERT(`bP` using ujis) FROM `sX`;
-#BDB
-SELECT `bP`, CONVERT(`bP` using utf8) FROM `sPO`;
-SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sPO`;
-SELECT `bP`, CONVERT(`bP` using ujis) FROM `sPO`;
-SELECT `bP`, CONVERT(`bP` using utf8) FROM `sPP`;
-SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sPP`;
-SELECT `bP`, CONVERT(`bP` using ujis) FROM `sPP`;
-SELECT `bP`, CONVERT(`bP` using utf8) FROM `sPQ`;
-SELECT `bP`, CONVERT(`bP` using ucs2) FROM `sPQ`;
-SELECT `bP`, CONVERT(`bP` using ujis) FROM `sPQ`;
-
drop table `sP`;
drop table `sQ`;
drop table `sR`;
@@ -105,6 +91,3 @@ drop table `sU`;
drop table `sV`;
drop table `sW`;
drop table `sX`;
-drop table `sPO`;
-drop table `sPP`;
-drop table `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_convert_ucs2.test b/mysql-test/suite/jp/t/jp_convert_ucs2.test
index 88b0d0c9cba..cf79622373c 100644
--- a/mysql-test/suite/jp/t/jp_convert_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_convert_ucs2.test
@@ -1,4 +1,8 @@
+--source include/have_sjis.inc
--source include/have_ucs2.inc
+--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,9 +14,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
#
@@ -29,12 +30,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
#Insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -116,31 +114,6 @@ INSERT INTO `T9` VALUES
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
- ('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-
-INSERT INTO `T11` VALUES
- ('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-
-INSERT INTO `T12` VALUES
- ('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-
#InnoDB
SELECT `C1`, CONVERT(`C1` using utf8) FROM `T1`;
SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T1`;
@@ -165,7 +138,7 @@ SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T6`;
# The result will get garbled because jisx0212 is not included in sjis
SELECT `C1`, CONVERT(`C1` using sjis) FROM `T6`;
-#Heap
+#MEMORY
SELECT `C1`, CONVERT(`C1` using utf8) FROM `T7`;
SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T7`;
SELECT `C1`, CONVERT(`C1` using sjis) FROM `T7`;
@@ -177,18 +150,6 @@ SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T9`;
# The result will get garbled because jisx0212 is not included in sjis
SELECT `C1`, CONVERT(`C1` using sjis) FROM `T9`;
-#BDB
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T10`;
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T10`;
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T10`;
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T11`;
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T11`;
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T11`;
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T12`;
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T12`;
-# The result will get garbled because jisx0212 is not included in sjis
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T12`;
-
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -198,6 +159,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/t/jp_convert_ujis.test b/mysql-test/suite/jp/t/jp_convert_ujis.test
index d6303b66f34..f15fee492e5 100644
--- a/mysql-test/suite/jp/t/jp_convert_ujis.test
+++ b/mysql-test/suite/jp/t/jp_convert_ujis.test
@@ -1,4 +1,8 @@
+--source include/have_sjis.inc
+--source include/have_ucs2.inc
--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,9 +14,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 +29,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -49,9 +47,6 @@ CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis en
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
#InnoDB
SELECT `C1`, CONVERT(`C1` using utf8) FROM `T1`;
@@ -77,7 +72,7 @@ SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T6`;
# The result will get garbled because jisx0212 is not included in sjis
SELECT `C1`, CONVERT(`C1` using sjis) FROM `T6`;
-#Heap
+#MEMORY
SELECT `C1`, CONVERT(`C1` using utf8) FROM `T7`;
SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T7`;
SELECT `C1`, CONVERT(`C1` using sjis) FROM `T7`;
@@ -89,18 +84,6 @@ SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T9`;
# The result will get garbled because jisx0212 is not included in sjis
SELECT `C1`, CONVERT(`C1` using sjis) FROM `T9`;
-#BDB
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T10`;
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T10`;
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T10`;
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T11`;
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T11`;
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T11`;
-SELECT `C1`, CONVERT(`C1` using utf8) FROM `T12`;
-SELECT `C1`, CONVERT(`C1` using ucs2) FROM `T12`;
-# The result will get garbled because jisx0212 is not included in sjis
-SELECT `C1`, CONVERT(`C1` using sjis) FROM `T12`;
-
drop table `T1`;
drop table `T2`;
drop table `T3`;
@@ -110,6 +93,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/t/jp_convert_utf8.test b/mysql-test/suite/jp/t/jp_convert_utf8.test
index a687b0f06cb..7a230495e78 100644
--- a/mysql-test/suite/jp/t/jp_convert_utf8.test
+++ b/mysql-test/suite/jp/t/jp_convert_utf8.test
@@ -1,3 +1,8 @@
+--source include/have_sjis.inc
+--source include/have_ucs2.inc
+--source include/have_ujis.inc
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +13,6 @@ 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
#
@@ -26,12 +28,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -47,9 +46,6 @@ CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET =
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
#InnoDB
SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器`;
@@ -75,7 +71,7 @@ SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器`;
# The result will get garbled because jisx0212 is not included in sjis
SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器`;
-#Heap
+#MEMORY
SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器`;
SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器`;
SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器`;
@@ -87,18 +83,6 @@ SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器`;
# The result will get garbled because jisx0212 is not included in sjis
SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器鐚`;
-SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器鐚`;
-SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器鐚`;
-SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器鐚`;
-SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器鐚`;
-SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器鐚`;
-SELECT `鐚o`, CONVERT(`鐚o` using ujis) FROM `鐚器鐚`;
-SELECT `鐚o`, CONVERT(`鐚o` using ucs2) FROM `鐚器鐚`;
-# The result will get garbled because jisx0212 is not included in sjis
-SELECT `鐚o`, CONVERT(`鐚o` using sjis) FROM `鐚器鐚`;
-
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
@@ -108,6 +92,3 @@ drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_create_db_sjis.test b/mysql-test/suite/jp/t/jp_create_db_sjis.test
index ef66d338fce..7d231eaf22c 100644
--- a/mysql-test/suite/jp/t/jp_create_db_sjis.test
+++ b/mysql-test/suite/jp/t/jp_create_db_sjis.test
@@ -1,3 +1,4 @@
+--source include/have_sjis.inc
--character_set sjis
SET NAMES sjis;
SET character_set_database = sjis;
diff --git a/mysql-test/suite/jp/t/jp_create_db_utf8.test b/mysql-test/suite/jp/t/jp_create_db_utf8.test
index 4f8eb24cbe3..f8faf411ed0 100644
--- a/mysql-test/suite/jp/t/jp_create_db_utf8.test
+++ b/mysql-test/suite/jp/t/jp_create_db_utf8.test
@@ -1,3 +1,4 @@
+--source include/have_utf8.inc
--disable_warnings
drop database if exists `鐓鐓鐓鐔削`;
drop database if exists `ユ茯`;
diff --git a/mysql-test/suite/jp/t/jp_create_tbl_sjis.test b/mysql-test/suite/jp/t/jp_create_tbl_sjis.test
index 45c0b24388b..3a799958124 100644
--- a/mysql-test/suite/jp/t/jp_create_tbl_sjis.test
+++ b/mysql-test/suite/jp/t/jp_create_tbl_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
SET NAMES sjis;
SET character_set_database = sjis;
@@ -163,101 +165,29 @@ DROP TABLE `\\\`;
DROP TABLE `\\\`;
DROP TABLE `\\\`;
-CREATE TABLE `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
+CREATE TABLE `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
+CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
# Tables should be created
-CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `幹`(`更` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `亀`(`査` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=HEAP;
-
-DESC `臼`;
-DESC `臆`;
-DESC `崖`;
-DESC `幹`;
-DESC `亀`;
-DESC ``;
-DESC ``;
-DESC ``;
-DESC ``;
-DESC ``;
-DESC `\\\`;
-DESC `\\\`;
-DESC `\\\`;
-DESC `\\\`;
-DESC `\\\`;
-
-SHOW CREATE TABLE `臼`;
-SHOW CREATE TABLE `臆`;
-SHOW CREATE TABLE `崖`;
-SHOW CREATE TABLE `幹`;
-SHOW CREATE TABLE `亀`;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE `\\\`;
-SHOW CREATE TABLE `\\\`;
-SHOW CREATE TABLE `\\\`;
-SHOW CREATE TABLE `\\\`;
-SHOW CREATE TABLE `\\\`;
-
-DROP TABLE `臼`;
-DROP TABLE `臆`;
-DROP TABLE `崖`;
-DROP TABLE `幹`;
-DROP TABLE `亀`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-DROP TABLE `\\\`;
-
-CREATE TABLE `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `臼`(`橋` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `臆`(`祁` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-# Tables should be created
-CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `幹`(`更` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `亀`(`査` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
-CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=BDB;
+CREATE TABLE IF NOT EXISTS `崖`(`幻` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `\\\`(`\\\`char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `幹`(`更` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `亀`(`査` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
+CREATE TEMPORARY TABLE `\\\`(`\\\` char(1)) DEFAULT CHARSET = sjis engine=MEMORY;
DESC `臼`;
DESC `臆`;
diff --git a/mysql-test/suite/jp/t/jp_create_tbl_ucs2.test b/mysql-test/suite/jp/t/jp_create_tbl_ucs2.test
index 519697e3530..986cc50b10f 100644
--- a/mysql-test/suite/jp/t/jp_create_tbl_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_create_tbl_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
DROP TABLE IF EXISTS `アアア`;
@@ -169,101 +170,29 @@ DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
+CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
+CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
# Tables should be created
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ucs2 engine=HEAP;
-
-DESC `アアア`;
-DESC `イイイ`;
-DESC `ウウウ`;
-DESC `エエエ`;
-DESC `オオオ`;
-DESC `あああ`;
-DESC `いいい`;
-DESC `ううう`;
-DESC `えええ`;
-DESC `おおお`;
-DESC `龖龖龖`;
-DESC `龗龗龗`;
-DESC `龞龞龞`;
-DESC `龡龡龡`;
-DESC `龢龢龢`;
-
-SHOW CREATE TABLE `アアア`;
-SHOW CREATE TABLE `イイイ`;
-SHOW CREATE TABLE `ウウウ`;
-SHOW CREATE TABLE `エエエ`;
-SHOW CREATE TABLE `オオオ`;
-SHOW CREATE TABLE `あああ`;
-SHOW CREATE TABLE `いいい`;
-SHOW CREATE TABLE `ううう`;
-SHOW CREATE TABLE `えええ`;
-SHOW CREATE TABLE `おおお`;
-SHOW CREATE TABLE `龖龖龖`;
-SHOW CREATE TABLE `龗龗龗`;
-SHOW CREATE TABLE `龞龞龞`;
-SHOW CREATE TABLE `龡龡龡`;
-SHOW CREATE TABLE `龢龢龢`;
-
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `ウウウ`;
-DROP TABLE `エエエ`;
-DROP TABLE `オオオ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `ううう`;
-DROP TABLE `えええ`;
-DROP TABLE `おおお`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
-DROP TABLE `龞龞龞`;
-DROP TABLE `龡龡龡`;
-DROP TABLE `龢龢龢`;
-
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-# Tables should be created
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ucs2 engine=BDB;
+CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
+CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ucs2 engine=MEMORY;
DESC `アアア`;
DESC `イイイ`;
diff --git a/mysql-test/suite/jp/t/jp_create_tbl_ujis.test b/mysql-test/suite/jp/t/jp_create_tbl_ujis.test
index ac70facdce9..c82d11868bd 100644
--- a/mysql-test/suite/jp/t/jp_create_tbl_ujis.test
+++ b/mysql-test/suite/jp/t/jp_create_tbl_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
DROP TABLE IF EXISTS `アアア`;
@@ -169,101 +170,29 @@ DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
+CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
+CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
# Tables should be created
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ujis engine=HEAP;
-
-DESC `アアア`;
-DESC `イイイ`;
-DESC `ウウウ`;
-DESC `エエエ`;
-DESC `オオオ`;
-DESC `あああ`;
-DESC `いいい`;
-DESC `ううう`;
-DESC `えええ`;
-DESC `おおお`;
-DESC `龖龖龖`;
-DESC `龗龗龗`;
-DESC `龞龞龞`;
-DESC `龡龡龡`;
-DESC `龢龢龢`;
-
-SHOW CREATE TABLE `アアア`;
-SHOW CREATE TABLE `イイイ`;
-SHOW CREATE TABLE `ウウウ`;
-SHOW CREATE TABLE `エエエ`;
-SHOW CREATE TABLE `オオオ`;
-SHOW CREATE TABLE `あああ`;
-SHOW CREATE TABLE `いいい`;
-SHOW CREATE TABLE `ううう`;
-SHOW CREATE TABLE `えええ`;
-SHOW CREATE TABLE `おおお`;
-SHOW CREATE TABLE `龖龖龖`;
-SHOW CREATE TABLE `龗龗龗`;
-SHOW CREATE TABLE `龞龞龞`;
-SHOW CREATE TABLE `龡龡龡`;
-SHOW CREATE TABLE `龢龢龢`;
-
-DROP TABLE `アアア`;
-DROP TABLE `イイイ`;
-DROP TABLE `ウウウ`;
-DROP TABLE `エエエ`;
-DROP TABLE `オオオ`;
-DROP TABLE `あああ`;
-DROP TABLE `いいい`;
-DROP TABLE `ううう`;
-DROP TABLE `えええ`;
-DROP TABLE `おおお`;
-DROP TABLE `龖龖龖`;
-DROP TABLE `龗龗龗`;
-DROP TABLE `龞龞龞`;
-DROP TABLE `龡龡龡`;
-DROP TABLE `龢龢龢`;
-
-CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-# Tables should be created
-CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ujis engine=BDB;
-CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ujis engine=BDB;
+CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
+CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = ujis engine=MEMORY;
DESC `アアア`;
DESC `イイイ`;
diff --git a/mysql-test/suite/jp/t/jp_create_tbl_utf8.test b/mysql-test/suite/jp/t/jp_create_tbl_utf8.test
index 5c816eb169a..d079560a931 100644
--- a/mysql-test/suite/jp/t/jp_create_tbl_utf8.test
+++ b/mysql-test/suite/jp/t/jp_create_tbl_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
DROP TABLE IF EXISTS `鐔縁襲鐔`;
DROP TABLE IF EXISTS `鐔駕讐鐔`;
@@ -167,101 +169,29 @@ DROP TABLE `蘊蘊蘊`;
DROP TABLE `蘊♂勝蘊`;
DROP TABLE `蘊∫匠蘊`;
-CREATE TABLE `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
+CREATE TABLE `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
+CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
# Tables should be created
-CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `鐔器輯鐔`(`鐔刻醜鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `鐔居週鐔`(`鐔削什鐔` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `蘊♂勝蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-CREATE TEMPORARY TABLE `蘊∫匠蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
-
-DESC `鐔縁襲鐔`;
-DESC `鐔駕讐鐔`;
-DESC `鐔鰹蹴鐔`;
-DESC `鐔器輯鐔`;
-DESC `鐔居週鐔`;
-DESC ``;
-DESC ``;
-DESC ``;
-DESC ``;
-DESC ``;
-DESC `蘊蘊蘊`;
-DESC `蘊蘊蘊`;
-DESC `蘊蘊蘊`;
-DESC `蘊♂勝蘊`;
-DESC `蘊∫匠蘊`;
-
-SHOW CREATE TABLE `鐔縁襲鐔`;
-SHOW CREATE TABLE `鐔駕讐鐔`;
-SHOW CREATE TABLE `鐔鰹蹴鐔`;
-SHOW CREATE TABLE `鐔器輯鐔`;
-SHOW CREATE TABLE `鐔居週鐔`;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE ``;
-SHOW CREATE TABLE `蘊蘊蘊`;
-SHOW CREATE TABLE `蘊蘊蘊`;
-SHOW CREATE TABLE `蘊蘊蘊`;
-SHOW CREATE TABLE `蘊♂勝蘊`;
-SHOW CREATE TABLE `蘊∫匠蘊`;
-
-DROP TABLE `鐔縁襲鐔`;
-DROP TABLE `鐔駕讐鐔`;
-DROP TABLE `鐔鰹蹴鐔`;
-DROP TABLE `鐔器輯鐔`;
-DROP TABLE `鐔居週鐔`;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE ``;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊蘊蘊`;
-DROP TABLE `蘊♂勝蘊`;
-DROP TABLE `蘊∫匠蘊`;
-
-CREATE TABLE `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-# Tables should not be created because table names exist
-CREATE TABLE IF NOT EXISTS `鐔縁襲鐔`(`鐔駈酋鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `鐔駕讐鐔`(`鐔件酬鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-# Tables should be created
-CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `鐔器輯鐔`(`鐔刻醜鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `鐔居週鐔`(`鐔削什鐔` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `蘊♂勝蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
-CREATE TEMPORARY TABLE `蘊∫匠蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
+CREATE TABLE IF NOT EXISTS `鐔鰹蹴鐔`(`鐔醐集鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TABLE IF NOT EXISTS `蘊蘊蘊`(`筝筝筝`char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `鐔器輯鐔`(`鐔刻醜鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `鐔居週鐔`(`鐔削什鐔` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE ``(`` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `蘊♂勝蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
+CREATE TEMPORARY TABLE `蘊∫匠蘊`(`筝筝筝` char(1)) DEFAULT CHARSET = utf8 engine=MEMORY;
DESC `鐔縁襲鐔`;
DESC `鐔駕讐鐔`;
diff --git a/mysql-test/suite/jp/t/jp_enum_sjis-master.opt b/mysql-test/suite/jp/t/jp_enum_sjis-master.opt
new file mode 100644
index 00000000000..9b27aef9bf8
--- /dev/null
+++ b/mysql-test/suite/jp/t/jp_enum_sjis-master.opt
@@ -0,0 +1 @@
+--lower_case_table_names=0
diff --git a/mysql-test/suite/jp/t/jp_enum_sjis.test b/mysql-test/suite/jp/t/jp_enum_sjis.test
index 2ea1bf320e0..e1f22f6fe27 100644
--- a/mysql-test/suite/jp/t/jp_enum_sjis.test
+++ b/mysql-test/suite/jp/t/jp_enum_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,10 +11,7 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
-#drop table if exists t1;
+drop table if exists t1;
--enable_warnings
#
@@ -28,12 +27,9 @@ CREATE TABLE `sR` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET
CREATE TABLE `sS` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` ENUM('','',''), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` ENUM('\','\','\'), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES (''),(''),('');
INSERT INTO `sQ` VALUES (''),(''),('');
@@ -44,9 +40,6 @@ INSERT INTO `sU` VALUES ('\'),('\'),('\');
INSERT INTO `sV` VALUES (''),(''),('');
INSERT INTO `sW` VALUES (''),(''),('');
INSERT INTO `sX` VALUES ('\'),('\'),('\');
-INSERT INTO `sPO` VALUES (''),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),('');
-INSERT INTO `sPQ` VALUES ('\'),('\'),('\');
SELECT * FROM `sP`;
SELECT * FROM `sQ`;
@@ -57,9 +50,6 @@ SELECT * FROM `sU`;
SELECT * FROM `sV`;
SELECT * FROM `sW`;
SELECT * FROM `sX`;
-SELECT * FROM `sPO`;
-SELECT * FROM `sPP`;
-SELECT * FROM `sPQ`;
SHOW CREATE TABLE `sP`;
SHOW CREATE TABLE `sQ`;
@@ -70,9 +60,6 @@ SHOW CREATE TABLE `sU`;
SHOW CREATE TABLE `sV`;
SHOW CREATE TABLE `sW`;
SHOW CREATE TABLE `sX`;
-SHOW CREATE TABLE `sPO`;
-SHOW CREATE TABLE `sPP`;
-SHOW CREATE TABLE `sPQ`;
DESC `sP`;
DESC `sQ`;
@@ -83,9 +70,6 @@ DESC `sU`;
DESC `sV`;
DESC `sW`;
DESC `sX`;
-DESC `sPO`;
-DESC `sPP`;
-DESC `sPQ`;
#
# Test problem with enum values after the colum with NOT NULL restriction
@@ -100,9 +84,6 @@ ALTER TABLE `sU` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sV` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sW` ADD `bQ` CHAR(1) NOT NULL FIRST;
ALTER TABLE `sX` ADD `bQ` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `sPO` ADD `bQ` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `sPP` ADD `bQ` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `sPQ` ADD `bQ` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE `sP`;
SHOW CREATE TABLE `sQ`;
@@ -113,18 +94,16 @@ SHOW CREATE TABLE `sU`;
SHOW CREATE TABLE `sV`;
SHOW CREATE TABLE `sW`;
SHOW CREATE TABLE `sX`;
-SHOW CREATE TABLE `sPO`;
-SHOW CREATE TABLE `sPP`;
-SHOW CREATE TABLE `sPQ`;
#
# Test to distinguish 0x9353 and 0x9373
-# bug #6206 need to be fixed
+# Bug#6206 ENUMs are not case sensitive even if declared BINARY
+#
-#CREATE TABLE t1(c1 enum('S','s')) default character set = sjis;
-#INSERT INTO t1 VALUES('S'),('s');
-#SELECT * FROM t1 WHERE c1 LIKE 'S';
-#DROP TABLE t1;
+CREATE TABLE t1(c1 enum('S','s')) default character set = sjis;
+INSERT INTO t1 VALUES('S'),('s');
+SELECT * FROM t1 WHERE c1 LIKE 'S';
+DROP TABLE t1;
DESC `sP`;
DESC `sQ`;
@@ -135,9 +114,6 @@ DESC `sU`;
DESC `sV`;
DESC `sW`;
DESC `sX`;
-DESC `sPO`;
-DESC `sPP`;
-DESC `sPQ`;
DROP TABLE `sP`;
DROP TABLE `sQ`;
@@ -148,6 +124,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_enum_ucs2-master.opt b/mysql-test/suite/jp/t/jp_enum_ucs2-master.opt
new file mode 100644
index 00000000000..9b27aef9bf8
--- /dev/null
+++ b/mysql-test/suite/jp/t/jp_enum_ucs2-master.opt
@@ -0,0 +1 @@
+--lower_case_table_names=0
diff --git a/mysql-test/suite/jp/t/jp_enum_ucs2.test b/mysql-test/suite/jp/t/jp_enum_ucs2.test
index 2239ebab478..a3d7c47705d 100644
--- a/mysql-test/suite/jp/t/jp_enum_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_enum_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
# half-with kana is not handled correctly in 4.1
# because of bug #5174
@@ -14,9 +15,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
#
@@ -33,12 +31,9 @@ CREATE TABLE `T3` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHAR
CREATE TABLE `T4` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `T2` VALUES ('あ'),('い'),('う');
@@ -49,9 +44,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 ('龔'),('龖'),('龗');
SELECT * FROM `T1`;
SELECT * FROM `T2`;
@@ -62,9 +54,6 @@ SELECT * FROM `T6`;
SELECT * FROM `T7`;
SELECT * FROM `T8`;
SELECT * FROM `T9`;
-SELECT * FROM `T10`;
-SELECT * FROM `T11`;
-SELECT * FROM `T12`;
SHOW CREATE TABLE `T1`;
SHOW CREATE TABLE `T2`;
@@ -75,9 +64,6 @@ SHOW CREATE TABLE `T6`;
SHOW CREATE TABLE `T7`;
SHOW CREATE TABLE `T8`;
SHOW CREATE TABLE `T9`;
-SHOW CREATE TABLE `T10`;
-SHOW CREATE TABLE `T11`;
-SHOW CREATE TABLE `T12`;
DESC `T1`;
DESC `T2`;
@@ -88,52 +74,39 @@ DESC `T6`;
DESC `T7`;
DESC `T8`;
DESC `T9`;
-DESC `T10`;
-DESC `T11`;
-DESC `T12`;
#
# Test problem with enum values after the colum with NOT NULL restriction
-# Cannot test until the bug#7302 is fixed
+# Bug#7302 UCS2 data in ENUM field get truncated when new column is added
+ALTER TABLE `T1` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T2` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T3` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T4` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T5` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T6` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T7` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T8` ADD `C2` CHAR(1) NOT NULL FIRST;
+ALTER TABLE `T9` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T1` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T2` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T3` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T4` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T5` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T6` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T7` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T8` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T9` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T10` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T11` ADD `C2` CHAR(1) NOT NULL FIRST;
-#ALTER TABLE `T12` ADD `C2` CHAR(1) NOT NULL FIRST;
-
-#SHOW CREATE TABLE `T1`;
-#SHOW CREATE TABLE `T2`;
-#SHOW CREATE TABLE `T3`;
-#SHOW CREATE TABLE `T4`;
-#SHOW CREATE TABLE `T5`;
-#SHOW CREATE TABLE `T6`;
-#SHOW CREATE TABLE `T7`;
-#SHOW CREATE TABLE `T8`;
-#SHOW CREATE TABLE `T9`;
-#SHOW CREATE TABLE `T10`;
-#SHOW CREATE TABLE `T11`;
-#SHOW CREATE TABLE `T12`;
+SHOW CREATE TABLE `T1`;
+SHOW CREATE TABLE `T2`;
+SHOW CREATE TABLE `T3`;
+SHOW CREATE TABLE `T4`;
+SHOW CREATE TABLE `T5`;
+SHOW CREATE TABLE `T6`;
+SHOW CREATE TABLE `T7`;
+SHOW CREATE TABLE `T8`;
+SHOW CREATE TABLE `T9`;
-#DESC `T1`;
-#DESC `T2`;
-#DESC `T3`;
-#DESC `T4`;
-#DESC `T5`;
-#DESC `T6`;
-#DESC `T7`;
-#DESC `T8`;
-#DESC `T9`;
-#DESC `T10`;
-#DESC `T11`;
-#DESC `T12`;
+DESC `T1`;
+DESC `T2`;
+DESC `T3`;
+DESC `T4`;
+DESC `T5`;
+DESC `T6`;
+DESC `T7`;
+DESC `T8`;
+DESC `T9`;
DROP TABLE `T1`;
DROP TABLE `T2`;
@@ -144,6 +117,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_enum_ujis-master.opt b/mysql-test/suite/jp/t/jp_enum_ujis-master.opt
new file mode 100644
index 00000000000..9b27aef9bf8
--- /dev/null
+++ b/mysql-test/suite/jp/t/jp_enum_ujis-master.opt
@@ -0,0 +1 @@
+--lower_case_table_names=0
diff --git a/mysql-test/suite/jp/t/jp_enum_ujis.test b/mysql-test/suite/jp/t/jp_enum_ujis.test
index da41165aad0..17e41e0691e 100644
--- a/mysql-test/suite/jp/t/jp_enum_ujis.test
+++ b/mysql-test/suite/jp/t/jp_enum_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` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHAR
CREATE TABLE `T4` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) 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 ('龔'),('龖'),('龗');
SELECT * FROM `T1`;
SELECT * FROM `T2`;
@@ -57,9 +49,6 @@ SELECT * FROM `T6`;
SELECT * FROM `T7`;
SELECT * FROM `T8`;
SELECT * FROM `T9`;
-SELECT * FROM `T10`;
-SELECT * FROM `T11`;
-SELECT * FROM `T12`;
SHOW CREATE TABLE `T1`;
SHOW CREATE TABLE `T2`;
@@ -70,9 +59,6 @@ SHOW CREATE TABLE `T6`;
SHOW CREATE TABLE `T7`;
SHOW CREATE TABLE `T8`;
SHOW CREATE TABLE `T9`;
-SHOW CREATE TABLE `T10`;
-SHOW CREATE TABLE `T11`;
-SHOW CREATE TABLE `T12`;
DESC `T1`;
DESC `T2`;
@@ -83,9 +69,6 @@ DESC `T6`;
DESC `T7`;
DESC `T8`;
DESC `T9`;
-DESC `T10`;
-DESC `T11`;
-DESC `T12`;
#
# Test problem with enum values after the colum with NOT NULL restriction
@@ -100,9 +83,6 @@ ALTER TABLE `T6` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T7` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T8` ADD `C2` CHAR(1) NOT NULL FIRST;
ALTER TABLE `T9` ADD `C2` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `T10` ADD `C2` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `T11` ADD `C2` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `T12` ADD `C2` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE `T1`;
SHOW CREATE TABLE `T2`;
@@ -113,9 +93,6 @@ SHOW CREATE TABLE `T6`;
SHOW CREATE TABLE `T7`;
SHOW CREATE TABLE `T8`;
SHOW CREATE TABLE `T9`;
-SHOW CREATE TABLE `T10`;
-SHOW CREATE TABLE `T11`;
-SHOW CREATE TABLE `T12`;
DESC `T1`;
DESC `T2`;
@@ -126,9 +103,6 @@ DESC `T6`;
DESC `T7`;
DESC `T8`;
DESC `T9`;
-DESC `T10`;
-DESC `T11`;
-DESC `T12`;
DROP TABLE `T1`;
DROP TABLE `T2`;
@@ -139,6 +113,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_enum_utf8-master.opt b/mysql-test/suite/jp/t/jp_enum_utf8-master.opt
new file mode 100644
index 00000000000..9b27aef9bf8
--- /dev/null
+++ b/mysql-test/suite/jp/t/jp_enum_utf8-master.opt
@@ -0,0 +1 @@
+--lower_case_table_names=0
diff --git a/mysql-test/suite/jp/t/jp_enum_utf8.test b/mysql-test/suite/jp/t/jp_enum_utf8.test
index 4ce3576b604..ff5978da69c 100644
--- a/mysql-test/suite/jp/t/jp_enum_utf8.test
+++ b/mysql-test/suite/jp/t/jp_enum_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAUL
CREATE TABLE `鐚器` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` ENUM('鐔','鐔','鐔'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` ENUM('','',''), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` ENUM('蘊','蘊','蘊'), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔'),('鐔'),('鐔');
INSERT INTO `鐚器` VALUES (''),(''),('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊'),('蘊'),('蘊');
INSERT INTO `鐚器` VALUES ('鐔'),('鐔'),('鐔');
INSERT INTO `鐚器` VALUES (''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊'),('蘊'),('蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔'),('鐔'),('鐔');
-INSERT INTO `鐚器鐚` VALUES (''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊'),('蘊'),('蘊');
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
@@ -55,9 +48,6 @@ SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
-SELECT * FROM `鐚器鐚`;
-SELECT * FROM `鐚器鐚`;
-SELECT * FROM `鐚器鐚`;
SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
@@ -68,9 +58,6 @@ SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
-SHOW CREATE TABLE `鐚器鐚`;
-SHOW CREATE TABLE `鐚器鐚`;
-SHOW CREATE TABLE `鐚器鐚`;
DESC `鐚器`;
DESC `鐚器`;
@@ -81,9 +68,6 @@ DESC `鐚器`;
DESC `鐚器`;
DESC `鐚器`;
DESC `鐚器`;
-DESC `鐚器鐚`;
-DESC `鐚器鐚`;
-DESC `鐚器鐚`;
#
# Test problem with enum values after the colum with NOT NULL restriction
@@ -98,9 +82,6 @@ ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
ALTER TABLE `鐚器` ADD `鐚o` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `鐚器鐚` ADD `鐚o` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `鐚器鐚` ADD `鐚o` CHAR(1) NOT NULL FIRST;
-ALTER TABLE `鐚器鐚` ADD `鐚o` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
@@ -111,9 +92,6 @@ SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
SHOW CREATE TABLE `鐚器`;
-SHOW CREATE TABLE `鐚器鐚`;
-SHOW CREATE TABLE `鐚器鐚`;
-SHOW CREATE TABLE `鐚器鐚`;
DESC `鐚器`;
DESC `鐚器`;
@@ -124,9 +102,6 @@ DESC `鐚器`;
DESC `鐚器`;
DESC `鐚器`;
DESC `鐚器`;
-DESC `鐚器鐚`;
-DESC `鐚器鐚`;
-DESC `鐚器鐚`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -137,6 +112,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_insert_sjis.test b/mysql-test/suite/jp/t/jp_insert_sjis.test
index 0266ad1eaca..957798cb042 100644
--- a/mysql-test/suite/jp/t/jp_insert_sjis.test
+++ b/mysql-test/suite/jp/t/jp_insert_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
#InnoDB
SELECT INSERT(`bP`,1,1,'') FROM `sP`;
@@ -201,7 +194,7 @@ SELECT INSERT(`bP`,4,1,'\') FROM `sU`;
SELECT INSERT(`bP`,4,2,'\\' ) FROM `sU`;
SELECT INSERT(`bP`,5,1,'\') FROM `sU`;
-#HEAP
+#MEMORY
SELECT INSERT(`bP`,1,1,'') FROM `sV`;
SELECT INSERT(`bP`,1,2,'況') FROM `sV`;
SELECT INSERT(`bP`,1,3,'況') FROM `sV`;
@@ -278,68 +271,6 @@ SELECT INSERT(`bP`,4,1,'\') FROM `sX`;
SELECT INSERT(`bP`,4,2,'\\' ) FROM `sX`;
SELECT INSERT(`bP`,5,1,'\') FROM `sX`;
-#BDB
-SELECT INSERT(`bP`,1,1,'') FROM `sPO`;
-SELECT INSERT(`bP`,1,2,'況') FROM `sPO`;
-SELECT INSERT(`bP`,1,3,'況') FROM `sPO`;
-SELECT INSERT(`bP`,1,4,'況弦') FROM `sPO`;
-SELECT INSERT(`bP`,1,5,'況弦') FROM `sPO`;
-SELECT INSERT(`bP`,2,1,'') FROM `sPO`;
-SELECT INSERT(`bP`,2,2,'係') FROM `sPO`;
-SELECT INSERT(`bP`,2,3,'係') FROM `sPO`;
-SELECT INSERT(`bP`,2,4,'係杭') FROM `sPO`;
-SELECT INSERT(`bP`,3,1,'') FROM `sPO`;
-SELECT INSERT(`bP`,3,2,'弦') FROM `sPO`;
-SELECT INSERT(`bP`,3,3,'弦') FROM `sPO`;
-SELECT INSERT(`bP`,4,1,'') FROM `sPO`;
-SELECT INSERT(`bP`,4,2,'杭') FROM `sPO`;
-SELECT INSERT(`bP`,5,1,'') FROM `sPO`;
-SELECT INSERT(`bP`,1,1,'') FROM `sPP`;
-SELECT INSERT(`bP`,1,2,'') FROM `sPP`;
-SELECT INSERT(`bP`,1,3,'') FROM `sPP`;
-SELECT INSERT(`bP`,1,4,'') FROM `sPP`;
-SELECT INSERT(`bP`,1,5,'') FROM `sPP`;
-SELECT INSERT(`bP`,2,1,'') FROM `sPP`;
-SELECT INSERT(`bP`,2,2,'') FROM `sPP`;
-SELECT INSERT(`bP`,2,3,'') FROM `sPP`;
-SELECT INSERT(`bP`,2,4,'') FROM `sPP`;
-SELECT INSERT(`bP`,3,1,'') FROM `sPP`;
-SELECT INSERT(`bP`,3,2,'') FROM `sPP`;
-SELECT INSERT(`bP`,3,3,'') FROM `sPP`;
-SELECT INSERT(`bP`,4,1,'') FROM `sPP`;
-SELECT INSERT(`bP`,4,2,'') FROM `sPP`;
-SELECT INSERT(`bP`,5,1,'') FROM `sPP`;
-SELECT INSERT(`bP`,1,1,'@') FROM `sPP`;
-SELECT INSERT(`bP`,1,2,'@@') FROM `sPP`;
-SELECT INSERT(`bP`,1,3,'@@@') FROM `sPP`;
-SELECT INSERT(`bP`,1,4,'@@@@') FROM `sPP`;
-SELECT INSERT(`bP`,1,5,'@@@@@') FROM `sPP`;
-SELECT INSERT(`bP`,2,1,'@') FROM `sPP`;
-SELECT INSERT(`bP`,2,2,'@@') FROM `sPP`;
-SELECT INSERT(`bP`,2,3,'@@@') FROM `sPP`;
-SELECT INSERT(`bP`,2,4,'@@@@') FROM `sPP`;
-SELECT INSERT(`bP`,3,1,'@') FROM `sPP`;
-SELECT INSERT(`bP`,3,2,'@@') FROM `sPP`;
-SELECT INSERT(`bP`,3,3,'@@@') FROM `sPP`;
-SELECT INSERT(`bP`,4,1,'@') FROM `sPP`;
-SELECT INSERT(`bP`,4,2,'@@') FROM `sPP`;
-SELECT INSERT(`bP`,5,1,'@') FROM `sPP`;
-SELECT INSERT(`bP`,1,1,'\') FROM `sPQ`;
-SELECT INSERT(`bP`,1,2,'\\') FROM `sPQ`;
-SELECT INSERT(`bP`,1,3,'\\\') FROM `sPQ`;
-SELECT INSERT(`bP`,1,4,'\\\\') FROM `sPQ`;
-SELECT INSERT(`bP`,1,5,'\\\\\') FROM `sPQ`;
-SELECT INSERT(`bP`,2,1,'\') FROM `sPQ`;
-SELECT INSERT(`bP`,2,2,'\\') FROM `sPQ`;
-SELECT INSERT(`bP`,2,3,'\\\') FROM `sPQ`;
-SELECT INSERT(`bP`,2,4,'\\\\') FROM `sPQ`;
-SELECT INSERT(`bP`,3,1,'\') FROM `sPQ`;
-SELECT INSERT(`bP`,3,2,'\\') FROM `sPQ`;
-SELECT INSERT(`bP`,3,3,'\\\') FROM `sPQ`;
-SELECT INSERT(`bP`,4,1,'\') FROM `sPQ`;
-SELECT INSERT(`bP`,4,2,'\\') FROM `sPQ`;
-SELECT INSERT(`bP`,5,1,'\') FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -349,6 +280,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_insert_ucs2.test b/mysql-test/suite/jp/t/jp_insert_ucs2.test
index 9b0a02e57d8..0cf29ed3104 100644
--- a/mysql-test/suite/jp/t/jp_insert_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_insert_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -45,9 +40,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 INSERT(`C1`,1,1,'カ') FROM `T1`;
@@ -203,7 +195,7 @@ SELECT INSERT(`C1`,4,1,'丂') FROM `T6`;
SELECT INSERT(`C1`,4,2,'丂丂' ) FROM `T6`;
SELECT INSERT(`C1`,5,1,'丂') FROM `T6`;
-#HEAP
+#MEMORY
SELECT INSERT(`C1`,1,1,'カ') FROM `T7`;
SELECT INSERT(`C1`,1,2,'カカ') FROM `T7`;
SELECT INSERT(`C1`,1,3,'カカカ') FROM `T7`;
@@ -280,68 +272,6 @@ SELECT INSERT(`C1`,4,1,'丂') FROM `T9`;
SELECT INSERT(`C1`,4,2,'丂丂' ) FROM `T9`;
SELECT INSERT(`C1`,5,1,'丂') FROM `T9`;
-#BDB
-SELECT INSERT(`C1`,1,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,1,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,1,3,'カカカ') FROM `T10`;
-SELECT INSERT(`C1`,1,4,'カカカカ') FROM `T10`;
-SELECT INSERT(`C1`,1,5,'カカカカカ') FROM `T10`;
-SELECT INSERT(`C1`,2,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,2,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,2,3,'カカカ') FROM `T10`;
-SELECT INSERT(`C1`,2,4,'カカカカ') FROM `T10`;
-SELECT INSERT(`C1`,3,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,3,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,3,3,'カカカ') FROM `T10`;
-SELECT INSERT(`C1`,4,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,4,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,5,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,1,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,1,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,1,3,'かかか') FROM `T11`;
-SELECT INSERT(`C1`,1,4,'かかかか') FROM `T11`;
-SELECT INSERT(`C1`,1,5,'かかかかか') FROM `T11`;
-SELECT INSERT(`C1`,2,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,2,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,2,3,'かかか') FROM `T11`;
-SELECT INSERT(`C1`,2,4,'かかかか') FROM `T11`;
-SELECT INSERT(`C1`,3,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,3,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,3,3,'かかか') FROM `T11`;
-SELECT INSERT(`C1`,4,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,4,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,5,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,1,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,1,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,1,3,'   ') FROM `T11`;
-SELECT INSERT(`C1`,1,4,'    ') FROM `T11`;
-SELECT INSERT(`C1`,1,5,'     ') FROM `T11`;
-SELECT INSERT(`C1`,2,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,2,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,2,3,'   ') FROM `T11`;
-SELECT INSERT(`C1`,2,4,'    ') FROM `T11`;
-SELECT INSERT(`C1`,3,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,3,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,3,3,'   ') FROM `T11`;
-SELECT INSERT(`C1`,4,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,4,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,5,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,1,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,1,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,1,3,'丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,1,4,'丂丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,1,5,'丂丂丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,2,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,2,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,2,3,'丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,2,4,'丂丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,3,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,3,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,3,3,'丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,4,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,4,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,5,1,'丂') FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -351,6 +281,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_insert_ujis.test b/mysql-test/suite/jp/t/jp_insert_ujis.test
index 7b6d2838386..ba046df774d 100644
--- a/mysql-test/suite/jp/t/jp_insert_ujis.test
+++ b/mysql-test/suite/jp/t/jp_insert_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
#
@@ -29,12 +27,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 ('あいうえお');
@@ -45,9 +40,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 INSERT(`C1`,1,1,'カ') FROM `T1`;
@@ -203,7 +195,7 @@ SELECT INSERT(`C1`,4,1,'丂') FROM `T6`;
SELECT INSERT(`C1`,4,2,'丂丂' ) FROM `T6`;
SELECT INSERT(`C1`,5,1,'丂') FROM `T6`;
-#HEAP
+#MEMORY
SELECT INSERT(`C1`,1,1,'カ') FROM `T7`;
SELECT INSERT(`C1`,1,2,'カカ') FROM `T7`;
SELECT INSERT(`C1`,1,3,'カカカ') FROM `T7`;
@@ -280,68 +272,6 @@ SELECT INSERT(`C1`,4,1,'丂') FROM `T9`;
SELECT INSERT(`C1`,4,2,'丂丂' ) FROM `T9`;
SELECT INSERT(`C1`,5,1,'丂') FROM `T9`;
-#BDB
-SELECT INSERT(`C1`,1,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,1,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,1,3,'カカカ') FROM `T10`;
-SELECT INSERT(`C1`,1,4,'カカカカ') FROM `T10`;
-SELECT INSERT(`C1`,1,5,'カカカカカ') FROM `T10`;
-SELECT INSERT(`C1`,2,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,2,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,2,3,'カカカ') FROM `T10`;
-SELECT INSERT(`C1`,2,4,'カカカカ') FROM `T10`;
-SELECT INSERT(`C1`,3,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,3,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,3,3,'カカカ') FROM `T10`;
-SELECT INSERT(`C1`,4,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,4,2,'カカ') FROM `T10`;
-SELECT INSERT(`C1`,5,1,'カ') FROM `T10`;
-SELECT INSERT(`C1`,1,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,1,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,1,3,'かかか') FROM `T11`;
-SELECT INSERT(`C1`,1,4,'かかかか') FROM `T11`;
-SELECT INSERT(`C1`,1,5,'かかかかか') FROM `T11`;
-SELECT INSERT(`C1`,2,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,2,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,2,3,'かかか') FROM `T11`;
-SELECT INSERT(`C1`,2,4,'かかかか') FROM `T11`;
-SELECT INSERT(`C1`,3,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,3,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,3,3,'かかか') FROM `T11`;
-SELECT INSERT(`C1`,4,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,4,2,'かか') FROM `T11`;
-SELECT INSERT(`C1`,5,1,'か') FROM `T11`;
-SELECT INSERT(`C1`,1,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,1,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,1,3,'   ') FROM `T11`;
-SELECT INSERT(`C1`,1,4,'    ') FROM `T11`;
-SELECT INSERT(`C1`,1,5,'     ') FROM `T11`;
-SELECT INSERT(`C1`,2,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,2,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,2,3,'   ') FROM `T11`;
-SELECT INSERT(`C1`,2,4,'    ') FROM `T11`;
-SELECT INSERT(`C1`,3,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,3,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,3,3,'   ') FROM `T11`;
-SELECT INSERT(`C1`,4,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,4,2,'  ') FROM `T11`;
-SELECT INSERT(`C1`,5,1,' ') FROM `T11`;
-SELECT INSERT(`C1`,1,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,1,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,1,3,'丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,1,4,'丂丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,1,5,'丂丂丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,2,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,2,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,2,3,'丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,2,4,'丂丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,3,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,3,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,3,3,'丂丂丂') FROM `T12`;
-SELECT INSERT(`C1`,4,1,'丂') FROM `T12`;
-SELECT INSERT(`C1`,4,2,'丂丂') FROM `T12`;
-SELECT INSERT(`C1`,5,1,'丂') FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -351,6 +281,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_insert_utf8.test b/mysql-test/suite/jp/t/jp_insert_utf8.test
index ef6acb90063..464f3bca634 100644
--- a/mysql-test/suite/jp/t/jp_insert_utf8.test
+++ b/mysql-test/suite/jp/t/jp_insert_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
#InnoDB
SELECT INSERT(`鐚o`,1,1,'鐔') FROM `鐚器`;
@@ -200,7 +193,7 @@ SELECT INSERT(`鐚o`,4,1,'筝') FROM `鐚器`;
SELECT INSERT(`鐚o`,4,2,'筝筝' ) FROM `鐚器`;
SELECT INSERT(`鐚o`,5,1,'筝') FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT INSERT(`鐚o`,1,1,'鐔') FROM `鐚器`;
SELECT INSERT(`鐚o`,1,2,'鐔駈酋') FROM `鐚器`;
SELECT INSERT(`鐚o`,1,3,'鐔駈酋鐔') FROM `鐚器`;
@@ -277,68 +270,6 @@ SELECT INSERT(`鐚o`,4,1,'筝') FROM `鐚器`;
SELECT INSERT(`鐚o`,4,2,'筝筝' ) FROM `鐚器`;
SELECT INSERT(`鐚o`,5,1,'筝') FROM `鐚器`;
-#BDB
-SELECT INSERT(`鐚o`,1,1,'鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,2,'鐔駈酋') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,3,'鐔駈酋鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,4,'鐔駈酋鐔駈酋') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,5,'鐔駈酋鐔駈酋鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,1,'鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,2,'鐔駈酋') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,3,'鐔駈酋鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,4,'鐔駈酋鐔駈酋') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,1,'鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,2,'鐔駈酋') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,3,'鐔駈酋鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,1,'鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,2,'鐔駈酋') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,5,1,'鐔') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,3,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,4,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,5,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,3,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,4,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,3,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,5,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,3,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,4,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,5,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,3,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,4,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,3,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,2,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,5,1,'') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,1,'筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,2,'筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,3,'筝筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,4,'筝筝筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,1,5,'筝筝筝筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,1,'筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,2,'筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,3,'筝筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,2,4,'筝筝筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,1,'筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,2,'筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,3,3,'筝筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,1,'筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,4,2,'筝筝') FROM `鐚器鐚`;
-SELECT INSERT(`鐚o`,5,1,'筝') FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -348,6 +279,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_instr_sjis.test b/mysql-test/suite/jp/t/jp_instr_sjis.test
index c19b5f2b14c..626429f271b 100644
--- a/mysql-test/suite/jp/t/jp_instr_sjis.test
+++ b/mysql-test/suite/jp/t/jp_instr_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,7 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
--enable_warnings
#
@@ -25,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
@@ -41,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
#InnoDB
SELECT INSTR(`bP`,'') from `sP`;
@@ -85,7 +80,7 @@ SELECT INSTR(`bP`,'\') from `sU`;
SELECT INSTR(`bP`,'\') from `sU`;
SELECT INSTR(`bP`,'\') from `sU`;
-#HEAP
+#MEMORY
SELECT INSTR(`bP`,'') from `sV`;
SELECT INSTR(`bP`,'') from `sV`;
SELECT INSTR(`bP`,'') from `sV`;
@@ -105,26 +100,6 @@ SELECT INSTR(`bP`,'\') from `sX`;
SELECT INSTR(`bP`,'\') from `sX`;
SELECT INSTR(`bP`,'\') from `sX`;
-#BDB
-SELECT INSTR(`bP`,'') from `sPO`;
-SELECT INSTR(`bP`,'') from `sPO`;
-SELECT INSTR(`bP`,'') from `sPO`;
-SELECT INSTR(`bP`,'') from `sPO`;
-SELECT INSTR(`bP`,'') from `sPO`;
-SELECT INSTR(`bP`,'') from `sPO`;
-SELECT INSTR(`bP`,'') from `sPP`;
-SELECT INSTR(`bP`,'') from `sPP`;
-SELECT INSTR(`bP`,'') from `sPP`;
-SELECT INSTR(`bP`,'') from `sPP`;
-SELECT INSTR(`bP`,'') from `sPP`;
-SELECT INSTR(`bP`,'') from `sPP`;
-SELECT INSTR(`bP`,'\') from `sPQ`;
-SELECT INSTR(`bP`,'\') from `sPQ`;
-SELECT INSTR(`bP`,'\') from `sPQ`;
-SELECT INSTR(`bP`,'\') from `sPQ`;
-SELECT INSTR(`bP`,'\') from `sPQ`;
-SELECT INSTR(`bP`,'\') from `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -134,6 +109,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_instr_ucs2.test b/mysql-test/suite/jp/t/jp_instr_ucs2.test
index b8f83961e90..a074e31569f 100644
--- a/mysql-test/suite/jp/t/jp_instr_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_instr_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -27,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -43,9 +40,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 INSTR(`C1`,'ア') from `T1`;
@@ -87,7 +81,7 @@ SELECT INSTR(`C1`,'龞') from `T6`;
SELECT INSTR(`C1`,'龡') from `T6`;
SELECT INSTR(`C1`,'丂') from `T6`;
-#HEAP
+#MEMORY
SELECT INSTR(`C1`,'ア') from `T7`;
SELECT INSTR(`C1`,'イ') from `T7`;
SELECT INSTR(`C1`,'ウ') from `T7`;
@@ -107,26 +101,6 @@ SELECT INSTR(`C1`,'龞') from `T9`;
SELECT INSTR(`C1`,'龡') from `T9`;
SELECT INSTR(`C1`,'丂') from `T9`;
-#BDB
-SELECT INSTR(`C1`,'ア') from `T10`;
-SELECT INSTR(`C1`,'イ') from `T10`;
-SELECT INSTR(`C1`,'ウ') from `T10`;
-SELECT INSTR(`C1`,'エ') from `T10`;
-SELECT INSTR(`C1`,'オ') from `T10`;
-SELECT INSTR(`C1`,'ン') from `T10`;
-SELECT INSTR(`C1`,'あ') from `T11`;
-SELECT INSTR(`C1`,'い') from `T11`;
-SELECT INSTR(`C1`,'う') from `T11`;
-SELECT INSTR(`C1`,'え') from `T11`;
-SELECT INSTR(`C1`,'お') from `T11`;
-SELECT INSTR(`C1`,'ん') from `T11`;
-SELECT INSTR(`C1`,'龔') from `T12`;
-SELECT INSTR(`C1`,'龖') from `T12`;
-SELECT INSTR(`C1`,'龗') from `T12`;
-SELECT INSTR(`C1`,'龞') from `T12`;
-SELECT INSTR(`C1`,'龡') from `T12`;
-SELECT INSTR(`C1`,'丂') from `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -136,6 +110,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_instr_ujis.test b/mysql-test/suite/jp/t/jp_instr_ujis.test
index 696e1147372..b2dd233557b 100644
--- a/mysql-test/suite/jp/t/jp_instr_ujis.test
+++ b/mysql-test/suite/jp/t/jp_instr_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -26,12 +26,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -42,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 INSTR(`C1`,'ア') from `T1`;
@@ -86,7 +80,7 @@ SELECT INSTR(`C1`,'龞') from `T6`;
SELECT INSTR(`C1`,'龡') from `T6`;
SELECT INSTR(`C1`,'丂') from `T6`;
-#HEAP
+#MEMORY
SELECT INSTR(`C1`,'ア') from `T7`;
SELECT INSTR(`C1`,'イ') from `T7`;
SELECT INSTR(`C1`,'ウ') from `T7`;
@@ -106,26 +100,6 @@ SELECT INSTR(`C1`,'龞') from `T9`;
SELECT INSTR(`C1`,'龡') from `T9`;
SELECT INSTR(`C1`,'丂') from `T9`;
-#BDB
-SELECT INSTR(`C1`,'ア') from `T10`;
-SELECT INSTR(`C1`,'イ') from `T10`;
-SELECT INSTR(`C1`,'ウ') from `T10`;
-SELECT INSTR(`C1`,'エ') from `T10`;
-SELECT INSTR(`C1`,'オ') from `T10`;
-SELECT INSTR(`C1`,'ン') from `T10`;
-SELECT INSTR(`C1`,'あ') from `T11`;
-SELECT INSTR(`C1`,'い') from `T11`;
-SELECT INSTR(`C1`,'う') from `T11`;
-SELECT INSTR(`C1`,'え') from `T11`;
-SELECT INSTR(`C1`,'お') from `T11`;
-SELECT INSTR(`C1`,'ん') from `T11`;
-SELECT INSTR(`C1`,'龔') from `T12`;
-SELECT INSTR(`C1`,'龖') from `T12`;
-SELECT INSTR(`C1`,'龗') from `T12`;
-SELECT INSTR(`C1`,'龞') from `T12`;
-SELECT INSTR(`C1`,'龡') from `T12`;
-SELECT INSTR(`C1`,'丂') from `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -135,6 +109,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_instr_utf8.test b/mysql-test/suite/jp/t/jp_instr_utf8.test
index b25b72bc8d0..27c2cb24e6d 100644
--- a/mysql-test/suite/jp/t/jp_instr_utf8.test
+++ b/mysql-test/suite/jp/t/jp_instr_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,7 +10,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
--enable_warnings
#
@@ -24,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
@@ -40,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
#InnoDB
SELECT INSTR(`鐚o`,'鐔') from `鐚器`;
@@ -84,7 +79,7 @@ SELECT INSTR(`鐚o`,'蘊') from `鐚器`;
SELECT INSTR(`鐚o`,'蘊') from `鐚器`;
SELECT INSTR(`鐚o`,'筝') from `鐚器`;
-#HEAP
+#MEMORY
SELECT INSTR(`鐚o`,'鐔') from `鐚器`;
SELECT INSTR(`鐚o`,'鐔') from `鐚器`;
SELECT INSTR(`鐚o`,'鐔') from `鐚器`;
@@ -104,26 +99,6 @@ SELECT INSTR(`鐚o`,'蘊') from `鐚器`;
SELECT INSTR(`鐚o`,'蘊') from `鐚器`;
SELECT INSTR(`鐚o`,'筝') from `鐚器`;
-#BDB
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'鐔') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'鐓') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'蘊') from `鐚器鐚`;
-SELECT INSTR(`鐚o`,'筝') from `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -133,6 +108,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_join_sjis.test b/mysql-test/suite/jp/t/jp_join_sjis.test
index 30b23913929..031b6bc8c89 100644
--- a/mysql-test/suite/jp/t/jp_join_sjis.test
+++ b/mysql-test/suite/jp/t/jp_join_sjis.test
@@ -1,17 +1,25 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
-drop table if exists `sP`;
-drop table if exists `sQ`;
-drop table if exists `sR`;
-drop table if exists `sS`;
-drop table if exists `sT`;
-drop table if exists `sU`;
-drop table if exists `sV`;
-drop table if exists `sW`;
-drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
+DROP TABLE IF EXISTS `sPa`;
+DROP TABLE IF EXISTS `sPb`;
+DROP TABLE IF EXISTS `sQa`;
+DROP TABLE IF EXISTS `sQb`;
+DROP TABLE IF EXISTS `sRa`;
+DROP TABLE IF EXISTS `sRb`;
+DROP TABLE IF EXISTS `sSa`;
+DROP TABLE IF EXISTS `sSb`;
+DROP TABLE IF EXISTS `sTa`;
+DROP TABLE IF EXISTS `sTb`;
+DROP TABLE IF EXISTS `sUa`;
+DROP TABLE IF EXISTS `sUb`;
+DROP TABLE IF EXISTS `sVa`;
+DROP TABLE IF EXISTS `sVb`;
+DROP TABLE IF EXISTS `sWa`;
+DROP TABLE IF EXISTS `sWb`;
+DROP TABLE IF EXISTS `sXa`;
+DROP TABLE IF EXISTS `sXb`;
--enable_warnings
#
@@ -33,18 +41,12 @@ CREATE TABLE `sTa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine
CREATE TABLE `sTb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
+CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -69,12 +71,6 @@ INSERT INTO `sWa` VALUES (''),(''),('');
INSERT INTO `sWb` VALUES ('');
INSERT INTO `sXa` VALUES ('\'),('\'),('\');
INSERT INTO `sXb` VALUES ('\');
-INSERT INTO `sPOa` VALUES (''),(''),('');
-INSERT INTO `sPOb` VALUES ('');
-INSERT INTO `sPPa` VALUES (''),(''),('');
-INSERT INTO `sPPb` VALUES ('');
-INSERT INTO `sPQa` VALUES ('\'),('\'),('\');
-INSERT INTO `sPQb` VALUES ('\');
#Test for innodb
SELECT * FROM `sPa` JOIN `sPb`;
@@ -134,7 +130,7 @@ SELECT * FROM `sUa` LEFT JOIN `sUb` ON (`sUa`.`bP` = `sUb`.`bP`);
SELECT * FROM `sUb` RIGHT JOIN `sUa` USING (`bP`);
SELECT * FROM `sUb` RIGHT JOIN `sUa` ON (`sUa`.`bP` = `sUb`.`bP`);
-#Test for heap
+#Test for MEMORY
SELECT * FROM `sVa` JOIN `sVb`;
SELECT * FROM `sVa` INNER JOIN `sVb`;
SELECT * FROM `sVa` JOIN `sVb` USING (`bP`);
@@ -163,35 +159,6 @@ SELECT * FROM `sXa` LEFT JOIN `sXb` ON (`sXa`.`bP` = `sXb`.`bP`);
SELECT * FROM `sXb` RIGHT JOIN `sXa` USING (`bP`);
SELECT * FROM `sXb` RIGHT JOIN `sXa` ON (`sXa`.`bP` = `sXb`.`bP`);
-#Test for heap
-SELECT * FROM `sPOa` JOIN `sPOb`;
-SELECT * FROM `sPOa` INNER JOIN `sPOb`;
-SELECT * FROM `sPOa` JOIN `sPOb` USING (`bP`);
-SELECT * FROM `sPOa` INNER JOIN `sPOb` USING (`bP`);
-SELECT * FROM `sPOa` CROSS JOIN `sPOb`;
-SELECT * FROM `sPOa` LEFT JOIN `sPOb` USING (`bP`);
-SELECT * FROM `sPOa` LEFT JOIN `sPOb` ON (`sPOa`.`bP` = `sPOb`.`bP`);
-SELECT * FROM `sPOb` RIGHT JOIN `sPOa` USING (`bP`);
-SELECT * FROM `sPOb` RIGHT JOIN `sPOa` ON (`sPOa`.`bP` = `sPOb`.`bP`);
-SELECT * FROM `sPPa` JOIN `sPPb`;
-SELECT * FROM `sPPa` INNER JOIN `sPPb`;
-SELECT * FROM `sPPa` JOIN `sPPb` USING (`bP`);
-SELECT * FROM `sPPa` INNER JOIN `sPPb` USING (`bP`);
-SELECT * FROM `sPPa` CROSS JOIN `sPPb`;
-SELECT * FROM `sPPa` LEFT JOIN `sPPb` USING (`bP`);
-SELECT * FROM `sPPa` LEFT JOIN `sPPb` ON (`sPPa`.`bP` = `sPPb`.`bP`);
-SELECT * FROM `sPPb` RIGHT JOIN `sPPa` USING (`bP`);
-SELECT * FROM `sPPb` RIGHT JOIN `sPPa` ON (`sPPa`.`bP` = `sPPb`.`bP`);
-SELECT * FROM `sPQa` JOIN `sPQb`;
-SELECT * FROM `sPQa` INNER JOIN `sPQb`;
-SELECT * FROM `sPQa` JOIN `sPQb` USING (`bP`);
-SELECT * FROM `sPQa` INNER JOIN `sPQb` USING (`bP`);
-SELECT * FROM `sPQa` CROSS JOIN `sPQb`;
-SELECT * FROM `sPQa` LEFT JOIN `sPQb` USING (`bP`);
-SELECT * FROM `sPQa` LEFT JOIN `sPQb` ON (`sPQa`.`bP` = `sPQb`.`bP`);
-SELECT * FROM `sPQb` RIGHT JOIN `sPQa` USING (`bP`);
-SELECT * FROM `sPQb` RIGHT JOIN `sPQa` ON (`sPQa`.`bP` = `sPQb`.`bP`);
-
DROP TABLE `sPa`;
DROP TABLE `sPb`;
DROP TABLE `sQa`;
@@ -210,9 +177,3 @@ DROP TABLE `sWa`;
DROP TABLE `sWb`;
DROP TABLE `sXa`;
DROP TABLE `sXb`;
-DROP TABLE `sPOa`;
-DROP TABLE `sPOb`;
-DROP TABLE `sPPa`;
-DROP TABLE `sPPb`;
-DROP TABLE `sPQa`;
-DROP TABLE `sPQb`;
diff --git a/mysql-test/suite/jp/t/jp_join_ucs2.test b/mysql-test/suite/jp/t/jp_join_ucs2.test
index 27e49203dd2..2c3a9c241a2 100644
--- a/mysql-test/suite/jp/t/jp_join_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_join_ucs2.test
@@ -1,18 +1,25 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
--enable_warnings
#
@@ -29,24 +36,18 @@ CREATE TABLE `T2a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine
CREATE TABLE `T2b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T3a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T3b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
+CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MyISAM;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -71,12 +72,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
#Test for innodb
SELECT * FROM `T1a` JOIN `T1b`;
@@ -136,7 +131,7 @@ SELECT * FROM `T6a` LEFT JOIN `T6b` ON (`T6a`.`C1` = `T6b`.`C1`);
SELECT * FROM `T6b` RIGHT JOIN `T6a` USING (`C1`);
SELECT * FROM `T6b` RIGHT JOIN `T6a` ON (`T6a`.`C1` = `T6b`.`C1`);
-#Test for heap
+#Test for MEMORY
SELECT * FROM `T7a` JOIN `T7b`;
SELECT * FROM `T7a` INNER JOIN `T7b`;
SELECT * FROM `T7a` JOIN `T7b` USING (`C1`);
@@ -165,35 +160,6 @@ SELECT * FROM `T9a` LEFT JOIN `T9b` ON (`T9a`.`C1` = `T9b`.`C1`);
SELECT * FROM `T9b` RIGHT JOIN `T9a` USING (`C1`);
SELECT * FROM `T9b` RIGHT JOIN `T9a` ON (`T9a`.`C1` = `T9b`.`C1`);
-#Test for heap
-SELECT * FROM `T10a` JOIN `T10b`;
-SELECT * FROM `T10a` INNER JOIN `T10b`;
-SELECT * FROM `T10a` JOIN `T10b` USING (`C1`);
-SELECT * FROM `T10a` INNER JOIN `T10b` USING (`C1`);
-SELECT * FROM `T10a` CROSS JOIN `T10b`;
-SELECT * FROM `T10a` LEFT JOIN `T10b` USING (`C1`);
-SELECT * FROM `T10a` LEFT JOIN `T10b` ON (`T10a`.`C1` = `T10b`.`C1`);
-SELECT * FROM `T10b` RIGHT JOIN `T10a` USING (`C1`);
-SELECT * FROM `T10b` RIGHT JOIN `T10a` ON (`T10a`.`C1` = `T10b`.`C1`);
-SELECT * FROM `T11a` JOIN `T11b`;
-SELECT * FROM `T11a` INNER JOIN `T11b`;
-SELECT * FROM `T11a` JOIN `T11b` USING (`C1`);
-SELECT * FROM `T11a` INNER JOIN `T11b` USING (`C1`);
-SELECT * FROM `T11a` CROSS JOIN `T11b`;
-SELECT * FROM `T11a` LEFT JOIN `T11b` USING (`C1`);
-SELECT * FROM `T11a` LEFT JOIN `T11b` ON (`T11a`.`C1` = `T11b`.`C1`);
-SELECT * FROM `T11b` RIGHT JOIN `T11a` USING (`C1`);
-SELECT * FROM `T11b` RIGHT JOIN `T11a` ON (`T11a`.`C1` = `T11b`.`C1`);
-SELECT * FROM `T12a` JOIN `T12b`;
-SELECT * FROM `T12a` INNER JOIN `T12b`;
-SELECT * FROM `T12a` JOIN `T12b` USING (`C1`);
-SELECT * FROM `T12a` INNER JOIN `T12b` USING (`C1`);
-SELECT * FROM `T12a` CROSS JOIN `T12b`;
-SELECT * FROM `T12a` LEFT JOIN `T12b` USING (`C1`);
-SELECT * FROM `T12a` LEFT JOIN `T12b` ON (`T12a`.`C1` = `T12b`.`C1`);
-SELECT * FROM `T12b` RIGHT JOIN `T12a` USING (`C1`);
-SELECT * FROM `T12b` RIGHT JOIN `T12a` ON (`T12a`.`C1` = `T12b`.`C1`);
-
DROP TABLE `T1a`;
DROP TABLE `T1b`;
DROP TABLE `T2a`;
@@ -212,9 +178,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
diff --git a/mysql-test/suite/jp/t/jp_join_ujis.test b/mysql-test/suite/jp/t/jp_join_ujis.test
index 079f260cc26..973c46695c3 100644
--- a/mysql-test/suite/jp/t/jp_join_ujis.test
+++ b/mysql-test/suite/jp/t/jp_join_ujis.test
@@ -1,18 +1,25 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
--enable_warnings
#
@@ -28,24 +35,18 @@ CREATE TABLE `T2a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine
CREATE TABLE `T2b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T3a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T3b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = innodb;
+CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = memory;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -70,12 +71,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
#Test for innodb
SELECT * FROM `T1a` JOIN `T1b`;
@@ -135,7 +130,7 @@ SELECT * FROM `T6a` LEFT JOIN `T6b` ON (`T6a`.`C1` = `T6b`.`C1`);
SELECT * FROM `T6b` RIGHT JOIN `T6a` USING (`C1`);
SELECT * FROM `T6b` RIGHT JOIN `T6a` ON (`T6a`.`C1` = `T6b`.`C1`);
-#Test for heap
+#Test for MEMORY
SELECT * FROM `T7a` JOIN `T7b`;
SELECT * FROM `T7a` INNER JOIN `T7b`;
SELECT * FROM `T7a` JOIN `T7b` USING (`C1`);
@@ -164,35 +159,6 @@ SELECT * FROM `T9a` LEFT JOIN `T9b` ON (`T9a`.`C1` = `T9b`.`C1`);
SELECT * FROM `T9b` RIGHT JOIN `T9a` USING (`C1`);
SELECT * FROM `T9b` RIGHT JOIN `T9a` ON (`T9a`.`C1` = `T9b`.`C1`);
-#Test for heap
-SELECT * FROM `T10a` JOIN `T10b`;
-SELECT * FROM `T10a` INNER JOIN `T10b`;
-SELECT * FROM `T10a` JOIN `T10b` USING (`C1`);
-SELECT * FROM `T10a` INNER JOIN `T10b` USING (`C1`);
-SELECT * FROM `T10a` CROSS JOIN `T10b`;
-SELECT * FROM `T10a` LEFT JOIN `T10b` USING (`C1`);
-SELECT * FROM `T10a` LEFT JOIN `T10b` ON (`T10a`.`C1` = `T10b`.`C1`);
-SELECT * FROM `T10b` RIGHT JOIN `T10a` USING (`C1`);
-SELECT * FROM `T10b` RIGHT JOIN `T10a` ON (`T10a`.`C1` = `T10b`.`C1`);
-SELECT * FROM `T11a` JOIN `T11b`;
-SELECT * FROM `T11a` INNER JOIN `T11b`;
-SELECT * FROM `T11a` JOIN `T11b` USING (`C1`);
-SELECT * FROM `T11a` INNER JOIN `T11b` USING (`C1`);
-SELECT * FROM `T11a` CROSS JOIN `T11b`;
-SELECT * FROM `T11a` LEFT JOIN `T11b` USING (`C1`);
-SELECT * FROM `T11a` LEFT JOIN `T11b` ON (`T11a`.`C1` = `T11b`.`C1`);
-SELECT * FROM `T11b` RIGHT JOIN `T11a` USING (`C1`);
-SELECT * FROM `T11b` RIGHT JOIN `T11a` ON (`T11a`.`C1` = `T11b`.`C1`);
-SELECT * FROM `T12a` JOIN `T12b`;
-SELECT * FROM `T12a` INNER JOIN `T12b`;
-SELECT * FROM `T12a` JOIN `T12b` USING (`C1`);
-SELECT * FROM `T12a` INNER JOIN `T12b` USING (`C1`);
-SELECT * FROM `T12a` CROSS JOIN `T12b`;
-SELECT * FROM `T12a` LEFT JOIN `T12b` USING (`C1`);
-SELECT * FROM `T12a` LEFT JOIN `T12b` ON (`T12a`.`C1` = `T12b`.`C1`);
-SELECT * FROM `T12b` RIGHT JOIN `T12a` USING (`C1`);
-SELECT * FROM `T12b` RIGHT JOIN `T12a` ON (`T12a`.`C1` = `T12b`.`C1`);
-
DROP TABLE `T1a`;
DROP TABLE `T1b`;
DROP TABLE `T2a`;
@@ -211,9 +177,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
diff --git a/mysql-test/suite/jp/t/jp_join_utf8.test b/mysql-test/suite/jp/t/jp_join_utf8.test
index 0b2f033f8bb..d4e25691866 100644
--- a/mysql-test/suite/jp/t/jp_join_utf8.test
+++ b/mysql-test/suite/jp/t/jp_join_utf8.test
@@ -1,16 +1,24 @@
+--source include/have_utf8.inc
+--source include/have_innodb.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 `鐚器鐚`;
+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
#
@@ -20,30 +28,24 @@ drop table if exists `鐚器鐚`;
SET NAMES utf8;
SET character_set_database = utf8;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -68,14 +70,8 @@ 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
+#Test for InnoDB
SELECT * FROM `鐚器a` JOIN `鐚器b`;
SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
@@ -133,7 +129,7 @@ SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
-#Test for heap
+#Test for MEMORY
SELECT * FROM `鐚器a` JOIN `鐚器b`;
SELECT * FROM `鐚器a` INNER JOIN `鐚器b`;
SELECT * FROM `鐚器a` JOIN `鐚器b` USING (`鐚o`);
@@ -162,35 +158,6 @@ SELECT * FROM `鐚器a` LEFT JOIN `鐚器b` ON (`鐚器a`.`鐚o` = `鐚器b`.`
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` USING (`鐚o`);
SELECT * FROM `鐚器b` RIGHT JOIN `鐚器a` ON (`鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
-#Test for heap
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` CROSS JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` USING (`鐚o`);
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` CROSS JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` USING (`鐚o`);
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` INNER JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` CROSS JOIN `鐚器鐚b`;
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` USING (`鐚o`);
-SELECT * FROM `鐚器鐚a` LEFT JOIN `鐚器鐚b` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` USING (`鐚o`);
-SELECT * FROM `鐚器鐚b` RIGHT JOIN `鐚器鐚a` ON (`鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-
DROP TABLE `鐚器a`;
DROP TABLE `鐚器b`;
DROP TABLE `鐚器a`;
@@ -209,9 +176,3 @@ 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`;
diff --git a/mysql-test/suite/jp/t/jp_left_sjis.test b/mysql-test/suite/jp/t/jp_left_sjis.test
index 5d69d9892e2..0d718ccc3a0 100644
--- a/mysql-test/suite/jp/t/jp_left_sjis.test
+++ b/mysql-test/suite/jp/t/jp_left_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
#InnoDB
SELECT `bP`, LEFT(`bP`,0) FROM `sP`;
@@ -87,7 +80,7 @@ SELECT `bP`, LEFT(`bP`,3) FROM `sU`;
SELECT `bP`, LEFT(`bP`,4) FROM `sU`;
SELECT `bP`, LEFT(`bP`,5) FROM `sU`;
-#HEAP
+#MEMORY
SELECT `bP`, LEFT(`bP`,0) FROM `sV`;
SELECT `bP`, LEFT(`bP`,1) FROM `sV`;
SELECT `bP`, LEFT(`bP`,2) FROM `sV`;
@@ -107,26 +100,6 @@ SELECT `bP`, LEFT(`bP`,3) FROM `sX`;
SELECT `bP`, LEFT(`bP`,4) FROM `sX`;
SELECT `bP`, LEFT(`bP`,5) FROM `sX`;
-#BDB
-SELECT `bP`, LEFT(`bP`,0) FROM `sPO`;
-SELECT `bP`, LEFT(`bP`,1) FROM `sPO`;
-SELECT `bP`, LEFT(`bP`,2) FROM `sPO`;
-SELECT `bP`, LEFT(`bP`,3) FROM `sPO`;
-SELECT `bP`, LEFT(`bP`,4) FROM `sPO`;
-SELECT `bP`, LEFT(`bP`,5) FROM `sPO`;
-SELECT `bP`, LEFT(`bP`,0) FROM `sPP`;
-SELECT `bP`, LEFT(`bP`,1) FROM `sPP`;
-SELECT `bP`, LEFT(`bP`,2) FROM `sPP`;
-SELECT `bP`, LEFT(`bP`,3) FROM `sPP`;
-SELECT `bP`, LEFT(`bP`,4) FROM `sPP`;
-SELECT `bP`, LEFT(`bP`,5) FROM `sPP`;
-SELECT `bP`, LEFT(`bP`,0) FROM `sPQ`;
-SELECT `bP`, LEFT(`bP`,1) FROM `sPQ`;
-SELECT `bP`, LEFT(`bP`,2) FROM `sPQ`;
-SELECT `bP`, LEFT(`bP`,3) FROM `sPQ`;
-SELECT `bP`, LEFT(`bP`,4) FROM `sPQ`;
-SELECT `bP`, LEFT(`bP`,5) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -136,6 +109,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_left_ucs2.test b/mysql-test/suite/jp/t/jp_left_ucs2.test
index 59d10b7d736..3d55283c6ac 100644
--- a/mysql-test/suite/jp/t/jp_left_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_left_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
@@ -45,9 +40,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 `C1`, LEFT(`C1`,0) FROM `T1`;
@@ -89,7 +81,7 @@ SELECT `C1`, LEFT(`C1`,3) FROM `T6`;
SELECT `C1`, LEFT(`C1`,4) FROM `T6`;
SELECT `C1`, LEFT(`C1`,5) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, LEFT(`C1`,0) FROM `T7`;
SELECT `C1`, LEFT(`C1`,1) FROM `T7`;
SELECT `C1`, LEFT(`C1`,2) FROM `T7`;
@@ -109,26 +101,6 @@ SELECT `C1`, LEFT(`C1`,3) FROM `T9`;
SELECT `C1`, LEFT(`C1`,4) FROM `T9`;
SELECT `C1`, LEFT(`C1`,5) FROM `T9`;
-#BDB
-SELECT `C1`, LEFT(`C1`,0) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,1) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,2) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,3) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,4) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,5) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,0) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,1) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,2) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,3) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,4) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,5) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,0) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,1) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,2) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,3) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,4) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,5) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -138,6 +110,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_left_ujis.test b/mysql-test/suite/jp/t/jp_left_ujis.test
index 718639cd8a4..04619fa26bb 100644
--- a/mysql-test/suite/jp/t/jp_left_ujis.test
+++ b/mysql-test/suite/jp/t/jp_left_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 `C1`, LEFT(`C1`,0) FROM `T1`;
@@ -88,7 +80,7 @@ SELECT `C1`, LEFT(`C1`,3) FROM `T6`;
SELECT `C1`, LEFT(`C1`,4) FROM `T6`;
SELECT `C1`, LEFT(`C1`,5) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, LEFT(`C1`,0) FROM `T7`;
SELECT `C1`, LEFT(`C1`,1) FROM `T7`;
SELECT `C1`, LEFT(`C1`,2) FROM `T7`;
@@ -108,26 +100,6 @@ SELECT `C1`, LEFT(`C1`,3) FROM `T9`;
SELECT `C1`, LEFT(`C1`,4) FROM `T9`;
SELECT `C1`, LEFT(`C1`,5) FROM `T9`;
-#BDB
-SELECT `C1`, LEFT(`C1`,0) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,1) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,2) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,3) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,4) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,5) FROM `T10`;
-SELECT `C1`, LEFT(`C1`,0) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,1) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,2) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,3) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,4) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,5) FROM `T11`;
-SELECT `C1`, LEFT(`C1`,0) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,1) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,2) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,3) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,4) FROM `T12`;
-SELECT `C1`, LEFT(`C1`,5) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -137,6 +109,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_left_utf8.test b/mysql-test/suite/jp/t/jp_left_utf8.test
index f9c99718e0f..0f77c1709d4 100644
--- a/mysql-test/suite/jp/t/jp_left_utf8.test
+++ b/mysql-test/suite/jp/t/jp_left_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
#InnoDB
SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器`;
@@ -86,7 +79,7 @@ SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器`;
SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器`;
SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器`;
SELECT `鐚o`, LEFT(`鐚o`,1) FROM `鐚器`;
SELECT `鐚o`, LEFT(`鐚o`,2) FROM `鐚器`;
@@ -106,26 +99,6 @@ SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器`;
SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器`;
SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, LEFT(`鐚o`,5) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -135,6 +108,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_length_sjis.test b/mysql-test/suite/jp/t/jp_length_sjis.test
index 7023891b7f0..acc6be975ae 100644
--- a/mysql-test/suite/jp/t/jp_length_sjis.test
+++ b/mysql-test/suite/jp/t/jp_length_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
#InnoDB
SELECT `bP`, LENGTH(`bP`) FROM `sP`;
@@ -57,16 +50,11 @@ SELECT `bP`, LENGTH(`bP`) FROM `sS`;
SELECT `bP`, LENGTH(`bP`) FROM `sT`;
SELECT `bP`, LENGTH(`bP`) FROM `sU`;
-#HEAP
+#MEMORY
SELECT `bP`, LENGTH(`bP`) FROM `sV`;
SELECT `bP`, LENGTH(`bP`) FROM `sW`;
SELECT `bP`, LENGTH(`bP`) FROM `sX`;
-#BDB
-SELECT `bP`, LENGTH(`bP`) FROM `sPO`;
-SELECT `bP`, LENGTH(`bP`) FROM `sPP`;
-SELECT `bP`, LENGTH(`bP`) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -76,6 +64,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_length_ucs2.test b/mysql-test/suite/jp/t/jp_length_ucs2.test
index 9951c9b6cd1..41fd81713bf 100644
--- a/mysql-test/suite/jp/t/jp_length_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_length_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
@@ -45,9 +40,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 `C1`, LENGTH(`C1`) FROM `T1`;
@@ -59,16 +51,11 @@ SELECT `C1`, LENGTH(`C1`) FROM `T4`;
SELECT `C1`, LENGTH(`C1`) FROM `T5`;
SELECT `C1`, LENGTH(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, LENGTH(`C1`) FROM `T7`;
SELECT `C1`, LENGTH(`C1`) FROM `T8`;
SELECT `C1`, LENGTH(`C1`) FROM `T9`;
-#BDB
-SELECT `C1`, LENGTH(`C1`) FROM `T10`;
-SELECT `C1`, LENGTH(`C1`) FROM `T11`;
-SELECT `C1`, LENGTH(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -78,6 +65,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_length_ujis.test b/mysql-test/suite/jp/t/jp_length_ujis.test
index ac3aef2c768..33a0baa43a9 100644
--- a/mysql-test/suite/jp/t/jp_length_ujis.test
+++ b/mysql-test/suite/jp/t/jp_length_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 `C1`, LENGTH(`C1`) FROM `T1`;
@@ -58,16 +50,11 @@ SELECT `C1`, LENGTH(`C1`) FROM `T4`;
SELECT `C1`, LENGTH(`C1`) FROM `T5`;
SELECT `C1`, LENGTH(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, LENGTH(`C1`) FROM `T7`;
SELECT `C1`, LENGTH(`C1`) FROM `T8`;
SELECT `C1`, LENGTH(`C1`) FROM `T9`;
-#BDB
-SELECT `C1`, LENGTH(`C1`) FROM `T10`;
-SELECT `C1`, LENGTH(`C1`) FROM `T11`;
-SELECT `C1`, LENGTH(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -77,6 +64,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_length_utf8.test b/mysql-test/suite/jp/t/jp_length_utf8.test
index 5c5021f37be..ffb5b4fdb5b 100644
--- a/mysql-test/suite/jp/t/jp_length_utf8.test
+++ b/mysql-test/suite/jp/t/jp_length_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
#InnoDB
SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
@@ -56,16 +49,11 @@ SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`, LENGTH(`鐚o`) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -75,6 +63,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_like_sjis.test b/mysql-test/suite/jp/t/jp_like_sjis.test
index 5c41b9ff7ef..6cb6092852a 100644
--- a/mysql-test/suite/jp/t/jp_like_sjis.test
+++ b/mysql-test/suite/jp/t/jp_like_sjis.test
@@ -1,4 +1,5 @@
--character_set sjis
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `sP`;
drop table if exists `sQ`;
@@ -9,9 +10,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +25,9 @@ CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engi
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -47,9 +42,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
#InnoDB
SELECT * FROM `sP` WHERE `bP` LIKE ' %';
@@ -103,7 +95,7 @@ SELECT * FROM `sU` WHERE `bP` LIKE '\\\\\\\\\\\\\\\\\\\\
SELECT * FROM `sU` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\\%';
SELECT * FROM `sU` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\\';
-#Heap
+#MEMORY
SELECT * FROM `sV` WHERE `bP` LIKE ' %';
SELECT * FROM `sV` WHERE `bP` LIKE '% %';
SELECT * FROM `sV` WHERE `bP` LIKE '% ';
@@ -128,31 +120,6 @@ SELECT * FROM `sX` WHERE `bP` LIKE '%\';
SELECT * FROM `sX` WHERE `bP` LIKE '\\\\\\\\\\\\\\\\\\\\%';
SELECT * FROM `sX` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\\%';
SELECT * FROM `sX` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\\';
-#BDB
-SELECT * FROM `sPO` WHERE `bP` LIKE ' %';
-SELECT * FROM `sPO` WHERE `bP` LIKE '% %';
-SELECT * FROM `sPO` WHERE `bP` LIKE '% ';
-SELECT * FROM `sPO` WHERE `bP` LIKE '%';
-SELECT * FROM `sPO` WHERE `bP` LIKE '%忤%';
-SELECT * FROM `sPO` WHERE `bP` LIKE '%';
-#SELECT * FROM `sPO` WHERE `bP` LIKE '葦桶患況弦沙悉梢%';
-#SELECT * FROM `sPO` WHERE `bP` LIKE '%葦桶患況弦沙悉梢%';
-SELECT * FROM `sPO` WHERE `bP` LIKE '%葦桶患況弦沙悉梢';
-SELECT * FROM `sPP` WHERE `bP` LIKE '@%';
-SELECT * FROM `sPP` WHERE `bP` LIKE '%@%';
-SELECT * FROM `sPP` WHERE `bP` LIKE '%@';
-SELECT * FROM `sPP` WHERE `bP` LIKE '%';
-SELECT * FROM `sPP` WHERE `bP` LIKE '%%';
-SELECT * FROM `sPP` WHERE `bP` LIKE '%';
-#SELECT * FROM `sPP` WHERE `bP` LIKE 'E%';
-#SELECT * FROM `sPP` WHERE `bP` LIKE '%E%';
-#SELECT * FROM `sPP` WHERE `bP` LIKE '%E';
-SELECT * FROM `sPQ` WHERE `bP` LIKE '\%';
-SELECT * FROM `sPQ` WHERE `bP` LIKE '%\%';
-SELECT * FROM `sPQ` WHERE `bP` LIKE '%\';
-#SELECT * FROM `sPQ` WHERE `bP` LIKE '\\\\\\\\\\\\\\\\\\\\%';
-#SELECT * FROM `sPQ` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\\%';
-#SELECT * FROM `sPQ` WHERE `bP` LIKE '%\\\\\\\\\\\\\\\\\\\\';
DROP TABLE `sP`;
DROP TABLE `sQ`;
@@ -163,6 +130,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_like_ucs2.test b/mysql-test/suite/jp/t/jp_like_ucs2.test
index feae40de49e..1fd7d559e86 100644
--- a/mysql-test/suite/jp/t/jp_like_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_like_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
#Insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -125,34 +120,6 @@ INSERT INTO `T9` VALUES
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
- ('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-
-INSERT INTO `T11` VALUES
- ('  、。,.・:;?!゛゜´`¨^ ̄_ヽ')
-,('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('とどなにぬねのはばぱひびぴふぶぷへべぺほ')
-,('ぼぽまみむめもゃやゅゆょよらりるれろゎわ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-
-INSERT INTO `T12` VALUES
- ('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-
#INNODB
SELECT * FROM `T1` WHERE `C1` LIKE ' %';
SELECT * FROM `T1` WHERE `C1` LIKE '% %';
@@ -205,7 +172,7 @@ SELECT * FROM `T6` WHERE `C1` LIKE '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃
SELECT * FROM `T6` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
SELECT * FROM `T6` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#Heap
+#MEMORY
SELECT * FROM `T7` WHERE `C1` LIKE ' %';
SELECT * FROM `T7` WHERE `C1` LIKE '% %';
SELECT * FROM `T7` WHERE `C1` LIKE '% ';
@@ -231,32 +198,6 @@ SELECT * FROM `T9` WHERE `C1` LIKE '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃
SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#BDB
-SELECT * FROM `T10` WHERE `C1` LIKE ' %';
-SELECT * FROM `T10` WHERE `C1` LIKE '% %';
-SELECT * FROM `T10` WHERE `C1` LIKE '% ';
-SELECT * FROM `T10` WHERE `C1` LIKE 'タ%';
-SELECT * FROM `T10` WHERE `C1` LIKE '%ラリ%';
-SELECT * FROM `T10` WHERE `C1` LIKE '%ソ';
-SELECT * FROM `T10` WHERE `C1` LIKE 'ーアイウエオカキクケコサシスセソ%';
-SELECT * FROM `T10` WHERE `C1` LIKE '%ーアイウエオカキクケコサシスセソ%';
-SELECT * FROM `T10` WHERE `C1` LIKE '%ーアイウエオカキクケコサシスセソ';
-SELECT * FROM `T11` WHERE `C1` LIKE ' %';
-SELECT * FROM `T11` WHERE `C1` LIKE '% %';
-SELECT * FROM `T11` WHERE `C1` LIKE '% ';
-SELECT * FROM `T11` WHERE `C1` LIKE 'と%';
-SELECT * FROM `T11` WHERE `C1` LIKE '%あ%';
-SELECT * FROM `T11` WHERE `C1` LIKE '%わ';
-SELECT * FROM `T11` WHERE `C1` LIKE '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ%';
-SELECT * FROM `T11` WHERE `C1` LIKE '%・ぁあぃいぅうぇえぉおかがきぎくぐけげこ%';
-SELECT * FROM `T11` WHERE `C1` LIKE '%・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
-SELECT * FROM `T12` WHERE `C1` LIKE '鼫%';
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼺%';
-SELECT * FROM `T12` WHERE `C1` LIKE '%齖';
-SELECT * FROM `T12` WHERE `C1` LIKE '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -266,6 +207,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_like_ujis.test b/mysql-test/suite/jp/t/jp_like_ujis.test
index 29ef7c5d48b..dccb49d07d1 100644
--- a/mysql-test/suite/jp/t/jp_like_ujis.test
+++ b/mysql-test/suite/jp/t/jp_like_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(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -49,9 +44,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
#InnoDB
SELECT * FROM `T1` WHERE `C1` LIKE ' %';
@@ -105,7 +97,7 @@ SELECT * FROM `T6` WHERE `C1` LIKE '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃
SELECT * FROM `T6` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
SELECT * FROM `T6` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#Heap
+#MEMORY
SELECT * FROM `T7` WHERE `C1` LIKE ' %';
SELECT * FROM `T7` WHERE `C1` LIKE '% %';
SELECT * FROM `T7` WHERE `C1` LIKE '% ';
@@ -130,31 +122,6 @@ SELECT * FROM `T9` WHERE `C1` LIKE '%齖';
SELECT * FROM `T9` WHERE `C1` LIKE '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
SELECT * FROM `T9` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#BDB
-SELECT * FROM `T10` WHERE `C1` LIKE ' %';
-SELECT * FROM `T10` WHERE `C1` LIKE '% %';
-SELECT * FROM `T10` WHERE `C1` LIKE '% ';
-SELECT * FROM `T10` WHERE `C1` LIKE 'タ%';
-SELECT * FROM `T10` WHERE `C1` LIKE '%ラリ%';
-SELECT * FROM `T10` WHERE `C1` LIKE '%ソ';
-#SELECT * FROM `T10` WHERE `C1` LIKE 'ーアイウエオカキクケコサシスセソ%';
-#SELECT * FROM `T10` WHERE `C1` LIKE '%ーアイウエオカキクケコサシスセソ%';
-SELECT * FROM `T10` WHERE `C1` LIKE '%ーアイウエオカキクケコサシスセソ';
-SELECT * FROM `T11` WHERE `C1` LIKE ' %';
-SELECT * FROM `T11` WHERE `C1` LIKE '% %';
-SELECT * FROM `T11` WHERE `C1` LIKE '% ';
-SELECT * FROM `T11` WHERE `C1` LIKE 'と%';
-SELECT * FROM `T11` WHERE `C1` LIKE '%あ%';
-SELECT * FROM `T11` WHERE `C1` LIKE '%わ';
-#SELECT * FROM `T11` WHERE `C1` LIKE '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ%';
-#SELECT * FROM `T11` WHERE `C1` LIKE '%・ぁあぃいぅうぇえぉおかがきぎくぐけげこ%';
-#SELECT * FROM `T11` WHERE `C1` LIKE '%・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
-SELECT * FROM `T12` WHERE `C1` LIKE '鼫%';
-SELECT * FROM `T12` WHERE `C1` LIKE '%鼺%';
-SELECT * FROM `T12` WHERE `C1` LIKE '%齖';
-#SELECT * FROM `T12` WHERE `C1` LIKE '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
-#SELECT * FROM `T12` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖%';
-#SELECT * FROM `T12` WHERE `C1` LIKE '%鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
DROP TABLE `T1`;
DROP TABLE `T2`;
@@ -165,6 +132,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_like_utf8.test b/mysql-test/suite/jp/t/jp_like_utf8.test
index 4247242029d..4332922f831 100644
--- a/mysql-test/suite/jp/t/jp_like_utf8.test
+++ b/mysql-test/suite/jp/t/jp_like_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -47,9 +43,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
#InnoDB
SELECT * FROM `鐚器` WHERE `鐚o` LIKE ' %';
@@ -103,7 +96,7 @@ SELECT * FROM `鐚器` WHERE `鐚o` LIKE '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹%';
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
-#Heap
+#MEMORY
SELECT * FROM `鐚器` WHERE `鐚o` LIKE ' %';
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '% %';
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '% ';
@@ -128,31 +121,6 @@ SELECT * FROM `鐚器` WHERE `鐚o` LIKE '%藹';
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹%';
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹%';
SELECT * FROM `鐚器` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
-#BDB
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE ' %';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '% %';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '% ';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '鐓%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%鐓鐓%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%鐔';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎%';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎%';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '祉%';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%祉%';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%祉';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '藜%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%藜%';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%藹';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹%';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹%';
-#SELECT * FROM `鐚器鐚` WHERE `鐚o` LIKE '%藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -163,6 +131,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_locate_sjis.test b/mysql-test/suite/jp/t/jp_locate_sjis.test
index 92c671199b6..e7a21e0e014 100644
--- a/mysql-test/suite/jp/t/jp_locate_sjis.test
+++ b/mysql-test/suite/jp/t/jp_locate_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,7 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
--enable_warnings
#
@@ -24,12 +25,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
@@ -40,9 +38,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
#InnoDB
SELECT LOCATE('',`bP`) from `sP`;
@@ -85,7 +80,7 @@ SELECT LOCATE('\',`bP`) from `sU`;
SELECT LOCATE('\',`bP`) from `sU`;
-#HEAP
+#MEMORY
SELECT LOCATE('',`bP`) from `sV`;
SELECT LOCATE('',`bP`) from `sV`;
SELECT LOCATE('',`bP`) from `sV`;
@@ -106,27 +101,6 @@ SELECT LOCATE('\',`bP`) from `sX`;
SELECT LOCATE('\',`bP`) from `sX`;
-#BDB
-SELECT LOCATE('',`bP`) from `sPO`;
-SELECT LOCATE('',`bP`) from `sPO`;
-SELECT LOCATE('',`bP`) from `sPO`;
-SELECT LOCATE('',`bP`) from `sPO`;
-SELECT LOCATE('',`bP`) from `sPO`;
-SELECT LOCATE('',`bP`) from `sPO`;
-SELECT LOCATE('',`bP`) from `sPP`;
-SELECT LOCATE('',`bP`) from `sPP`;
-SELECT LOCATE('',`bP`) from `sPP`;
-SELECT LOCATE('',`bP`) from `sPP`;
-SELECT LOCATE('',`bP`) from `sPP`;
-SELECT LOCATE('',`bP`) from `sPP`;
-SELECT LOCATE('\',`bP`) from `sPQ`;
-SELECT LOCATE('\',`bP`) from `sPQ`;
-SELECT LOCATE('\',`bP`) from `sPQ`;
-SELECT LOCATE('\',`bP`) from `sPQ`;
-SELECT LOCATE('\',`bP`) from `sPQ`;
-SELECT LOCATE('\',`bP`) from `sPQ`;
-
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -136,6 +110,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_locate_ucs2.test b/mysql-test/suite/jp/t/jp_locate_ucs2.test
index d00ad67235a..02b95a20eda 100644
--- a/mysql-test/suite/jp/t/jp_locate_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_locate_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -27,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -43,9 +40,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 LOCATE('ア',`C1`) from `T1`;
@@ -88,7 +82,7 @@ SELECT LOCATE('龡',`C1`) from `T6`;
SELECT LOCATE('丂',`C1`) from `T6`;
-#HEAP
+#MEMORY
SELECT LOCATE('ア',`C1`) from `T7`;
SELECT LOCATE('イ',`C1`) from `T7`;
SELECT LOCATE('ウ',`C1`) from `T7`;
@@ -109,27 +103,6 @@ SELECT LOCATE('龡',`C1`) from `T9`;
SELECT LOCATE('丂',`C1`) from `T9`;
-#BDB
-SELECT LOCATE('ア',`C1`) from `T10`;
-SELECT LOCATE('イ',`C1`) from `T10`;
-SELECT LOCATE('ウ',`C1`) from `T10`;
-SELECT LOCATE('エ',`C1`) from `T10`;
-SELECT LOCATE('オ',`C1`) from `T10`;
-SELECT LOCATE('ン',`C1`) from `T10`;
-SELECT LOCATE('あ',`C1`) from `T11`;
-SELECT LOCATE('い',`C1`) from `T11`;
-SELECT LOCATE('う',`C1`) from `T11`;
-SELECT LOCATE('え',`C1`) from `T11`;
-SELECT LOCATE('お',`C1`) from `T11`;
-SELECT LOCATE('ん',`C1`) from `T11`;
-SELECT LOCATE('龔',`C1`) from `T12`;
-SELECT LOCATE('龖',`C1`) from `T12`;
-SELECT LOCATE('龗',`C1`) from `T12`;
-SELECT LOCATE('龞',`C1`) from `T12`;
-SELECT LOCATE('龡',`C1`) from `T12`;
-SELECT LOCATE('丂',`C1`) from `T12`;
-
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -139,6 +112,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_locate_ujis.test b/mysql-test/suite/jp/t/jp_locate_ujis.test
index 5375fad75db..21e3fa1dbbb 100644
--- a/mysql-test/suite/jp/t/jp_locate_ujis.test
+++ b/mysql-test/suite/jp/t/jp_locate_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -26,12 +26,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -42,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 LOCATE('ア',`C1`) from `T1`;
@@ -87,7 +81,7 @@ SELECT LOCATE('龡',`C1`) from `T6`;
SELECT LOCATE('丂',`C1`) from `T6`;
-#HEAP
+#MEMORY
SELECT LOCATE('ア',`C1`) from `T7`;
SELECT LOCATE('イ',`C1`) from `T7`;
SELECT LOCATE('ウ',`C1`) from `T7`;
@@ -108,27 +102,6 @@ SELECT LOCATE('龡',`C1`) from `T9`;
SELECT LOCATE('丂',`C1`) from `T9`;
-#BDB
-SELECT LOCATE('ア',`C1`) from `T10`;
-SELECT LOCATE('イ',`C1`) from `T10`;
-SELECT LOCATE('ウ',`C1`) from `T10`;
-SELECT LOCATE('エ',`C1`) from `T10`;
-SELECT LOCATE('オ',`C1`) from `T10`;
-SELECT LOCATE('ン',`C1`) from `T10`;
-SELECT LOCATE('あ',`C1`) from `T11`;
-SELECT LOCATE('い',`C1`) from `T11`;
-SELECT LOCATE('う',`C1`) from `T11`;
-SELECT LOCATE('え',`C1`) from `T11`;
-SELECT LOCATE('お',`C1`) from `T11`;
-SELECT LOCATE('ん',`C1`) from `T11`;
-SELECT LOCATE('龔',`C1`) from `T12`;
-SELECT LOCATE('龖',`C1`) from `T12`;
-SELECT LOCATE('龗',`C1`) from `T12`;
-SELECT LOCATE('龞',`C1`) from `T12`;
-SELECT LOCATE('龡',`C1`) from `T12`;
-SELECT LOCATE('丂',`C1`) from `T12`;
-
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -138,6 +111,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_locate_utf8.test b/mysql-test/suite/jp/t/jp_locate_utf8.test
index cbf6714e322..6e965eaffa9 100644
--- a/mysql-test/suite/jp/t/jp_locate_utf8.test
+++ b/mysql-test/suite/jp/t/jp_locate_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,7 +10,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
--enable_warnings
#
@@ -24,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
@@ -40,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
#InnoDB
SELECT LOCATE('鐔',`鐚o`) from `鐚器`;
@@ -85,7 +80,7 @@ SELECT LOCATE('蘊',`鐚o`) from `鐚器`;
SELECT LOCATE('筝',`鐚o`) from `鐚器`;
-#HEAP
+#MEMORY
SELECT LOCATE('鐔',`鐚o`) from `鐚器`;
SELECT LOCATE('鐔',`鐚o`) from `鐚器`;
SELECT LOCATE('鐔',`鐚o`) from `鐚器`;
@@ -106,27 +101,6 @@ SELECT LOCATE('蘊',`鐚o`) from `鐚器`;
SELECT LOCATE('筝',`鐚o`) from `鐚器`;
-#BDB
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('鐔',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('鐓',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('蘊',`鐚o`) from `鐚器鐚`;
-SELECT LOCATE('筝',`鐚o`) from `鐚器鐚`;
-
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -136,6 +110,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_lpad_sjis.test b/mysql-test/suite/jp/t/jp_lpad_sjis.test
index 7038112cbc8..1516acc14d2 100644
--- a/mysql-test/suite/jp/t/jp_lpad_sjis.test
+++ b/mysql-test/suite/jp/t/jp_lpad_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
#InnoDB
SELECT `bP`, LPAD(`bP`,5,'') FROM `sP`;
@@ -57,16 +50,11 @@ SELECT `bP`, LPAD(`bP`,5,'') FROM `sS`;
SELECT `bP`, LPAD(`bP`,5,'w') FROM `sT`;
SELECT `bP`, LPAD(`bP`,5,'\' ) FROM `sU`;
-#HEAP
+#MEMORY
SELECT `bP`, LPAD(`bP`,5,'') FROM `sV`;
SELECT `bP`, LPAD(`bP`,5,'w') FROM `sW`;
SELECT `bP`, LPAD(`bP`,5,'\' ) FROM `sX`;
-#BDB
-SELECT `bP`, LPAD(`bP`,5,'') FROM `sPO`;
-SELECT `bP`, LPAD(`bP`,5,'w') FROM `sPP`;
-SELECT `bP`, LPAD(`bP`,5,'\' ) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -76,6 +64,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_lpad_ucs2.test b/mysql-test/suite/jp/t/jp_lpad_ucs2.test
index e3bead0855a..3f8e9fd9eb6 100644
--- a/mysql-test/suite/jp/t/jp_lpad_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_lpad_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
@@ -45,9 +40,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 `C1`, LPAD(`C1`,5,'。') FROM `T1`;
@@ -59,16 +51,11 @@ SELECT `C1`, LPAD(`C1`,5,'。') FROM `T4`;
SELECT `C1`, LPAD(`C1`,5,'X') FROM `T5`;
SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, LPAD(`C1`,5,'。') FROM `T7`;
SELECT `C1`, LPAD(`C1`,5,'X') FROM `T8`;
SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T9`;
-#BDB
-SELECT `C1`, LPAD(`C1`,5,'。') FROM `T10`;
-SELECT `C1`, LPAD(`C1`,5,'X') FROM `T11`;
-SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -78,6 +65,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_lpad_ujis.test b/mysql-test/suite/jp/t/jp_lpad_ujis.test
index eea4877ec3a..9d4ef185b47 100644
--- a/mysql-test/suite/jp/t/jp_lpad_ujis.test
+++ b/mysql-test/suite/jp/t/jp_lpad_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 `C1`, LPAD(`C1`,5,'。') FROM `T1`;
@@ -58,16 +50,11 @@ SELECT `C1`, LPAD(`C1`,5,'。') FROM `T4`;
SELECT `C1`, LPAD(`C1`,5,'X') FROM `T5`;
SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, LPAD(`C1`,5,'。') FROM `T7`;
SELECT `C1`, LPAD(`C1`,5,'X') FROM `T8`;
SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T9`;
-#BDB
-SELECT `C1`, LPAD(`C1`,5,'。') FROM `T10`;
-SELECT `C1`, LPAD(`C1`,5,'X') FROM `T11`;
-SELECT `C1`, LPAD(`C1`,5,'丄' ) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -77,6 +64,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_lpad_utf8.test b/mysql-test/suite/jp/t/jp_lpad_utf8.test
index 599bf5eba28..b629751d184 100644
--- a/mysql-test/suite/jp/t/jp_lpad_utf8.test
+++ b/mysql-test/suite/jp/t/jp_lpad_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
#InnoDB
SELECT `鐚o`, LPAD(`鐚o`,5,'鐔') FROM `鐚器`;
@@ -56,16 +49,11 @@ SELECT `鐚o`, LPAD(`鐚o`,5,'鐔') FROM `鐚器`;
SELECT `鐚o`, LPAD(`鐚o`,5,'鐚') FROM `鐚器`;
SELECT `鐚o`, LPAD(`鐚o`,5,'筝' ) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`, LPAD(`鐚o`,5,'鐔') FROM `鐚器`;
SELECT `鐚o`, LPAD(`鐚o`,5,'鐚') FROM `鐚器`;
SELECT `鐚o`, LPAD(`鐚o`,5,'筝' ) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, LPAD(`鐚o`,5,'鐔') FROM `鐚器鐚`;
-SELECT `鐚o`, LPAD(`鐚o`,5,'鐚') FROM `鐚器鐚`;
-SELECT `鐚o`, LPAD(`鐚o`,5,'筝' ) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -75,6 +63,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_ltrim_sjis.test b/mysql-test/suite/jp/t/jp_ltrim_sjis.test
index 864238df07c..4a02fcdc0bd 100644
--- a/mysql-test/suite/jp/t/jp_ltrim_sjis.test
+++ b/mysql-test/suite/jp/t/jp_ltrim_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,7 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
--enable_warnings
#
@@ -25,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sP` VALUES (' 渦慨');
@@ -104,30 +102,6 @@ INSERT INTO `sX` VALUES (' \\\\\');
INSERT INTO `sX` VALUES ('@\\\\\');
INSERT INTO `sX` VALUES ('@@\\\\\');
INSERT INTO `sX` VALUES ('@@@\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPO` VALUES (' 渦慨');
-INSERT INTO `sPO` VALUES (' 渦慨');
-INSERT INTO `sPO` VALUES (' 渦慨');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `sPO` VALUES ('@渦慨');
-INSERT INTO `sPO` VALUES ('@@渦慨');
-INSERT INTO `sPO` VALUES ('@@@渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `sPP` VALUES ('@');
-INSERT INTO `sPP` VALUES ('@@');
-INSERT INTO `sPP` VALUES ('@@@');
-INSERT INTO `sPQ` VALUES ('\\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `sPQ` VALUES ('@\\\\\');
-INSERT INTO `sPQ` VALUES ('@@\\\\\');
-INSERT INTO `sPQ` VALUES ('@@@\\\\\');
#InnoDB
SELECT LTRIM(`bP`) from `sP`;
@@ -139,16 +113,11 @@ SELECT LTRIM(`bP`) from `sS`;
SELECT LTRIM(`bP`) from `sT`;
SELECT LTRIM(`bP`) from `sU`;
-#HEAP
+#MEMORY
SELECT LTRIM(`bP`) from `sV`;
SELECT LTRIM(`bP`) from `sW`;
SELECT LTRIM(`bP`) from `sX`;
-#BDB
-SELECT LTRIM(`bP`) from `sPO`;
-SELECT LTRIM(`bP`) from `sPP`;
-SELECT LTRIM(`bP`) from `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -158,6 +127,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_ltrim_ucs2.test b/mysql-test/suite/jp/t/jp_ltrim_ucs2.test
index 0ae647f5222..65ea8d01610 100644
--- a/mysql-test/suite/jp/t/jp_ltrim_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_ltrim_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -27,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES (' アイウエオ');
@@ -106,30 +103,6 @@ INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES ('  龔龖龗龞龡');
INSERT INTO `T9` VALUES ('   龔龖龗龞龡');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES ('  アイウエオ');
-INSERT INTO `T10` VALUES ('   アイウエオ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES ('  あいうえお');
-INSERT INTO `T11` VALUES ('   あいうえお');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('  龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('   龔龖龗龞龡');
#InnoDB
SELECT LTRIM(`C1`) from `T1`;
@@ -141,16 +114,11 @@ SELECT LTRIM(`C1`) from `T4`;
SELECT LTRIM(`C1`) from `T5`;
SELECT LTRIM(`C1`) from `T6`;
-#HEAP
+#MEMORY
SELECT LTRIM(`C1`) from `T7`;
SELECT LTRIM(`C1`) from `T8`;
SELECT LTRIM(`C1`) from `T9`;
-#BDB
-SELECT LTRIM(`C1`) from `T10`;
-SELECT LTRIM(`C1`) from `T11`;
-SELECT LTRIM(`C1`) from `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -160,6 +128,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_ltrim_ujis.test b/mysql-test/suite/jp/t/jp_ltrim_ujis.test
index 64363aa330b..9c5487a3c62 100644
--- a/mysql-test/suite/jp/t/jp_ltrim_ujis.test
+++ b/mysql-test/suite/jp/t/jp_ltrim_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -26,12 +26,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES (' アイウエオ');
@@ -105,30 +102,6 @@ INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡');
INSERT INTO `T9` VALUES ('  龔龖龗龞龡');
INSERT INTO `T9` VALUES ('   龔龖龗龞龡');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES (' アイウエオ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T10` VALUES (' アイウエオ');
-INSERT INTO `T10` VALUES ('  アイウエオ');
-INSERT INTO `T10` VALUES ('   アイウエオ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES (' あいうえお');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T11` VALUES (' あいうえお');
-INSERT INTO `T11` VALUES ('  あいうえお');
-INSERT INTO `T11` VALUES ('   あいうえお');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('  龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('   龔龖龗龞龡');
#InnoDB
SELECT LTRIM(`C1`) from `T1`;
@@ -140,16 +113,11 @@ SELECT LTRIM(`C1`) from `T4`;
SELECT LTRIM(`C1`) from `T5`;
SELECT LTRIM(`C1`) from `T6`;
-#HEAP
+#MEMORY
SELECT LTRIM(`C1`) from `T7`;
SELECT LTRIM(`C1`) from `T8`;
SELECT LTRIM(`C1`) from `T9`;
-#BDB
-SELECT LTRIM(`C1`) from `T10`;
-SELECT LTRIM(`C1`) from `T11`;
-SELECT LTRIM(`C1`) from `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -159,6 +127,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_ltrim_utf8.test b/mysql-test/suite/jp/t/jp_ltrim_utf8.test
index 846ce11163b..3fcd5cbdc66 100644
--- a/mysql-test/suite/jp/t/jp_ltrim_utf8.test
+++ b/mysql-test/suite/jp/t/jp_ltrim_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,7 +10,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
--enable_warnings
#
@@ -24,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES (' 鐔縁讐鐔鰹輯鐔');
@@ -103,30 +101,6 @@ INSERT INTO `鐚器` VALUES (' 蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES (' 鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES (' 鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES (' 鐔縁讐鐔鰹輯鐔');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES (' ');
-INSERT INTO `鐚器鐚` VALUES (' ');
-INSERT INTO `鐚器鐚` VALUES (' ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES (' 蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES (' 蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES (' 蘊蘊蘊蘊蘊');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
#InnoDB
SELECT LTRIM(`鐚o`) from `鐚器`;
@@ -138,16 +112,11 @@ SELECT LTRIM(`鐚o`) from `鐚器`;
SELECT LTRIM(`鐚o`) from `鐚器`;
SELECT LTRIM(`鐚o`) from `鐚器`;
-#HEAP
+#MEMORY
SELECT LTRIM(`鐚o`) from `鐚器`;
SELECT LTRIM(`鐚o`) from `鐚器`;
SELECT LTRIM(`鐚o`) from `鐚器`;
-#BDB
-SELECT LTRIM(`鐚o`) from `鐚器鐚`;
-SELECT LTRIM(`鐚o`) from `鐚器鐚`;
-SELECT LTRIM(`鐚o`) from `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -157,6 +126,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_ps_sjis.test b/mysql-test/suite/jp/t/jp_ps_sjis.test
index cc93dca2a79..123ac904e50 100644
--- a/mysql-test/suite/jp/t/jp_ps_sjis.test
+++ b/mysql-test/suite/jp/t/jp_ps_sjis.test
@@ -1,3 +1,6 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
+
--character_set sjis
--disable_warnings
DROP TABLE IF EXISTS t1;
@@ -234,15 +237,15 @@ DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-### Test HEAP ###
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = HEAP;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = HEAP;
+### Test MEMORY ###
+CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = MEMORY;
+CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = MEMORY;
CREATE TABLE t3(
`` char(1),
`` char(1),
`\` char(1)
-)DEFAULT CHARSET = sjis ENGINE = HEAP;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = sjis ENGINE =HEAP;
+)DEFAULT CHARSET = sjis ENGINE = MEMORY;
+CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = sjis ENGINE =MEMORY;
INSERT INTO t1 VALUES ('xxx');
INSERT INTO t2 VALUES ('\');
@@ -343,112 +346,3 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-
-### Test BDB ###
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = BDB;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = sjis ENGINE = BDB;
-CREATE TABLE t3(
- `` char(1),
- `` char(1),
- `\` char(1)
-)DEFAULT CHARSET = sjis ENGINE = BDB;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = sjis ENGINE = BDB;
-INSERT INTO t1 VALUES ('xxx');
-INSERT INTO t2 VALUES ('\');
-INSERT INTO t3 VALUES ('x','x','x'),('x','x','x'),('y','y','y'),('y','y','y'),('z','z','z'),('z','z','z');
-INSERT INTO t4 VALUES (''),(''),('\' );
-
-# Japanese parameter for column name
-PREPARE stmt1 FROM 'SELECT ? FROM t3';
-PREPARE stmt2 FROM 'SELECT * FROM t3 ORDER BY ?';
-PREPARE stmt3 FROM 'SELECT COUNT(*) FROM t3 GROUP BY ?';
-# Japanese parameter for function argument
-PREPARE stmt4 FROM 'SELECT CHAR_LENGTH(?)';
-PREPARE stmt5 FROM 'SELECT CHARSET(?)';
-PREPARE stmt6 FROM 'SELECT INSERT(c1,1,1,?) FROM t1';
-PREPARE stmt7 FROM 'SELECT INSTR(c1,?) FROM t2';
-PREPARE stmt8 FROM 'SELECT LOCATE(?,c1) FROM t2';
-PREPARE stmt9 FROM 'SELECT LPAD(c1,10,?) FROM t1';
-PREPARE stmt10 FROM 'SELECT REPLACE(c1,?,\'x\') FROM t2';
-PREPARE stmt11 FROM 'SELECT REPLACE(c1,\'x\',?) FROM t1';
-PREPARE stmt12 FROM 'SELECT RPAD(c1,10,?) FROM t1';
-# Japanese parameter for UPDATE
-PREPARE stmt13 FROM 'UPDATE t4 SET c1=\'x\' WHERE c1=?';
-PREPARE stmt14 FROM 'UPDATE t4 SET c1=? WHERE c1=\'x\'';
-
-## Test jisx0201 ##
-SET @arg = '';
-EXECUTE stmt1 USING @arg;
-EXECUTE stmt2 USING @arg;
-EXECUTE stmt3 USING @arg;
-EXECUTE stmt4 USING @arg;
-EXECUTE stmt5 USING @arg;
-EXECUTE stmt6 USING @arg;
-EXECUTE stmt7 USING @arg;
-EXECUTE stmt8 USING @arg;
-EXECUTE stmt9 USING @arg;
-EXECUTE stmt10 USING @arg;
-EXECUTE stmt11 USING @arg;
-EXECUTE stmt12 USING @arg;
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t3;
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t3;
-
-## Test jisx0208 ##
-SET @arg = '';
-EXECUTE stmt1 USING @arg;
-EXECUTE stmt2 USING @arg;
-EXECUTE stmt3 USING @arg;
-EXECUTE stmt4 USING @arg;
-EXECUTE stmt5 USING @arg;
-EXECUTE stmt6 USING @arg;
-EXECUTE stmt7 USING @arg;
-EXECUTE stmt8 USING @arg;
-EXECUTE stmt9 USING @arg;
-EXECUTE stmt10 USING @arg;
-EXECUTE stmt11 USING @arg;
-EXECUTE stmt12 USING @arg;
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-
-##Test jisx0212 ##
-SET @arg = '\';
-EXECUTE stmt1 USING @arg;
-EXECUTE stmt2 USING @arg;
-EXECUTE stmt3 USING @arg;
-EXECUTE stmt4 USING @arg;
-EXECUTE stmt5 USING @arg;
-EXECUTE stmt6 USING @arg;
-EXECUTE stmt7 USING @arg;
-EXECUTE stmt8 USING @arg;
-EXECUTE stmt9 USING @arg;
-EXECUTE stmt10 USING @arg;
-EXECUTE stmt11 USING @arg;
-EXECUTE stmt12 USING @arg;
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-
-DEALLOCATE PREPARE stmt1;
-DEALLOCATE PREPARE stmt2;
-DEALLOCATE PREPARE stmt3;
-DEALLOCATE PREPARE stmt4;
-DEALLOCATE PREPARE stmt5;
-DEALLOCATE PREPARE stmt6;
-DEALLOCATE PREPARE stmt7;
-DEALLOCATE PREPARE stmt8;
-DEALLOCATE PREPARE stmt9;
-DEALLOCATE PREPARE stmt10;
-DEALLOCATE PREPARE stmt11;
-DEALLOCATE PREPARE stmt12;
-DEALLOCATE PREPARE stmt13;
-DEALLOCATE PREPARE stmt14;
-
-DROP TABLE t1;
-DROP TABLE t2;
-DROP TABLE t3;
-DROP TABLE t4;
diff --git a/mysql-test/suite/jp/t/jp_ps_ujis.test b/mysql-test/suite/jp/t/jp_ps_ujis.test
index 7d61c12e496..78b86ad57b6 100644
--- a/mysql-test/suite/jp/t/jp_ps_ujis.test
+++ b/mysql-test/suite/jp/t/jp_ps_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
DROP TABLE IF EXISTS t1;
@@ -235,15 +236,15 @@ DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-### Test HEAP ###
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = HEAP;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = HEAP;
+### Test MEMORY ###
+CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = MEMORY;
+CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = MEMORY;
CREATE TABLE t3(
`ア` char(1),
`あ` char(1),
`龔` char(1)
-)DEFAULT CHARSET = ujis ENGINE = HEAP;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = ujis ENGINE =HEAP;
+)DEFAULT CHARSET = ujis ENGINE = MEMORY;
+CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = ujis ENGINE =MEMORY;
INSERT INTO t1 VALUES ('xxx');
INSERT INTO t2 VALUES ('アあ龔');
@@ -344,112 +345,3 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
-
-### Test BDB ###
-CREATE TABLE t1(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = BDB;
-CREATE TABLE t2(c1 char(3)) DEFAULT CHARSET = ujis ENGINE = BDB;
-CREATE TABLE t3(
- `ア` char(1),
- `あ` char(1),
- `龔` char(1)
-)DEFAULT CHARSET = ujis ENGINE = BDB;
-CREATE TABLE t4(c1 char(1)) DEFAULT CHARSET = ujis ENGINE = BDB;
-INSERT INTO t1 VALUES ('xxx');
-INSERT INTO t2 VALUES ('アあ龔');
-INSERT INTO t3 VALUES ('x','x','x'),('x','x','x'),('y','y','y'),('y','y','y'),('z','z','z'),('z','z','z');
-INSERT INTO t4 VALUES ('ア'),('あ'),('龔' );
-
-# Japanese parameter for column name
-PREPARE stmt1 FROM 'SELECT ? FROM t3';
-PREPARE stmt2 FROM 'SELECT * FROM t3 ORDER BY ?';
-PREPARE stmt3 FROM 'SELECT COUNT(*) FROM t3 GROUP BY ?';
-# Japanese parameter for function argument
-PREPARE stmt4 FROM 'SELECT CHAR_LENGTH(?)';
-PREPARE stmt5 FROM 'SELECT CHARSET(?)';
-PREPARE stmt6 FROM 'SELECT INSERT(c1,1,1,?) FROM t1';
-PREPARE stmt7 FROM 'SELECT INSTR(c1,?) FROM t2';
-PREPARE stmt8 FROM 'SELECT LOCATE(?,c1) FROM t2';
-PREPARE stmt9 FROM 'SELECT LPAD(c1,9,?) FROM t1';
-PREPARE stmt10 FROM 'SELECT REPLACE(c1,?,\'x\') FROM t2';
-PREPARE stmt11 FROM 'SELECT REPLACE(c1,\'x\',?) FROM t1';
-PREPARE stmt12 FROM 'SELECT RPAD(c1,9,?) FROM t1';
-# Japanese parameter for UPDATE
-PREPARE stmt13 FROM 'UPDATE t4 SET c1=\'x\' WHERE c1=?';
-PREPARE stmt14 FROM 'UPDATE t4 SET c1=? WHERE c1=\'x\'';
-
-## Test jisx0201 ##
-SET @arg = 'ア';
-EXECUTE stmt1 USING @arg;
-EXECUTE stmt2 USING @arg;
-EXECUTE stmt3 USING @arg;
-EXECUTE stmt4 USING @arg;
-EXECUTE stmt5 USING @arg;
-EXECUTE stmt6 USING @arg;
-EXECUTE stmt7 USING @arg;
-EXECUTE stmt8 USING @arg;
-EXECUTE stmt9 USING @arg;
-EXECUTE stmt10 USING @arg;
-EXECUTE stmt11 USING @arg;
-EXECUTE stmt12 USING @arg;
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t3;
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t3;
-
-## Test jisx0208 ##
-SET @arg = 'あ';
-EXECUTE stmt1 USING @arg;
-EXECUTE stmt2 USING @arg;
-EXECUTE stmt3 USING @arg;
-EXECUTE stmt4 USING @arg;
-EXECUTE stmt5 USING @arg;
-EXECUTE stmt6 USING @arg;
-EXECUTE stmt7 USING @arg;
-EXECUTE stmt8 USING @arg;
-EXECUTE stmt9 USING @arg;
-EXECUTE stmt10 USING @arg;
-EXECUTE stmt11 USING @arg;
-EXECUTE stmt12 USING @arg;
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-
-##Test jisx0212 ##
-SET @arg = '龔';
-EXECUTE stmt1 USING @arg;
-EXECUTE stmt2 USING @arg;
-EXECUTE stmt3 USING @arg;
-EXECUTE stmt4 USING @arg;
-EXECUTE stmt5 USING @arg;
-EXECUTE stmt6 USING @arg;
-EXECUTE stmt7 USING @arg;
-EXECUTE stmt8 USING @arg;
-EXECUTE stmt9 USING @arg;
-EXECUTE stmt10 USING @arg;
-EXECUTE stmt11 USING @arg;
-EXECUTE stmt12 USING @arg;
-EXECUTE stmt13 USING @arg;
-SELECT * FROM t4;
-EXECUTE stmt14 USING @arg;
-SELECT * FROM t4;
-
-DEALLOCATE PREPARE stmt1;
-DEALLOCATE PREPARE stmt2;
-DEALLOCATE PREPARE stmt3;
-DEALLOCATE PREPARE stmt4;
-DEALLOCATE PREPARE stmt5;
-DEALLOCATE PREPARE stmt6;
-DEALLOCATE PREPARE stmt7;
-DEALLOCATE PREPARE stmt8;
-DEALLOCATE PREPARE stmt9;
-DEALLOCATE PREPARE stmt10;
-DEALLOCATE PREPARE stmt11;
-DEALLOCATE PREPARE stmt12;
-DEALLOCATE PREPARE stmt13;
-DEALLOCATE PREPARE stmt14;
-
-DROP TABLE t1;
-DROP TABLE t2;
-DROP TABLE t3;
-DROP TABLE t4;
diff --git a/mysql-test/suite/jp/t/jp_replace_sjis.test b/mysql-test/suite/jp/t/jp_replace_sjis.test
index 811d3350a34..ab29b87545d 100644
--- a/mysql-test/suite/jp/t/jp_replace_sjis.test
+++ b/mysql-test/suite/jp/t/jp_replace_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
#InnoDB
SELECT REPLACE(`bP`,'','臼') FROM `sP`;
@@ -81,7 +74,7 @@ SELECT REPLACE(`bP`,'\','\\') FROM `sU`;
SELECT REPLACE(`bP`,'\','\\') FROM `sU`;
SELECT REPLACE(`bP`,'\','\\') FROM `sU`;
-#HEAP
+#MEMORY
SELECT REPLACE(`bP`,'','臼') FROM `sV`;
SELECT REPLACE(`bP`,'','臆') FROM `sV`;
SELECT REPLACE(`bP`,'','崖') FROM `sV`;
@@ -98,23 +91,6 @@ SELECT REPLACE(`bP`,'\','\\') FROM `sX`;
SELECT REPLACE(`bP`,'\','\\') FROM `sX`;
SELECT REPLACE(`bP`,'\','\\') FROM `sX`;
-#BDB
-SELECT REPLACE(`bP`,'','臼') FROM `sPO`;
-SELECT REPLACE(`bP`,'','臆') FROM `sPO`;
-SELECT REPLACE(`bP`,'','崖') FROM `sPO`;
-SELECT REPLACE(`bP`,'','幹') FROM `sPO`;
-SELECT REPLACE(`bP`,'','亀') FROM `sPO`;
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-SELECT REPLACE(`bP`,'','') FROM `sPP`;
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-SELECT REPLACE(`bP`,'\','\\') FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -124,6 +100,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_replace_ucs2.test b/mysql-test/suite/jp/t/jp_replace_ucs2.test
index 7739a30cd9c..fc9982ca6a7 100644
--- a/mysql-test/suite/jp/t/jp_replace_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_replace_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -45,9 +40,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`;
@@ -83,7 +75,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`;
@@ -100,23 +92,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`;
@@ -126,6 +101,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
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`;
diff --git a/mysql-test/suite/jp/t/jp_replace_utf8.test b/mysql-test/suite/jp/t/jp_replace_utf8.test
index 1d89a43648b..fe5d3167be8 100644
--- a/mysql-test/suite/jp/t/jp_replace_utf8.test
+++ b/mysql-test/suite/jp/t/jp_replace_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
#InnoDB
SELECT REPLACE(`鐚o`,'鐔','鐔縁襲') FROM `鐚器`;
@@ -80,7 +73,7 @@ SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器`;
SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器`;
SELECT REPLACE(`鐚o`,'蘊','蘊♂勝') FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT REPLACE(`鐚o`,'鐔','鐔縁襲') FROM `鐚器`;
SELECT REPLACE(`鐚o`,'鐔','鐔駕讐') FROM `鐚器`;
SELECT REPLACE(`鐚o`,'鐔','鐔鰹蹴') FROM `鐚器`;
@@ -97,23 +90,6 @@ SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器`;
SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器`;
SELECT REPLACE(`鐚o`,'蘊','蘊♂勝') FROM `鐚器`;
-#BDB
-SELECT REPLACE(`鐚o`,'鐔','鐔縁襲') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'鐔','鐔駕讐') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'鐔','鐔鰹蹴') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'鐔','鐔器輯') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'鐔','鐔居週') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'','') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'蘊','蘊蘊') FROM `鐚器鐚`;
-SELECT REPLACE(`鐚o`,'蘊','蘊♂勝') FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -123,6 +99,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_reverse_sjis.test b/mysql-test/suite/jp/t/jp_reverse_sjis.test
index c1e2b2a17ca..2acc9bf9f59 100644
--- a/mysql-test/suite/jp/t/jp_reverse_sjis.test
+++ b/mysql-test/suite/jp/t/jp_reverse_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
#InnoDB
SELECT REVERSE(`bP`) FROM `sP`;
@@ -57,16 +50,11 @@ SELECT REVERSE(`bP`) FROM `sS`;
SELECT REVERSE(`bP`) FROM `sT`;
SELECT REVERSE(`bP`) FROM `sU`;
-#HEAP
+#MEMORY
SELECT REVERSE(`bP`) FROM `sV`;
SELECT REVERSE(`bP`) FROM `sW`;
SELECT REVERSE(`bP`) FROM `sX`;
-#BDB
-SELECT REVERSE(`bP`) FROM `sPO`;
-SELECT REVERSE(`bP`) FROM `sPP`;
-SELECT REVERSE(`bP`) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -76,6 +64,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_reverse_ucs2.test b/mysql-test/suite/jp/t/jp_reverse_ucs2.test
index d91ec7f70e8..3bf2d49285f 100644
--- a/mysql-test/suite/jp/t/jp_reverse_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_reverse_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -45,9 +40,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 REVERSE(`C1`) FROM `T1`;
@@ -59,16 +51,11 @@ SELECT REVERSE(`C1`) FROM `T4`;
SELECT REVERSE(`C1`) FROM `T5`;
SELECT REVERSE(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT REVERSE(`C1`) FROM `T7`;
SELECT REVERSE(`C1`) FROM `T8`;
SELECT REVERSE(`C1`) FROM `T9`;
-#BDB
-SELECT REVERSE(`C1`) FROM `T10`;
-SELECT REVERSE(`C1`) FROM `T11`;
-SELECT REVERSE(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -78,6 +65,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_reverse_ujis.test b/mysql-test/suite/jp/t/jp_reverse_ujis.test
index d37d363f59a..0e6ea60e9f6 100644
--- a/mysql-test/suite/jp/t/jp_reverse_ujis.test
+++ b/mysql-test/suite/jp/t/jp_reverse_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 REVERSE(`C1`) FROM `T1`;
@@ -58,16 +50,11 @@ SELECT REVERSE(`C1`) FROM `T4`;
SELECT REVERSE(`C1`) FROM `T5`;
SELECT REVERSE(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT REVERSE(`C1`) FROM `T7`;
SELECT REVERSE(`C1`) FROM `T8`;
SELECT REVERSE(`C1`) FROM `T9`;
-#BDB
-SELECT REVERSE(`C1`) FROM `T10`;
-SELECT REVERSE(`C1`) FROM `T11`;
-SELECT REVERSE(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -77,6 +64,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_reverse_utf8.test b/mysql-test/suite/jp/t/jp_reverse_utf8.test
index 4e53d4be049..ce49b571294 100644
--- a/mysql-test/suite/jp/t/jp_reverse_utf8.test
+++ b/mysql-test/suite/jp/t/jp_reverse_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
#InnoDB
SELECT REVERSE(`鐚o`) FROM `鐚器`;
@@ -56,16 +49,11 @@ SELECT REVERSE(`鐚o`) FROM `鐚器`;
SELECT REVERSE(`鐚o`) FROM `鐚器`;
SELECT REVERSE(`鐚o`) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT REVERSE(`鐚o`) FROM `鐚器`;
SELECT REVERSE(`鐚o`) FROM `鐚器`;
SELECT REVERSE(`鐚o`) FROM `鐚器`;
-#BDB
-SELECT REVERSE(`鐚o`) FROM `鐚器鐚`;
-SELECT REVERSE(`鐚o`) FROM `鐚器鐚`;
-SELECT REVERSE(`鐚o`) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -75,6 +63,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_right_sjis.test b/mysql-test/suite/jp/t/jp_right_sjis.test
index f481ec532ec..8cde42333c6 100644
--- a/mysql-test/suite/jp/t/jp_right_sjis.test
+++ b/mysql-test/suite/jp/t/jp_right_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
#InnoDB
SELECT `bP`, RIGHT(`bP`,0) FROM `sP`;
@@ -87,7 +80,7 @@ SELECT `bP`, RIGHT(`bP`,3) FROM `sU`;
SELECT `bP`, RIGHT(`bP`,4) FROM `sU`;
SELECT `bP`, RIGHT(`bP`,5) FROM `sU`;
-#HEAP
+#MEMORY
SELECT `bP`, RIGHT(`bP`,0) FROM `sV`;
SELECT `bP`, RIGHT(`bP`,1) FROM `sV`;
SELECT `bP`, RIGHT(`bP`,2) FROM `sV`;
@@ -107,26 +100,6 @@ SELECT `bP`, RIGHT(`bP`,3) FROM `sX`;
SELECT `bP`, RIGHT(`bP`,4) FROM `sX`;
SELECT `bP`, RIGHT(`bP`,5) FROM `sX`;
-#BDB
-SELECT `bP`, RIGHT(`bP`,0) FROM `sPO`;
-SELECT `bP`, RIGHT(`bP`,1) FROM `sPO`;
-SELECT `bP`, RIGHT(`bP`,2) FROM `sPO`;
-SELECT `bP`, RIGHT(`bP`,3) FROM `sPO`;
-SELECT `bP`, RIGHT(`bP`,4) FROM `sPO`;
-SELECT `bP`, RIGHT(`bP`,5) FROM `sPO`;
-SELECT `bP`, RIGHT(`bP`,0) FROM `sPP`;
-SELECT `bP`, RIGHT(`bP`,1) FROM `sPP`;
-SELECT `bP`, RIGHT(`bP`,2) FROM `sPP`;
-SELECT `bP`, RIGHT(`bP`,3) FROM `sPP`;
-SELECT `bP`, RIGHT(`bP`,4) FROM `sPP`;
-SELECT `bP`, RIGHT(`bP`,5) FROM `sPP`;
-SELECT `bP`, RIGHT(`bP`,0) FROM `sPQ`;
-SELECT `bP`, RIGHT(`bP`,1) FROM `sPQ`;
-SELECT `bP`, RIGHT(`bP`,2) FROM `sPQ`;
-SELECT `bP`, RIGHT(`bP`,3) FROM `sPQ`;
-SELECT `bP`, RIGHT(`bP`,4) FROM `sPQ`;
-SELECT `bP`, RIGHT(`bP`,5) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -136,6 +109,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_right_ucs2.test b/mysql-test/suite/jp/t/jp_right_ucs2.test
index 23ca2fa4fae..bb914787f81 100644
--- a/mysql-test/suite/jp/t/jp_right_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_right_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
@@ -45,9 +40,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 `C1`, RIGHT(`C1`,0) FROM `T1`;
@@ -89,7 +81,7 @@ SELECT `C1`, RIGHT(`C1`,3) FROM `T6`;
SELECT `C1`, RIGHT(`C1`,4) FROM `T6`;
SELECT `C1`, RIGHT(`C1`,5) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, RIGHT(`C1`,0) FROM `T7`;
SELECT `C1`, RIGHT(`C1`,1) FROM `T7`;
SELECT `C1`, RIGHT(`C1`,2) FROM `T7`;
@@ -109,26 +101,6 @@ SELECT `C1`, RIGHT(`C1`,3) FROM `T9`;
SELECT `C1`, RIGHT(`C1`,4) FROM `T9`;
SELECT `C1`, RIGHT(`C1`,5) FROM `T9`;
-#BDB
-SELECT `C1`, RIGHT(`C1`,0) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,1) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,2) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,3) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,4) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,5) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,0) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,1) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,2) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,3) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,4) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,5) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,0) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,1) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,2) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,3) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,4) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,5) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -138,6 +110,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_right_ujis.test b/mysql-test/suite/jp/t/jp_right_ujis.test
index b5284489c7e..bb478af7b66 100644
--- a/mysql-test/suite/jp/t/jp_right_ujis.test
+++ b/mysql-test/suite/jp/t/jp_right_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 `C1`, RIGHT(`C1`,0) FROM `T1`;
@@ -88,7 +80,7 @@ SELECT `C1`, RIGHT(`C1`,3) FROM `T6`;
SELECT `C1`, RIGHT(`C1`,4) FROM `T6`;
SELECT `C1`, RIGHT(`C1`,5) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, RIGHT(`C1`,0) FROM `T7`;
SELECT `C1`, RIGHT(`C1`,1) FROM `T7`;
SELECT `C1`, RIGHT(`C1`,2) FROM `T7`;
@@ -108,26 +100,6 @@ SELECT `C1`, RIGHT(`C1`,3) FROM `T9`;
SELECT `C1`, RIGHT(`C1`,4) FROM `T9`;
SELECT `C1`, RIGHT(`C1`,5) FROM `T9`;
-#BDB
-SELECT `C1`, RIGHT(`C1`,0) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,1) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,2) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,3) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,4) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,5) FROM `T10`;
-SELECT `C1`, RIGHT(`C1`,0) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,1) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,2) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,3) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,4) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,5) FROM `T11`;
-SELECT `C1`, RIGHT(`C1`,0) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,1) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,2) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,3) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,4) FROM `T12`;
-SELECT `C1`, RIGHT(`C1`,5) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -137,6 +109,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_right_utf8.test b/mysql-test/suite/jp/t/jp_right_utf8.test
index 863755c1dcf..0f435fb54ed 100644
--- a/mysql-test/suite/jp/t/jp_right_utf8.test
+++ b/mysql-test/suite/jp/t/jp_right_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
#InnoDB
SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器`;
@@ -86,7 +79,7 @@ SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器`;
SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器`;
SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器`;
SELECT `鐚o`, RIGHT(`鐚o`,1) FROM `鐚器`;
SELECT `鐚o`, RIGHT(`鐚o`,2) FROM `鐚器`;
@@ -106,26 +99,6 @@ SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器`;
SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器`;
SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, RIGHT(`鐚o`,5) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -135,6 +108,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_rpad_sjis.test b/mysql-test/suite/jp/t/jp_rpad_sjis.test
index cc008631548..16715ee7e93 100644
--- a/mysql-test/suite/jp/t/jp_rpad_sjis.test
+++ b/mysql-test/suite/jp/t/jp_rpad_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
#InnoDB
SELECT `bP`, RPAD(`bP`,5,'') FROM `sP`;
@@ -57,16 +50,11 @@ SELECT `bP`, RPAD(`bP`,5,'') FROM `sS`;
SELECT `bP`, RPAD(`bP`,5,'w') FROM `sT`;
SELECT `bP`, RPAD(`bP`,5,'\' ) FROM `sU`;
-#HEAP
+#MEMORY
SELECT `bP`, RPAD(`bP`,5,'') FROM `sV`;
SELECT `bP`, RPAD(`bP`,5,'w') FROM `sW`;
SELECT `bP`, RPAD(`bP`,5,'\' ) FROM `sX`;
-#BDB
-SELECT `bP`, RPAD(`bP`,5,'') FROM `sPO`;
-SELECT `bP`, RPAD(`bP`,5,'w') FROM `sPP`;
-SELECT `bP`, RPAD(`bP`,5,'\' ) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -76,6 +64,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_rpad_ucs2.test b/mysql-test/suite/jp/t/jp_rpad_ucs2.test
index ca5059497d3..9f39c20e7a9 100644
--- a/mysql-test/suite/jp/t/jp_rpad_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_rpad_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
@@ -45,9 +40,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 `C1`, RPAD(`C1`,5,'。') FROM `T1`;
@@ -59,16 +51,11 @@ SELECT `C1`, RPAD(`C1`,5,'。') FROM `T4`;
SELECT `C1`, RPAD(`C1`,5,'X') FROM `T5`;
SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, RPAD(`C1`,5,'。') FROM `T7`;
SELECT `C1`, RPAD(`C1`,5,'X') FROM `T8`;
SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T9`;
-#BDB
-SELECT `C1`, RPAD(`C1`,5,'。') FROM `T10`;
-SELECT `C1`, RPAD(`C1`,5,'X') FROM `T11`;
-SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -78,6 +65,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_rpad_ujis.test b/mysql-test/suite/jp/t/jp_rpad_ujis.test
index d7725b80af7..ad150f36587 100644
--- a/mysql-test/suite/jp/t/jp_rpad_ujis.test
+++ b/mysql-test/suite/jp/t/jp_rpad_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 `C1`, RPAD(`C1`,5,'。') FROM `T1`;
@@ -58,16 +50,11 @@ SELECT `C1`, RPAD(`C1`,5,'。') FROM `T4`;
SELECT `C1`, RPAD(`C1`,5,'X') FROM `T5`;
SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, RPAD(`C1`,5,'。') FROM `T7`;
SELECT `C1`, RPAD(`C1`,5,'X') FROM `T8`;
SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T9`;
-#BDB
-SELECT `C1`, RPAD(`C1`,5,'。') FROM `T10`;
-SELECT `C1`, RPAD(`C1`,5,'X') FROM `T11`;
-SELECT `C1`, RPAD(`C1`,5,'丄' ) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -77,6 +64,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_rpad_utf8.test b/mysql-test/suite/jp/t/jp_rpad_utf8.test
index b5a335bc6ce..329165f1abc 100644
--- a/mysql-test/suite/jp/t/jp_rpad_utf8.test
+++ b/mysql-test/suite/jp/t/jp_rpad_utf8.test
@@ -1,3 +1,6 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
+
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +11,6 @@ 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
#
@@ -26,12 +26,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
@@ -42,9 +39,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
#InnoDB
SELECT `鐚o`, RPAD(`鐚o`,5,'鐔') FROM `鐚器`;
@@ -56,16 +50,11 @@ SELECT `鐚o`, RPAD(`鐚o`,5,'鐔') FROM `鐚器`;
SELECT `鐚o`, RPAD(`鐚o`,5,'鐚') FROM `鐚器`;
SELECT `鐚o`, RPAD(`鐚o`,5,'筝' ) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`, RPAD(`鐚o`,5,'鐔') FROM `鐚器`;
SELECT `鐚o`, RPAD(`鐚o`,5,'鐚') FROM `鐚器`;
SELECT `鐚o`, RPAD(`鐚o`,5,'筝' ) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, RPAD(`鐚o`,5,'鐔') FROM `鐚器鐚`;
-SELECT `鐚o`, RPAD(`鐚o`,5,'鐚') FROM `鐚器鐚`;
-SELECT `鐚o`, RPAD(`鐚o`,5,'筝' ) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -75,6 +64,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_rtrim_sjis.test b/mysql-test/suite/jp/t/jp_rtrim_sjis.test
index c80cf9410f9..6a9ded05bec 100644
--- a/mysql-test/suite/jp/t/jp_rtrim_sjis.test
+++ b/mysql-test/suite/jp/t/jp_rtrim_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,7 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
--enable_warnings
#
@@ -25,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(8), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sP` VALUES ('渦慨 ');
@@ -104,30 +102,6 @@ INSERT INTO `sX` VALUES ('\\\\\ ');
INSERT INTO `sX` VALUES ('\\\\\@');
INSERT INTO `sX` VALUES ('\\\\\@@');
INSERT INTO `sX` VALUES ('\\\\\@@@');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPO` VALUES ('渦慨 ');
-INSERT INTO `sPO` VALUES ('渦慨 ');
-INSERT INTO `sPO` VALUES ('渦慨 ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `sPO` VALUES ('渦慨@');
-INSERT INTO `sPO` VALUES ('渦慨@@');
-INSERT INTO `sPO` VALUES ('渦慨@@@');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPP` VALUES (' ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `sPP` VALUES ('@');
-INSERT INTO `sPP` VALUES ('@@');
-INSERT INTO `sPP` VALUES ('@@@');
-INSERT INTO `sPQ` VALUES ('\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\ ');
-INSERT INTO `sPQ` VALUES ('\\\\\ ');
-INSERT INTO `sPQ` VALUES ('\\\\\ ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `sPQ` VALUES ('\\\\\@');
-INSERT INTO `sPQ` VALUES ('\\\\\@@');
-INSERT INTO `sPQ` VALUES ('\\\\\@@@');
#InnoDB
SELECT RTRIM(`bP`) from `sP`;
@@ -139,16 +113,11 @@ SELECT RTRIM(`bP`) from `sS`;
SELECT RTRIM(`bP`) from `sT`;
SELECT RTRIM(`bP`) from `sU`;
-#HEAP
+#MEMORY
SELECT RTRIM(`bP`) from `sV`;
SELECT RTRIM(`bP`) from `sW`;
SELECT RTRIM(`bP`) from `sX`;
-#BDB
-SELECT RTRIM(`bP`) from `sPO`;
-SELECT RTRIM(`bP`) from `sPP`;
-SELECT RTRIM(`bP`) from `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -158,6 +127,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_rtrim_ucs2.test b/mysql-test/suite/jp/t/jp_rtrim_ucs2.test
index 0fac38d12d1..84cd1ce4b2a 100644
--- a/mysql-test/suite/jp/t/jp_rtrim_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_rtrim_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -27,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES ('アイウエオ ');
@@ -106,30 +103,6 @@ INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡  ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡   ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ  ');
-INSERT INTO `T10` VALUES ('アイウエオ   ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお  ');
-INSERT INTO `T11` VALUES ('あいうえお   ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡  ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡   ');
#InnoDB
SELECT RTRIM(`C1`) from `T1`;
@@ -141,16 +114,11 @@ SELECT RTRIM(`C1`) from `T4`;
SELECT RTRIM(`C1`) from `T5`;
SELECT RTRIM(`C1`) from `T6`;
-#HEAP
+#MEMORY
SELECT RTRIM(`C1`) from `T7`;
SELECT RTRIM(`C1`) from `T8`;
SELECT RTRIM(`C1`) from `T9`;
-#BDB
-SELECT RTRIM(`C1`) from `T10`;
-SELECT RTRIM(`C1`) from `T11`;
-SELECT RTRIM(`C1`) from `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -160,6 +128,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_rtrim_ujis.test b/mysql-test/suite/jp/t/jp_rtrim_ujis.test
index 46cda84dd55..5037419d616 100644
--- a/mysql-test/suite/jp/t/jp_rtrim_ujis.test
+++ b/mysql-test/suite/jp/t/jp_rtrim_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -26,12 +26,9 @@ CREATE TABLE `T3` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T1` VALUES ('アイウエオ ');
@@ -105,30 +102,6 @@ INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡 ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡  ');
INSERT INTO `T9` VALUES ('龔龖龗龞龡   ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T10` VALUES ('アイウエオ ');
-INSERT INTO `T10` VALUES ('アイウエオ  ');
-INSERT INTO `T10` VALUES ('アイウエオ   ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T11` VALUES ('あいうえお ');
-INSERT INTO `T11` VALUES ('あいうえお  ');
-INSERT INTO `T11` VALUES ('あいうえお   ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `T12` VALUES ('龔龖龗龞龡 ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡  ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡   ');
#InnoDB
SELECT RTRIM(`C1`) from `T1`;
@@ -140,16 +113,11 @@ SELECT RTRIM(`C1`) from `T4`;
SELECT RTRIM(`C1`) from `T5`;
SELECT RTRIM(`C1`) from `T6`;
-#HEAP
+#MEMORY
SELECT RTRIM(`C1`) from `T7`;
SELECT RTRIM(`C1`) from `T8`;
SELECT RTRIM(`C1`) from `T9`;
-#BDB
-SELECT RTRIM(`C1`) from `T10`;
-SELECT RTRIM(`C1`) from `T11`;
-SELECT RTRIM(`C1`) from `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -159,6 +127,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_rtrim_utf8.test b/mysql-test/suite/jp/t/jp_rtrim_utf8.test
index 4880a42db3e..f1161d16be7 100644
--- a/mysql-test/suite/jp/t/jp_rtrim_utf8.test
+++ b/mysql-test/suite/jp/t/jp_rtrim_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,7 +10,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
--enable_warnings
#
@@ -24,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(8), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔 ');
@@ -103,30 +101,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊 ');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊<');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊<');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊<');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔 ');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔 ');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔 ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔泣');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔泣');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔泣');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES (' ');
-INSERT INTO `鐚器鐚` VALUES (' ');
-INSERT INTO `鐚器鐚` VALUES (' ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊 ');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊 ');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊 ');
-# Double byte spaces are not supposed to be trimed
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊<');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊<');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊<');
#InnoDB
SELECT RTRIM(`鐚o`) from `鐚器`;
@@ -138,16 +112,11 @@ SELECT RTRIM(`鐚o`) from `鐚器`;
SELECT RTRIM(`鐚o`) from `鐚器`;
SELECT RTRIM(`鐚o`) from `鐚器`;
-#HEAP
+#MEMORY
SELECT RTRIM(`鐚o`) from `鐚器`;
SELECT RTRIM(`鐚o`) from `鐚器`;
SELECT RTRIM(`鐚o`) from `鐚器`;
-#BDB
-SELECT RTRIM(`鐚o`) from `鐚器鐚`;
-SELECT RTRIM(`鐚o`) from `鐚器鐚`;
-SELECT RTRIM(`鐚o`) from `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -157,6 +126,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_select_sjis.test b/mysql-test/suite/jp/t/jp_select_sjis.test
index d84ed7a4b2c..f96dfadcef2 100644
--- a/mysql-test/suite/jp/t/jp_select_sjis.test
+++ b/mysql-test/suite/jp/t/jp_select_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engi
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -48,9 +44,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
#InnoDB
SELECT * FROM `sP`;
@@ -60,14 +53,10 @@ SELECT * FROM `sR`;
SELECT * FROM `sS`;
SELECT * FROM `sT`;
SELECT * FROM `sU`;
-#Heap
+#MEMORY
SELECT * FROM `sV`;
SELECT * FROM `sW`;
SELECT * FROM `sX`;
-#BDB
-SELECT * FROM `sPO`;
-SELECT * FROM `sPP`;
-SELECT * FROM `sPQ`;
drop table `sP`;
drop table `sQ`;
@@ -78,6 +67,3 @@ drop table `sU`;
drop table `sV`;
drop table `sW`;
drop table `sX`;
-drop table `sPO`;
-drop table `sPP`;
-drop table `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_select_ucs2.test b/mysql-test/suite/jp/t/jp_select_ucs2.test
index 2e4602e7ea4..9acca2d6dfb 100644
--- a/mysql-test/suite/jp/t/jp_select_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_select_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -32,9 +30,6 @@ CREATE TABLE `T6` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = myi
CREATE TABLE `T7` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T8` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T9` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ucs2 engine = bdb;
#INSERT the following data in each table
# jisx0201 hankaku-katakana data
@@ -116,31 +111,6 @@ INSERT INTO `T9` VALUES
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
- ('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-
-INSERT INTO `T11` VALUES
- ('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-
-INSERT INTO `T12` VALUES
- ('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-
#InnoDB
SELECT * FROM `T1`;
SELECT * FROM `T2`;
@@ -153,10 +123,6 @@ SELECT * FROM `T6`;
SELECT * FROM `T7`;
SELECT * FROM `T8`;
SELECT * FROM `T9`;
-#BDB
-SELECT * FROM `T10`;
-SELECT * FROM `T11`;
-SELECT * FROM `T12`;
drop table `T1`;
drop table `T2`;
@@ -167,6 +133,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/t/jp_select_ujis.test b/mysql-test/suite/jp/t/jp_select_ujis.test
index 4ad9e581a92..0c01e614cfb 100644
--- a/mysql-test/suite/jp/t/jp_select_ujis.test
+++ b/mysql-test/suite/jp/t/jp_select_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(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = inn
CREATE TABLE `T4` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = ujis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -49,9 +44,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
#InnoDB
SELECT * FROM `T1`;
@@ -61,14 +53,10 @@ SELECT * FROM `T3`;
SELECT * FROM `T4`;
SELECT * FROM `T5`;
SELECT * FROM `T6`;
-#Heap
+#MEMORY
SELECT * FROM `T7`;
SELECT * FROM `T8`;
SELECT * FROM `T9`;
-#BDB
-SELECT * FROM `T10`;
-SELECT * FROM `T11`;
-SELECT * FROM `T12`;
drop table `T1`;
drop table `T2`;
@@ -79,6 +67,3 @@ drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
-drop table `T10`;
-drop table `T11`;
-drop table `T12`;
diff --git a/mysql-test/suite/jp/t/jp_select_utf8.test b/mysql-test/suite/jp/t/jp_select_utf8.test
index e614b9ccfb0..08157ccec11 100644
--- a/mysql-test/suite/jp/t/jp_select_utf8.test
+++ b/mysql-test/suite/jp/t/jp_select_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = i
CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -47,9 +43,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
#InnoDB
SELECT * FROM `鐚器`;
@@ -59,14 +52,10 @@ SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
-#Heap
+#MEMORY
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
-#BDB
-SELECT * FROM `鐚器鐚`;
-SELECT * FROM `鐚器鐚`;
-SELECT * FROM `鐚器鐚`;
drop table `鐚器`;
drop table `鐚器`;
@@ -77,6 +66,3 @@ drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
drop table `鐚器`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
-drop table `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_subquery_sjis.test b/mysql-test/suite/jp/t/jp_subquery_sjis.test
index 5292c7a2519..aaaa71b0d39 100644
--- a/mysql-test/suite/jp/t/jp_subquery_sjis.test
+++ b/mysql-test/suite/jp/t/jp_subquery_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -33,18 +32,12 @@ CREATE TABLE `sTa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine
CREATE TABLE `sTb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sUb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPOb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPPb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPQb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
+CREATE TABLE `sVa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sVb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sWb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXa` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sXb` (`bP` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = MEMORY;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -69,12 +62,6 @@ INSERT INTO `sWa` VALUES (''),(''),('');
INSERT INTO `sWb` VALUES ('');
INSERT INTO `sXa` VALUES ('\'),('\'),('\');
INSERT INTO `sXb` VALUES ('\');
-INSERT INTO `sPOa` VALUES (''),(''),('');
-INSERT INTO `sPOb` VALUES ('');
-INSERT INTO `sPPa` VALUES (''),(''),('');
-INSERT INTO `sPPb` VALUES ('');
-INSERT INTO `sPQa` VALUES ('\'),('\'),('\');
-INSERT INTO `sPQb` VALUES ('\');
#Test for innodb
SELECT `bP` FROM `sPa` WHERE `bP` IN (SELECT `bP` FROM `sPb`);
@@ -104,15 +91,6 @@ SELECT `bP` FROM `sWa` WHERE NOT EXISTS (SELECT `bP` FROM `sWb` WHERE `
SELECT `bP` FROM `sXa` WHERE `bP` IN (SELECT `bP` FROM `sXb`);
SELECT `bP` FROM `sXa` WHERE EXISTS (SELECT `bP` FROM `sXb` WHERE `sXa`.`bP` = `sXb`.`bP`);
SELECT `bP` FROM `sXa` WHERE NOT EXISTS (SELECT `bP` FROM `sXb` WHERE `sXa`.`bP` = `sXb`.`bP`);
-SELECT `bP` FROM `sPOa` WHERE `bP` IN (SELECT `bP` FROM `sPOb`);
-SELECT `bP` FROM `sPOa` WHERE EXISTS (SELECT `bP` FROM `sPOb` WHERE `sPOa`.`bP` = `sPOb`.`bP`);
-SELECT `bP` FROM `sPOa` WHERE NOT EXISTS (SELECT `bP` FROM `sPOb` WHERE `sPOa`.`bP` = `sPOb`.`bP`);
-SELECT `bP` FROM `sPPa` WHERE `bP` IN (SELECT `bP` FROM `sPPb`);
-SELECT `bP` FROM `sPPa` WHERE EXISTS (SELECT `bP` FROM `sPPb` WHERE `sPPa`.`bP` = `sPPb`.`bP`);
-SELECT `bP` FROM `sPPa` WHERE NOT EXISTS (SELECT `bP` FROM `sPPb` WHERE `sPPa`.`bP` = `sPPb`.`bP`);
-SELECT `bP` FROM `sPQa` WHERE `bP` IN (SELECT `bP` FROM `sPQb`);
-SELECT `bP` FROM `sPQa` WHERE EXISTS (SELECT `bP` FROM `sPQb` WHERE `sPQa`.`bP` = `sPQb`.`bP`);
-SELECT `bP` FROM `sPQa` WHERE NOT EXISTS (SELECT `bP` FROM `sPQb` WHERE `sPQa`.`bP` = `sPQb`.`bP`);
DROP TABLE `sPa`;
DROP TABLE `sPb`;
@@ -132,9 +110,3 @@ DROP TABLE `sWa`;
DROP TABLE `sWb`;
DROP TABLE `sXa`;
DROP TABLE `sXb`;
-DROP TABLE `sPOa`;
-DROP TABLE `sPOb`;
-DROP TABLE `sPPa`;
-DROP TABLE `sPPb`;
-DROP TABLE `sPQa`;
-DROP TABLE `sPQb`;
diff --git a/mysql-test/suite/jp/t/jp_subquery_ucs2.test b/mysql-test/suite/jp/t/jp_subquery_ucs2.test
index 311433438f4..1361235f8a5 100644
--- a/mysql-test/suite/jp/t/jp_subquery_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_subquery_ucs2.test
@@ -1,18 +1,25 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
--enable_warnings
#
@@ -35,18 +42,12 @@ CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine
CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = heap;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = MEMORY;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -71,12 +72,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
#Test for innodb
SELECT `C1` FROM `T1a` WHERE `C1` IN (SELECT `C1` FROM `T1b`);
@@ -106,15 +101,6 @@ SELECT `C1` FROM `T8a` WHERE NOT EXISTS (SELECT `C1` FROM `T8b` WHERE `
SELECT `C1` FROM `T9a` WHERE `C1` IN (SELECT `C1` FROM `T9b`);
SELECT `C1` FROM `T9a` WHERE EXISTS (SELECT `C1` FROM `T9b` WHERE `T9a`.`C1` = `T9b`.`C1`);
SELECT `C1` FROM `T9a` WHERE NOT EXISTS (SELECT `C1` FROM `T9b` WHERE `T9a`.`C1` = `T9b`.`C1`);
-SELECT `C1` FROM `T10a` WHERE `C1` IN (SELECT `C1` FROM `T10b`);
-SELECT `C1` FROM `T10a` WHERE EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-SELECT `C1` FROM `T10a` WHERE NOT EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-SELECT `C1` FROM `T11a` WHERE `C1` IN (SELECT `C1` FROM `T11b`);
-SELECT `C1` FROM `T11a` WHERE EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-SELECT `C1` FROM `T11a` WHERE NOT EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-SELECT `C1` FROM `T12a` WHERE `C1` IN (SELECT `C1` FROM `T12b`);
-SELECT `C1` FROM `T12a` WHERE EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
-SELECT `C1` FROM `T12a` WHERE NOT EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
DROP TABLE `T1a`;
DROP TABLE `T1b`;
@@ -134,10 +120,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
-
diff --git a/mysql-test/suite/jp/t/jp_subquery_ujis.test b/mysql-test/suite/jp/t/jp_subquery_ujis.test
index 67c9f00fd85..1132f47031d 100644
--- a/mysql-test/suite/jp/t/jp_subquery_ujis.test
+++ b/mysql-test/suite/jp/t/jp_subquery_ujis.test
@@ -1,18 +1,25 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
-drop table if exists `T1`;
-drop table if exists `T2`;
-drop table if exists `T3`;
-drop table if exists `T4`;
-drop table if exists `T5`;
-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`;
+DROP TABLE IF EXISTS `T1a`;
+DROP TABLE IF EXISTS `T1b`;
+DROP TABLE IF EXISTS `T2a`;
+DROP TABLE IF EXISTS `T2b`;
+DROP TABLE IF EXISTS `T3a`;
+DROP TABLE IF EXISTS `T3b`;
+DROP TABLE IF EXISTS `T4a`;
+DROP TABLE IF EXISTS `T4b`;
+DROP TABLE IF EXISTS `T5a`;
+DROP TABLE IF EXISTS `T5b`;
+DROP TABLE IF EXISTS `T6a`;
+DROP TABLE IF EXISTS `T6b`;
+DROP TABLE IF EXISTS `T7a`;
+DROP TABLE IF EXISTS `T7b`;
+DROP TABLE IF EXISTS `T8a`;
+DROP TABLE IF EXISTS `T8b`;
+DROP TABLE IF EXISTS `T9a`;
+DROP TABLE IF EXISTS `T9b`;
--enable_warnings
#
@@ -34,18 +41,12 @@ CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine
CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = heap;
+CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = ujis engine = MEMORY;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -70,12 +71,6 @@ INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
INSERT INTO `T8b` VALUES ('あ');
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `T9b` VALUES ('龔');
-INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
-INSERT INTO `T10b` VALUES ('ア');
-INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
-INSERT INTO `T11b` VALUES ('あ');
-INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
-INSERT INTO `T12b` VALUES ('龔');
#Test for innodb
SELECT `C1` FROM `T1a` WHERE `C1` IN (SELECT `C1` FROM `T1b`);
@@ -105,15 +100,6 @@ SELECT `C1` FROM `T8a` WHERE NOT EXISTS (SELECT `C1` FROM `T8b` WHERE `
SELECT `C1` FROM `T9a` WHERE `C1` IN (SELECT `C1` FROM `T9b`);
SELECT `C1` FROM `T9a` WHERE EXISTS (SELECT `C1` FROM `T9b` WHERE `T9a`.`C1` = `T9b`.`C1`);
SELECT `C1` FROM `T9a` WHERE NOT EXISTS (SELECT `C1` FROM `T9b` WHERE `T9a`.`C1` = `T9b`.`C1`);
-SELECT `C1` FROM `T10a` WHERE `C1` IN (SELECT `C1` FROM `T10b`);
-SELECT `C1` FROM `T10a` WHERE EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-SELECT `C1` FROM `T10a` WHERE NOT EXISTS (SELECT `C1` FROM `T10b` WHERE `T10a`.`C1` = `T10b`.`C1`);
-SELECT `C1` FROM `T11a` WHERE `C1` IN (SELECT `C1` FROM `T11b`);
-SELECT `C1` FROM `T11a` WHERE EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-SELECT `C1` FROM `T11a` WHERE NOT EXISTS (SELECT `C1` FROM `T11b` WHERE `T11a`.`C1` = `T11b`.`C1`);
-SELECT `C1` FROM `T12a` WHERE `C1` IN (SELECT `C1` FROM `T12b`);
-SELECT `C1` FROM `T12a` WHERE EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
-SELECT `C1` FROM `T12a` WHERE NOT EXISTS (SELECT `C1` FROM `T12b` WHERE `T12a`.`C1` = `T12b`.`C1`);
DROP TABLE `T1a`;
DROP TABLE `T1b`;
@@ -133,10 +119,3 @@ DROP TABLE `T8a`;
DROP TABLE `T8b`;
DROP TABLE `T9a`;
DROP TABLE `T9b`;
-DROP TABLE `T10a`;
-DROP TABLE `T10b`;
-DROP TABLE `T11a`;
-DROP TABLE `T11b`;
-DROP TABLE `T12a`;
-DROP TABLE `T12b`;
-
diff --git a/mysql-test/suite/jp/t/jp_subquery_utf8.test b/mysql-test/suite/jp/t/jp_subquery_utf8.test
index 97c2df8ce30..c9df0a4ac34 100644
--- a/mysql-test/suite/jp/t/jp_subquery_utf8.test
+++ b/mysql-test/suite/jp/t/jp_subquery_utf8.test
@@ -1,3 +1,6 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
+
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +11,6 @@ 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
#
@@ -32,18 +32,12 @@ CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 eng
CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器a` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器b` (`鐚o` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
#insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -68,12 +62,6 @@ 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 `鐚o` FROM `鐚器a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器b`);
@@ -85,6 +73,7 @@ SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b`
SELECT `鐚o` FROM `鐚器a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器b`);
SELECT `鐚o` FROM `鐚器a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
+#Test for myisam
SELECT `鐚o` FROM `鐚器a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器b`);
SELECT `鐚o` FROM `鐚器a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
@@ -94,6 +83,7 @@ SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b`
SELECT `鐚o` FROM `鐚器a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器b`);
SELECT `鐚o` FROM `鐚器a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
+#Test for memory
SELECT `鐚o` FROM `鐚器a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器b`);
SELECT `鐚o` FROM `鐚器a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
@@ -103,15 +93,6 @@ SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b`
SELECT `鐚o` FROM `鐚器a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器b`);
SELECT `鐚o` FROM `鐚器a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
SELECT `鐚o` FROM `鐚器a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器b` WHERE `鐚器a`.`鐚o` = `鐚器b`.`鐚o`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器鐚b`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器鐚b`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE `鐚o` IN (SELECT `鐚o` FROM `鐚器鐚b`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
-SELECT `鐚o` FROM `鐚器鐚a` WHERE NOT EXISTS (SELECT `鐚o` FROM `鐚器鐚b` WHERE `鐚器鐚a`.`鐚o` = `鐚器鐚b`.`鐚o`);
DROP TABLE `鐚器a`;
DROP TABLE `鐚器b`;
@@ -131,9 +112,3 @@ 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`;
diff --git a/mysql-test/suite/jp/t/jp_substring_sjis.test b/mysql-test/suite/jp/t/jp_substring_sjis.test
index ac929114880..5b956e8e7a2 100644
--- a/mysql-test/suite/jp/t/jp_substring_sjis.test
+++ b/mysql-test/suite/jp/t/jp_substring_sjis.test
@@ -1,3 +1,6 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
+
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +12,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +27,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sQ` VALUES (''),(''),(''),(''),(''),('');
@@ -43,9 +40,6 @@ INSERT INTO `sU` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\')
INSERT INTO `sV` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
INSERT INTO `sW` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `sX` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
-INSERT INTO `sPO` VALUES ('渦慨'),('渦慨'),('渦'),('渦'),(''),('');
-INSERT INTO `sPP` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `sPQ` VALUES ('\\\\\'),('\\\\'),('\\\'),('\\'),('\'),('');
#InnoDB
SELECT `bP`, SUBSTRING(`bP`,0) FROM `sP`;
@@ -223,7 +217,7 @@ SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sU`;
SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sU`;
SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sU`;
-#HEAP
+#MEMORY
SELECT `bP`, SUBSTRING(`bP`,0) FROM `sV`;
SELECT `bP`, SUBSTRING(`bP`,1) FROM `sV`;
SELECT `bP`, SUBSTRING(`bP`,2) FROM `sV`;
@@ -311,94 +305,6 @@ SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sX`;
SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sX`;
SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sX`;
-#BDB
-SELECT `bP`, SUBSTRING(`bP`,0) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,2) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,3) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,4) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,5) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,6) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 0) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 2) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 3) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 4) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 5) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 6) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1,0) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1,1) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1,2) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1,3) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1,4) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1,5) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP`,1,6) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 0) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 1) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 2) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 3) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sPO`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sPO`;
-
-SELECT `bP`, SUBSTRING(`bP`,0) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,2) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,3) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,4) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,5) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,6) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 0) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 2) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 3) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 4) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 5) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 6) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1,0) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1,1) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1,2) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1,3) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1,4) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1,5) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP`,1,6) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 0) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 1) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 2) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 3) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sPP`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sPP`;
-
-SELECT `bP`, SUBSTRING(`bP`,0) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,2) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,3) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,4) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,5) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,6) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 0) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 2) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 3) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 4) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 5) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 6) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1,0) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1,1) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1,2) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1,3) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1,4) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1,5) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP`,1,6) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 0) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 1) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 2) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 3) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 4) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 5) FROM `sPQ`;
-SELECT `bP`, SUBSTRING(`bP` FROM 1 FOR 6) FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -408,6 +314,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_substring_ucs2.test b/mysql-test/suite/jp/t/jp_substring_ucs2.test
index f3cd5550072..febad324237 100644
--- a/mysql-test/suite/jp/t/jp_substring_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_substring_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
@@ -45,9 +40,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 ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
# Test of SUBSTRING(str,pos) and SUBSTRING(str FROM pos)
# is not available until the bug #5364 is fixed
@@ -228,7 +220,7 @@ SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T6`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T6`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T6`;
-#HEAP
+#MEMORY
#SELECT `C1`, SUBSTRING(`C1`,0) FROM `T7`;
#SELECT `C1`, SUBSTRING(`C1`,1) FROM `T7`;
#SELECT `C1`, SUBSTRING(`C1`,2) FROM `T7`;
@@ -316,94 +308,6 @@ SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T9`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T9`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T9`;
-#BDB
-#SELECT `C1`, SUBSTRING(`C1`,0) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1`,1) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1`,2) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1`,3) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1`,4) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1`,5) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1`,6) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T10`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T10`;
-
-#SELECT `C1`, SUBSTRING(`C1`,0) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1`,1) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1`,2) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1`,3) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1`,4) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1`,5) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1`,6) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T11`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T11`;
-
-#SELECT `C1`, SUBSTRING(`C1`,0) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1`,1) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1`,2) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1`,3) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1`,4) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1`,5) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1`,6) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T12`;
-#SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -413,6 +317,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_substring_ujis.test b/mysql-test/suite/jp/t/jp_substring_ujis.test
index c201c7148da..df35d91cacc 100644
--- a/mysql-test/suite/jp/t/jp_substring_ujis.test
+++ b/mysql-test/suite/jp/t/jp_substring_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 `C1`, SUBSTRING(`C1`,0) FROM `T1`;
@@ -224,7 +216,7 @@ SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T6`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T6`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`, SUBSTRING(`C1`,0) FROM `T7`;
SELECT `C1`, SUBSTRING(`C1`,1) FROM `T7`;
SELECT `C1`, SUBSTRING(`C1`,2) FROM `T7`;
@@ -312,94 +304,6 @@ SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T9`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T9`;
SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T9`;
-#BDB
-SELECT `C1`, SUBSTRING(`C1`,0) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,2) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,3) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,4) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,5) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,6) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T10`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T10`;
-
-SELECT `C1`, SUBSTRING(`C1`,0) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,2) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,3) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,4) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,5) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,6) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T11`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T11`;
-
-SELECT `C1`, SUBSTRING(`C1`,0) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,2) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,3) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,4) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,5) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,6) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 0) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 2) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 3) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 4) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 5) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 6) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,0) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,1) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,2) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,3) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,4) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,5) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1`,1,6) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 0) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 1) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 2) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 3) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 4) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 5) FROM `T12`;
-SELECT `C1`, SUBSTRING(`C1` FROM 1 FOR 6) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -409,6 +313,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_substring_utf8.test b/mysql-test/suite/jp/t/jp_substring_utf8.test
index 9f88115c899..5408afd8482 100644
--- a/mysql-test/suite/jp/t/jp_substring_utf8.test
+++ b/mysql-test/suite/jp/t/jp_substring_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),(
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
INSERT INTO `鐚器` VALUES (''),(''),(''),(''),(''),('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔'),('鐔縁讐鐔鰹輯'),('鐔縁讐鐔'),('鐔縁讐'),('鐔'),('');
-INSERT INTO `鐚器鐚` VALUES (''),(''),(''),(''),(''),('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊'),('蘊蘊蘊蘊'),('蘊蘊蘊'),('蘊蘊'),('蘊'),('');
#InnoDB
SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器`;
@@ -222,7 +215,7 @@ SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器`;
SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器`;
SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器`;
SELECT `鐚o`, SUBSTRING(`鐚o`,1) FROM `鐚器`;
SELECT `鐚o`, SUBSTRING(`鐚o`,2) FROM `鐚器`;
@@ -310,94 +303,6 @@ SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器`;
SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器`;
SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器`;
-#BDB
-SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器鐚`;
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器鐚`;
-
-SELECT `鐚o`, SUBSTRING(`鐚o`,0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o`,1,6) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 0) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 1) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 2) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 3) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 4) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 5) FROM `鐚器鐚`;
-SELECT `鐚o`, SUBSTRING(`鐚o` FROM 1 FOR 6) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -407,6 +312,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_trim_sjis.test b/mysql-test/suite/jp/t/jp_trim_sjis.test
index 0f6821605ed..4a2b6b98b54 100644
--- a/mysql-test/suite/jp/t/jp_trim_sjis.test
+++ b/mysql-test/suite/jp/t/jp_trim_sjis.test
@@ -1,219 +1,13 @@
---character_set sjis
---disable_warnings
-drop table if exists `sP`;
-drop table if exists `sQ`;
-drop table if exists `sR`;
-drop table if exists `sS`;
-drop table if exists `sT`;
-drop table if exists `sU`;
-drop table if exists `sV`;
-drop table if exists `sW`;
-drop table if exists `sX`;
-drop table if exists `sPO`;
---enable_warnings
-
#
# Test TRIM() function with Japanese characters sjis encoding
#
-SET NAMES sjis;
-SET character_set_database = sjis;
-
-CREATE TABLE `sP` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
-CREATE TABLE `sQ` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
-CREATE TABLE `sR` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = innodb;
-CREATE TABLE `sS` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sT` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sU` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(12), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-
-# Nothing to trim
-INSERT INTO `sP` VALUES ('渦慨');
-# Test data for TRIM(TRAILING [remstr] FROM str)
-INSERT INTO `sP` VALUES ('渦慨偽');
-INSERT INTO `sP` VALUES ('渦慨偽');
-INSERT INTO `sP` VALUES ('渦慨偽橋');
-# Test data for TRIM(LEADING [remstr] FROM str)
-INSERT INTO `sP` VALUES ('怯桶患');
-INSERT INTO `sP` VALUES ('橋渦慨');
-INSERT INTO `sP` VALUES ('橋怯桶患');
-# Test data for TRIM(BOTH [remstr] FROM str)
-INSERT INTO `sP` VALUES ('橋怯桶患橋');
-# Test data for TRIM without [remstr] (remove spaces)
-INSERT INTO `sP` VALUES (' 渦慨 ');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES ('');
-INSERT INTO `sQ` VALUES (' ');
-INSERT INTO `sR` VALUES ('\\\\\');
-INSERT INTO `sR` VALUES ('\\\\\\');
-INSERT INTO `sR` VALUES ('\\\\\\\');
-INSERT INTO `sR` VALUES ('\\\\\\\\');
-INSERT INTO `sR` VALUES ('\\\\\\');
-INSERT INTO `sR` VALUES ('\\\\\\\');
-INSERT INTO `sR` VALUES ('\\\\\\\\');
-INSERT INTO `sR` VALUES ('\\\\\\\\\\\');
-INSERT INTO `sR` VALUES (' \\\\\ ');
-
-INSERT INTO `sS` VALUES ('渦慨');
-INSERT INTO `sS` VALUES ('渦慨偽');
-INSERT INTO `sS` VALUES ('渦慨偽');
-INSERT INTO `sS` VALUES ('渦慨偽橋');
-INSERT INTO `sS` VALUES ('怯桶患');
-INSERT INTO `sS` VALUES ('橋渦慨');
-INSERT INTO `sS` VALUES ('橋怯桶患');
-INSERT INTO `sS` VALUES ('橋怯桶患橋');
-INSERT INTO `sS` VALUES (' 渦慨 ');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES ('');
-INSERT INTO `sT` VALUES (' ');
-INSERT INTO `sU` VALUES ('\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\\');
-INSERT INTO `sU` VALUES ('\\\\\\\\\\\');
-INSERT INTO `sU` VALUES (' \\\\\ ');
-
-INSERT INTO `sV` VALUES ('渦慨');
-INSERT INTO `sV` VALUES ('渦慨偽');
-INSERT INTO `sV` VALUES ('渦慨偽');
-INSERT INTO `sV` VALUES ('渦慨偽橋');
-INSERT INTO `sV` VALUES ('怯桶患');
-INSERT INTO `sV` VALUES ('橋渦慨');
-INSERT INTO `sV` VALUES ('橋怯桶患');
-INSERT INTO `sV` VALUES ('橋怯桶患橋');
-INSERT INTO `sV` VALUES (' 渦慨 ');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES ('');
-INSERT INTO `sW` VALUES (' ');
-INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\\');
-INSERT INTO `sX` VALUES ('\\\\\\\\\\\');
-INSERT INTO `sX` VALUES (' \\\\\ ');
-
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPO` VALUES ('渦慨偽');
-INSERT INTO `sPO` VALUES ('渦慨偽');
-INSERT INTO `sPO` VALUES ('渦慨偽橋');
-INSERT INTO `sPO` VALUES ('怯桶患');
-INSERT INTO `sPO` VALUES ('橋渦慨');
-INSERT INTO `sPO` VALUES ('橋怯桶患');
-INSERT INTO `sPO` VALUES ('橋怯桶患橋');
-INSERT INTO `sPO` VALUES (' 渦慨 ');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPP` VALUES (' ');
-INSERT INTO `sPQ` VALUES ('\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\\');
-INSERT INTO `sPQ` VALUES ('\\\\\\\\\\\');
-INSERT INTO `sPQ` VALUES (' \\\\\ ');
-
-#InnoDB
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sP`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sP`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sP`;
-SELECT `bP`,TRIM(`bP`) FROM `sP`;
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sQ`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sQ`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sQ`;
-SELECT `bP`,TRIM(`bP`) FROM `sQ`;
-SELECT `bP`,TRIM(TRAILING '\'FROM `bP`) FROM `sR`;
-SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sR`;
-SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sR`;
-SELECT `bP`,TRIM(`bP`) FROM `sR`;
-
-#MyISAM
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sS`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sS`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sS`;
-SELECT `bP`,TRIM(`bP`) FROM `sS`;
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sT`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sT`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sT`;
-SELECT `bP`,TRIM(`bP`) FROM `sT`;
-SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sU`;
-SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sU`;
-SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sU`;
-SELECT `bP`,TRIM(`bP`) FROM `sU`;
-
-#HEAP
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sV`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sV`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sV`;
-SELECT `bP`,TRIM(`bP`) FROM `sV`;
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sW`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sW`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sW`;
-SELECT `bP`,TRIM(`bP`) FROM `sW`;
-SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sX`;
-SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sX`;
-SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sX`;
-SELECT `bP`,TRIM(`bP`) FROM `sX`;
+--source include/have_innodb.inc
+let $engine = innodb;
+--source suite/jp/include/trim_sjis.inc
-#BDB
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sPO`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sPO`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sPO`;
-SELECT `bP`,TRIM(`bP`) FROM `sPO`;
-SELECT `bP`,TRIM(TRAILING '' FROM `bP`) FROM `sPP`;
-SELECT `bP`,TRIM(LEADING '' FROM `bP`) FROM `sPP`;
-SELECT `bP`,TRIM(BOTH '' FROM `bP`) FROM `sPP`;
-SELECT `bP`,TRIM(`bP`) FROM `sPP`;
-SELECT `bP`,TRIM(TRAILING '\' FROM `bP`) FROM `sPQ`;
-SELECT `bP`,TRIM(LEADING '\' FROM `bP`) FROM `sPQ`;
-SELECT `bP`,TRIM(BOTH '\' FROM `bP`) FROM `sPQ`;
-SELECT `bP`,TRIM(`bP`) FROM `sPQ`;
+let $engine = myisam;
+--source suite/jp/include/trim_sjis.inc
-DROP TABLE `sP`;
-DROP TABLE `sQ`;
-DROP TABLE `sR`;
-DROP TABLE `sS`;
-DROP TABLE `sT`;
-DROP TABLE `sU`;
-DROP TABLE `sV`;
-DROP TABLE `sW`;
-DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
+let $engine = memory;
+--source suite/jp/include/trim_sjis.inc
diff --git a/mysql-test/suite/jp/t/jp_trim_ucs2.test b/mysql-test/suite/jp/t/jp_trim_ucs2.test
index 1d8a12650e0..e7205019f18 100644
--- a/mysql-test/suite/jp/t/jp_trim_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_trim_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -27,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
# Nothing to trim
INSERT INTO `T1` VALUES ('アイウエオ');
@@ -123,34 +120,6 @@ INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡');
INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡 ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオカ');
-INSERT INTO `T10` VALUES ('アイウエオカカ');
-INSERT INTO `T10` VALUES ('アイウエオカカカ');
-INSERT INTO `T10` VALUES ('カアイウエオ');
-INSERT INTO `T10` VALUES ('カカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオカカカ');
-INSERT INTO `T10` VALUES (' アイウエオ ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえおか');
-INSERT INTO `T11` VALUES ('あいうえおかか');
-INSERT INTO `T11` VALUES ('あいうえおかかか');
-INSERT INTO `T11` VALUES ('かあいうえお');
-INSERT INTO `T11` VALUES ('かかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえおかかか');
-INSERT INTO `T11` VALUES (' あいうえお ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES ('丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡 ');
-
#InnoDB
SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T1`;
SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T1`;
@@ -179,7 +148,7 @@ SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T6`;
SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T6`;
SELECT `C1`,TRIM(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T7`;
SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T7`;
SELECT `C1`,TRIM(BOTH 'カ' FROM `C1`) FROM `T7`;
@@ -193,20 +162,6 @@ SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T9`;
SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T9`;
SELECT `C1`,TRIM(`C1`) FROM `T9`;
-#BDB
-SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T10`;
-SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T10`;
-SELECT `C1`,TRIM(BOTH 'カ' FROM `C1`) FROM `T10`;
-SELECT `C1`,TRIM(`C1`) FROM `T10`;
-SELECT `C1`,TRIM(TRAILING 'か' FROM `C1`) FROM `T11`;
-SELECT `C1`,TRIM(LEADING 'か' FROM `C1`) FROM `T11`;
-SELECT `C1`,TRIM(BOTH 'か' FROM `C1`) FROM `T11`;
-SELECT `C1`,TRIM(`C1`) FROM `T11`;
-SELECT `C1`,TRIM(TRAILING '丂' FROM `C1`) FROM `T12`;
-SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T12`;
-SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T12`;
-SELECT `C1`,TRIM(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -216,6 +171,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_trim_ujis.test b/mysql-test/suite/jp/t/jp_trim_ujis.test
index de401217fcf..658d066d5df 100644
--- a/mysql-test/suite/jp/t/jp_trim_ujis.test
+++ b/mysql-test/suite/jp/t/jp_trim_ujis.test
@@ -1,4 +1,5 @@
--source include/have_ujis.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `T1`;
@@ -10,7 +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`;
--enable_warnings
#
@@ -26,12 +26,9 @@ CREATE TABLE `T3` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(12), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
# Nothing to trim
INSERT INTO `T1` VALUES ('アイウエオ');
@@ -122,34 +119,6 @@ INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡');
INSERT INTO `T9` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
INSERT INTO `T9` VALUES (' 龔龖龗龞龡 ');
-INSERT INTO `T10` VALUES ('アイウエオ');
-INSERT INTO `T10` VALUES ('アイウエオカ');
-INSERT INTO `T10` VALUES ('アイウエオカカ');
-INSERT INTO `T10` VALUES ('アイウエオカカカ');
-INSERT INTO `T10` VALUES ('カアイウエオ');
-INSERT INTO `T10` VALUES ('カカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオ');
-INSERT INTO `T10` VALUES ('カカカアイウエオカカカ');
-INSERT INTO `T10` VALUES (' アイウエオ ');
-INSERT INTO `T11` VALUES ('あいうえお');
-INSERT INTO `T11` VALUES ('あいうえおか');
-INSERT INTO `T11` VALUES ('あいうえおかか');
-INSERT INTO `T11` VALUES ('あいうえおかかか');
-INSERT INTO `T11` VALUES ('かあいうえお');
-INSERT INTO `T11` VALUES ('かかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえお');
-INSERT INTO `T11` VALUES ('かかかあいうえおかかか');
-INSERT INTO `T11` VALUES (' あいうえお ');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂');
-INSERT INTO `T12` VALUES ('龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES ('丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡');
-INSERT INTO `T12` VALUES ('丂丂丂龔龖龗龞龡丂丂丂');
-INSERT INTO `T12` VALUES (' 龔龖龗龞龡 ');
-
#InnoDB
SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T1`;
SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T1`;
@@ -178,7 +147,7 @@ SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T6`;
SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T6`;
SELECT `C1`,TRIM(`C1`) FROM `T6`;
-#HEAP
+#MEMORY
SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T7`;
SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T7`;
SELECT `C1`,TRIM(BOTH 'カ' FROM `C1`) FROM `T7`;
@@ -192,20 +161,6 @@ SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T9`;
SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T9`;
SELECT `C1`,TRIM(`C1`) FROM `T9`;
-#BDB
-SELECT `C1`,TRIM(TRAILING 'カ' FROM `C1`) FROM `T10`;
-SELECT `C1`,TRIM(LEADING 'カ' FROM `C1`) FROM `T10`;
-SELECT `C1`,TRIM(BOTH 'カ' FROM `C1`) FROM `T10`;
-SELECT `C1`,TRIM(`C1`) FROM `T10`;
-SELECT `C1`,TRIM(TRAILING 'か' FROM `C1`) FROM `T11`;
-SELECT `C1`,TRIM(LEADING 'か' FROM `C1`) FROM `T11`;
-SELECT `C1`,TRIM(BOTH 'か' FROM `C1`) FROM `T11`;
-SELECT `C1`,TRIM(`C1`) FROM `T11`;
-SELECT `C1`,TRIM(TRAILING '丂' FROM `C1`) FROM `T12`;
-SELECT `C1`,TRIM(LEADING '丂' FROM `C1`) FROM `T12`;
-SELECT `C1`,TRIM(BOTH '丂' FROM `C1`) FROM `T12`;
-SELECT `C1`,TRIM(`C1`) FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -215,6 +170,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_trim_utf8.test b/mysql-test/suite/jp/t/jp_trim_utf8.test
index 0777de15c36..fd258869b9f 100644
--- a/mysql-test/suite/jp/t/jp_trim_utf8.test
+++ b/mysql-test/suite/jp/t/jp_trim_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,7 +10,6 @@ drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
drop table if exists `鐚器`;
-drop table if exists `鐚器鐚`;
--enable_warnings
#
@@ -24,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(12), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
# Nothing to trim
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
@@ -120,34 +118,6 @@ 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 (' 鐔縁讐鐔鰹輯鐔 ');
-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 ('蘊蘊蘊蘊蘊>筝');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊>筝筝');
-INSERT INTO `鐚器鐚` VALUES ('筝蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('筝筝蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('筝筝筝蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('筝筝筝蘊蘊蘊蘊蘊>筝筝');
-INSERT INTO `鐚器鐚` VALUES (' 蘊蘊蘊蘊蘊 ');
-
#InnoDB
SELECT `鐚o`,TRIM(TRAILING '鐔' FROM `鐚o`) FROM `鐚器`;
SELECT `鐚o`,TRIM(LEADING '鐔' FROM `鐚o`) FROM `鐚器`;
@@ -176,7 +146,7 @@ SELECT `鐚o`,TRIM(LEADING '筝' FROM `鐚o`) FROM `鐚器`;
SELECT `鐚o`,TRIM(BOTH '筝' FROM `鐚o`) FROM `鐚器`;
SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT `鐚o`,TRIM(TRAILING '鐔' FROM `鐚o`) FROM `鐚器`;
SELECT `鐚o`,TRIM(LEADING '鐔' FROM `鐚o`) FROM `鐚器`;
SELECT `鐚o`,TRIM(BOTH '鐔' FROM `鐚o`) FROM `鐚器`;
@@ -190,20 +160,6 @@ SELECT `鐚o`,TRIM(LEADING '筝' FROM `鐚o`) FROM `鐚器`;
SELECT `鐚o`,TRIM(BOTH '筝' FROM `鐚o`) FROM `鐚器`;
SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器`;
-#BDB
-SELECT `鐚o`,TRIM(TRAILING '鐔' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(LEADING '鐔' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(BOTH '鐔' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(TRAILING '' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(LEADING '' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(BOTH '' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(TRAILING '筝' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(LEADING '筝' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(BOTH '筝' FROM `鐚o`) FROM `鐚器鐚`;
-SELECT `鐚o`,TRIM(`鐚o`) FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -213,6 +169,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_union_ujis.test b/mysql-test/suite/jp/t/jp_union_ujis.test
index e36d18c85c0..73c9c6607ad 100644
--- a/mysql-test/suite/jp/t/jp_union_ujis.test
+++ b/mysql-test/suite/jp/t/jp_union_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
#
@@ -70,34 +68,10 @@ DROP TABLE `T1` ;
DROP TABLE `T2` ;
DROP TABLE `T3` ;
-#HEAP
-CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = HEAP;
-CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = HEAP;
-CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = HEAP;
-INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
-INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
-INSERT INTO `T3` VALUES('ウ'),('ウ'),('う'),('う'),('龗'),('龗');
-SELECT * FROM `T1` UNION DISTINCT SELECT * FROM `T2` ORDER BY `C1`;
-SELECT * FROM `T1` UNION ALL SELECT * FROM `T2` ORDER BY `C1`;
-(SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) UNION (SELECT 'う') ORDER BY `C1`;
-(SELECT 'う' AS `C1`) UNION (SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) ORDER BY `C1`;
-SELECT `C1`, COUNT(*) FROM `T1` GROUP BY `C1` UNION
-SELECT `C1`, COUNT(*) FROM `T2` GROUP BY `C1` ORDER BY `C1`;
-SELECT * FROM `T1` UNION DISTINCT
-SELECT * FROM `T2` UNION ALL
-SELECT * FROM `T3` ORDER BY `C1`;
-SELECT * FROM `T1` UNION ALL
-SELECT * FROM `T2` UNION DISTINCT
-SELECT * FROM `T3` ORDER BY `C1`;
-SELECT * FROM `T1` UNION SELECT REPEAT(`C1`,5) FROM `T2` ORDER BY `C1`;
-DROP TABLE `T1` ;
-DROP TABLE `T2` ;
-DROP TABLE `T3` ;
-
-#BDB
-CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = BDB;
-CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = BDB;
-CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = BDB;
+#MEMORY
+CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
INSERT INTO `T3` VALUES('ウ'),('ウ'),('う'),('う'),('龗'),('龗');
diff --git a/mysql-test/suite/jp/t/jp_update_sjis.test b/mysql-test/suite/jp/t/jp_update_sjis.test
index 0dc7372ae92..b977df5fb8a 100644
--- a/mysql-test/suite/jp/t/jp_update_sjis.test
+++ b/mysql-test/suite/jp/t/jp_update_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engin
CREATE TABLE `sS` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(5), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `sP` VALUES ('渦慨');
INSERT INTO `sQ` VALUES ('');
@@ -43,9 +39,6 @@ INSERT INTO `sU` VALUES ('\\\\\');
INSERT INTO `sV` VALUES ('渦慨');
INSERT INTO `sW` VALUES ('');
INSERT INTO `sX` VALUES ('\\\\\');
-INSERT INTO `sPO` VALUES ('渦慨');
-INSERT INTO `sPP` VALUES ('');
-INSERT INTO `sPQ` VALUES ('\\\\\');
UPDATE `sP` SET `bP` = ('況弦');
UPDATE `sQ` SET `bP` = ('');
@@ -56,9 +49,6 @@ UPDATE `sU` SET `bP` = ('\\\\\');
UPDATE `sV` SET `bP` = ('況弦');
UPDATE `sW` SET `bP` = ('');
UPDATE `sX` SET `bP` = ('\\\\\');
-UPDATE `sPO` SET `bP` = ('況弦');
-UPDATE `sPP` SET `bP` = ('');
-UPDATE `sPQ` SET `bP` = ('\\\\\');
#InnoDB
SELECT * FROM `sP`;
@@ -70,16 +60,11 @@ SELECT * FROM `sS`;
SELECT * FROM `sT`;
SELECT * FROM `sU`;
-#HEAP
+#MEMORY
SELECT * FROM `sV`;
SELECT * FROM `sW`;
SELECT * FROM `sX`;
-#BDB
-SELECT * FROM `sPO`;
-SELECT * FROM `sPP`;
-SELECT * FROM `sPQ`;
-
DROP TABLE `sP`;
DROP TABLE `sQ`;
DROP TABLE `sR`;
@@ -89,6 +74,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_update_ucs2.test b/mysql-test/suite/jp/t/jp_update_ucs2.test
index 7a3c1233210..33a5ce63f96 100644
--- a/mysql-test/suite/jp/t/jp_update_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_update_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
INSERT INTO `T1` VALUES ('アイウエオ');
INSERT INTO `T2` VALUES ('あいうえお');
@@ -45,9 +40,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 ('龔龖龗龞龡');
UPDATE `T1` SET `C1` = ('カキクケコ');
UPDATE `T2` SET `C1` = ('かきくけこ');
@@ -58,9 +50,6 @@ UPDATE `T6` SET `C1` = ('齗齘齚齝齞');
UPDATE `T7` SET `C1` = ('カキクケコ');
UPDATE `T8` SET `C1` = ('かきくけこ');
UPDATE `T9` SET `C1` = ('齗齘齚齝齞');
-UPDATE `T10` SET `C1` = ('カキクケコ');
-UPDATE `T11` SET `C1` = ('かきくけこ');
-UPDATE `T12` SET `C1` = ('齗齘齚齝齞');
#InnoDB
SELECT * FROM `T1`;
@@ -72,16 +61,11 @@ SELECT * FROM `T4`;
SELECT * FROM `T5`;
SELECT * FROM `T6`;
-#HEAP
+#MEMORY
SELECT * FROM `T7`;
SELECT * FROM `T8`;
SELECT * FROM `T9`;
-#BDB
-SELECT * FROM `T10`;
-SELECT * FROM `T11`;
-SELECT * FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -91,6 +75,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_update_ujis.test b/mysql-test/suite/jp/t/jp_update_ujis.test
index 852e45b9eeb..3ba009469b2 100644
--- a/mysql-test/suite/jp/t/jp_update_ujis.test
+++ b/mysql-test/suite/jp/t/jp_update_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), INDEX(`C1`)) DEFAULT CHARSET = ujis engin
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) 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 ('龔龖龗龞龡');
UPDATE `T1` SET `C1` = ('カキクケコ');
UPDATE `T2` SET `C1` = ('かきくけこ');
@@ -57,9 +49,6 @@ UPDATE `T6` SET `C1` = ('齗齘齚齝齞');
UPDATE `T7` SET `C1` = ('カキクケコ');
UPDATE `T8` SET `C1` = ('かきくけこ');
UPDATE `T9` SET `C1` = ('齗齘齚齝齞');
-UPDATE `T10` SET `C1` = ('カキクケコ');
-UPDATE `T11` SET `C1` = ('かきくけこ');
-UPDATE `T12` SET `C1` = ('齗齘齚齝齞');
#InnoDB
SELECT * FROM `T1`;
@@ -71,16 +60,11 @@ SELECT * FROM `T4`;
SELECT * FROM `T5`;
SELECT * FROM `T6`;
-#HEAP
+#MEMORY
SELECT * FROM `T7`;
SELECT * FROM `T8`;
SELECT * FROM `T9`;
-#BDB
-SELECT * FROM `T10`;
-SELECT * FROM `T11`;
-SELECT * FROM `T12`;
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -90,6 +74,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_update_utf8.test b/mysql-test/suite/jp/t/jp_update_utf8.test
index b4b3d18ecab..8dbd046a125 100644
--- a/mysql-test/suite/jp/t/jp_update_utf8.test
+++ b/mysql-test/suite/jp/t/jp_update_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,9 +10,6 @@ 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
#
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(5), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
@@ -42,9 +38,6 @@ INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
INSERT INTO `鐚器` VALUES ('鐔縁讐鐔鰹輯鐔');
INSERT INTO `鐚器` VALUES ('');
INSERT INTO `鐚器` VALUES ('蘊蘊蘊蘊蘊');
-INSERT INTO `鐚器鐚` VALUES ('鐔縁讐鐔鰹輯鐔');
-INSERT INTO `鐚器鐚` VALUES ('');
-INSERT INTO `鐚器鐚` VALUES ('蘊蘊蘊蘊蘊');
UPDATE `鐚器` SET `鐚o` = ('鐔駈酬鐔醐醜鐔');
UPDATE `鐚器` SET `鐚o` = ('');
@@ -55,9 +48,6 @@ UPDATE `鐚器` SET `鐚o` = ('藹藹藹藹藹');
UPDATE `鐚器` SET `鐚o` = ('鐔駈酬鐔醐醜鐔');
UPDATE `鐚器` SET `鐚o` = ('');
UPDATE `鐚器` SET `鐚o` = ('藹藹藹藹藹');
-UPDATE `鐚器鐚` SET `鐚o` = ('鐔駈酬鐔醐醜鐔');
-UPDATE `鐚器鐚` SET `鐚o` = ('');
-UPDATE `鐚器鐚` SET `鐚o` = ('藹藹藹藹藹');
#InnoDB
SELECT * FROM `鐚器`;
@@ -69,16 +59,11 @@ SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
-#HEAP
+#MEMORY
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
SELECT * FROM `鐚器`;
-#BDB
-SELECT * FROM `鐚器鐚`;
-SELECT * FROM `鐚器鐚`;
-SELECT * FROM `鐚器鐚`;
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -88,6 +73,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
diff --git a/mysql-test/suite/jp/t/jp_where_sjis.test b/mysql-test/suite/jp/t/jp_where_sjis.test
index 452d137f643..374905727d5 100644
--- a/mysql-test/suite/jp/t/jp_where_sjis.test
+++ b/mysql-test/suite/jp/t/jp_where_sjis.test
@@ -1,3 +1,5 @@
+--source include/have_sjis.inc
+--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `sP`;
@@ -9,9 +11,6 @@ drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
-drop table if exists `sPO`;
-drop table if exists `sPP`;
-drop table if exists `sPQ`;
--enable_warnings
#
@@ -27,12 +26,9 @@ CREATE TABLE `sR` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engi
CREATE TABLE `sS` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = myisam;
-CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = heap;
-CREATE TABLE `sPO` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPP` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
-CREATE TABLE `sPQ` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = bdb;
+CREATE TABLE `sV` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sW` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
+CREATE TABLE `sX` (`bP` char(20), INDEX(`bP`)) DEFAULT CHARSET = sjis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -48,9 +44,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
#InnoDB
SELECT * FROM `sP` WHERE `bP` = '葦桶患況弦沙悉梢';
@@ -62,33 +55,32 @@ SELECT * FROM `sS` WHERE `bP` = '葦桶患況弦沙悉梢';
SELECT * FROM `sT` WHERE `bP` = 'E';
SELECT * FROM `sU` WHERE `bP` = '\\\\\\\\\\\\\\\\\\\\';
-#Heap
+#MEMORY
SELECT * FROM `sV` WHERE `bP` = '葦桶患況弦沙悉梢';
SELECT * FROM `sW` WHERE `bP` = 'E';
SELECT * FROM `sX` WHERE `bP` = '\\\\\\\\\\\\\\\\\\\\';
-#BDB
-SELECT * FROM `sPO` WHERE `bP` = '葦桶患況弦沙悉梢';
-SELECT * FROM `sPP` WHERE `bP` = 'E';
-SELECT * FROM `sPQ` WHERE `bP` = '\\\\\\\\\\\\\\\\\\\\';
-
#Test to distinguish 0x9353 and 0x9373
+--disable_warnings
+DROP TABLE IF EXISTS t1;
+DROP TABLE IF EXISTS t2;
+DROP TABLE IF EXISTS t3;
+--enable_warnings
CREATE TABLE t1(c1 char(1)) default charset = sjis engine=innodb;
CREATE TABLE t2(c1 char(1)) default charset = sjis engine=myisam;
-CREATE TABLE t3(c1 char(1)) default charset = sjis engine=heap;
-CREATE TABLE t4(c1 char(1)) default charset = sjis engine=bdb;
+CREATE TABLE t3(c1 char(1)) default charset = sjis engine=MEMORY;
INSERT INTO t1 VALUES('S'),('s');
INSERT INTO t2 VALUES('S'),('s');
INSERT INTO t3 VALUES('S'),('s');
-INSERT INTO t4 VALUES('S'),('s');
SELECT * FROM t1 WHERE c1 = 'S';
SELECT * FROM t2 WHERE c1 = 'S';
SELECT * FROM t3 WHERE c1 = 'S';
-SELECT * FROM t4 WHERE c1 = 'S';
SELECT * FROM t1 WHERE c1 = 's';
SELECT * FROM t2 WHERE c1 = 's';
SELECT * FROM t3 WHERE c1 = 's';
-SELECT * FROM t4 WHERE c1 = 's';
+DROP TABLE t1;
+DROP TABLE t2;
+DROP TABLE t3;
DROP TABLE `sP`;
DROP TABLE `sQ`;
@@ -99,6 +91,3 @@ DROP TABLE `sU`;
DROP TABLE `sV`;
DROP TABLE `sW`;
DROP TABLE `sX`;
-DROP TABLE `sPO`;
-DROP TABLE `sPP`;
-DROP TABLE `sPQ`;
diff --git a/mysql-test/suite/jp/t/jp_where_ucs2.test b/mysql-test/suite/jp/t/jp_where_ucs2.test
index 3b82eacd615..7e035cd28f3 100644
--- a/mysql-test/suite/jp/t/jp_where_ucs2.test
+++ b/mysql-test/suite/jp/t/jp_where_ucs2.test
@@ -1,4 +1,5 @@
--source include/have_ucs2.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
#
@@ -29,12 +27,9 @@ CREATE TABLE `T3` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
#Insert the following data in each table
# jisx0201 hankaku-katakana data
@@ -116,31 +111,6 @@ INSERT INTO `T9` VALUES
,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-INSERT INTO `T10` VALUES
- ('PQRSTUVWXYZ[\\]^_')
-,(' 。「」、・ヲァィゥェォャュョッ')
-,('ーアイウエオカキクケコサシスセソ')
-,('タチツテトナニヌネノハヒフヘホマ')
-,('ミムメモヤユヨラリルレロワン゙゚');
-
-INSERT INTO `T11` VALUES
- ('ヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’')
-,('“”()〔〕[]{}〈〉《》「」『』【】')
-,('・ぁあぃいぅうぇえぉおかがきぎくぐけげこ')
-,('・ァアィイゥウェエォオカガキギクグケゲコ')
-,('・亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵')
-,('・弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞')
-,('・鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻');
-
-INSERT INTO `T12` VALUES
- ('・˛˚~΄΅・・・・・・・・¡¦¿・・・')
-,('乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠')
-,('仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众')
-,('伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘')
-,('・黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪')
-,('鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖')
-,('齗齘齚齝齞齨齩齭齮齯齰齱齳齵齺齽龏龐龑龒');
-
#InnoDB
SELECT * FROM `T1` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
SELECT * FROM `T2` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
@@ -151,16 +121,11 @@ SELECT * FROM `T4` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
SELECT * FROM `T5` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
SELECT * FROM `T6` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#Heap
+#MEMORY
SELECT * FROM `T7` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
SELECT * FROM `T8` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
SELECT * FROM `T9` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#BDB
-SELECT * FROM `T10` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
-SELECT * FROM `T11` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
-SELECT * FROM `T12` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -170,6 +135,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_where_ujis.test b/mysql-test/suite/jp/t/jp_where_ujis.test
index e96404fbb17..ce39e2670da 100644
--- a/mysql-test/suite/jp/t/jp_where_ujis.test
+++ b/mysql-test/suite/jp/t/jp_where_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(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engi
CREATE TABLE `T4` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
-CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
-CREATE TABLE `T10` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T11` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
-CREATE TABLE `T12` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
+CREATE TABLE `T7` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T8` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
+CREATE TABLE `T9` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -49,9 +44,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T9`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `T10`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `T11`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `T12`;
#InnoDB
SELECT * FROM `T1` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
@@ -63,16 +55,11 @@ SELECT * FROM `T4` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
SELECT * FROM `T5` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
SELECT * FROM `T6` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#Heap
+#MEMORY
SELECT * FROM `T7` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
SELECT * FROM `T8` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
SELECT * FROM `T9` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-#BDB
-SELECT * FROM `T10` WHERE `C1` = 'ーアイウエオカキクケコサシスセソ';
-SELECT * FROM `T11` WHERE `C1` = '・ぁあぃいぅうぇえぉおかがきぎくぐけげこ';
-SELECT * FROM `T12` WHERE `C1` = '鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃齄齅齆齇齓齕齖';
-
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
@@ -82,6 +69,3 @@ DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
-DROP TABLE `T10`;
-DROP TABLE `T11`;
-DROP TABLE `T12`;
diff --git a/mysql-test/suite/jp/t/jp_where_utf8.test b/mysql-test/suite/jp/t/jp_where_utf8.test
index 7280bc33f21..97234ff15c5 100644
--- a/mysql-test/suite/jp/t/jp_where_utf8.test
+++ b/mysql-test/suite/jp/t/jp_where_utf8.test
@@ -1,3 +1,5 @@
+--source include/have_utf8.inc
+--source include/have_innodb.inc
--disable_warnings
drop table if exists `鐚器`;
drop table if exists `鐚器`;
@@ -8,13 +10,10 @@ 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 Displaying Japanese charact using WHERE condtion in utf8 encoding
+# Test Displaying Japanese charact using WHERE condition in utf8 encoding
#
SET NAMES utf8;
@@ -26,12 +25,9 @@ CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = myisam;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = heap;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
-CREATE TABLE `鐚器鐚` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = bdb;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
+CREATE TABLE `鐚器` (`鐚o` char(20), INDEX(`鐚o`)) DEFAULT CHARSET = utf8 engine = MEMORY;
#Load the following data in each table
# jisx0201 hankaku-katakana data
@@ -47,9 +43,6 @@ LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `鐚器鐚`;
-LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `鐚器鐚`;
#InnoDB
SELECT * FROM `鐚器` WHERE `鐚o` = '鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎';
@@ -61,16 +54,11 @@ SELECT * FROM `鐚器` WHERE `鐚o` = '鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔
SELECT * FROM `鐚器` WHERE `鐚o` = '祉';
SELECT * FROM `鐚器` WHERE `鐚o` = '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
-#Heap
+#MEMORY
SELECT * FROM `鐚器` WHERE `鐚o` = '鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎';
SELECT * FROM `鐚器` WHERE `鐚o` = '祉';
SELECT * FROM `鐚器` WHERE `鐚o` = '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
-#BDB
-SELECT * FROM `鐚器鐚` WHERE `鐚o` = '鐔逸襲鐔駕蹴鐔器週鐔駈酬鐔醐醜鐔削住鐔種十鐔常戎';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` = '祉';
-SELECT * FROM `鐚器鐚` WHERE `鐚o` = '藜藜藜演鴫藜顔七藜拷失藜守悉藜翠藹藹藹藹藹藹藹藹';
-
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
@@ -80,6 +68,3 @@ DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
DROP TABLE `鐚器`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;
-DROP TABLE `鐚器鐚`;