mariadb/mysql-test/suite/jp/t/jp_alter_ucs2.test
unknown 9ad1b390fc Many files:
Change mode to -rw-rw----


mysql-test/suite/jp/r/jp_alter_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_alter_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_alter_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_alter_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ps_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ps_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_union_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_sjis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_ucs2.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_ujis.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_utf8.result:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_sjis.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_ucs2.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_ujis.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_utf8.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_sjis.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_sjis2.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_sjis3.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_ucs2.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_ujis.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_utf8.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0212_ucs2.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0212_ujis.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0212_utf8.dat:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ps_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ps_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_union_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_utf8.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_sjis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_ucs2.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_ujis.test:
  Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_utf8.test:
  Change mode to -rw-rw----
2005-01-07 14:32:05 +02:00

419 lines
15 KiB
Text

--source include/have_ucs2.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 `龗龗龗`;
--enable_warnings
#
# Test altering table with Japanese characters in ucs2 encoding
#
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
#
# Test InnoDB
#
CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=INNODB;
CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=INNODB;
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
INSERT INTO `龖龖龖` VALUES ('丂丂丂丂丂'),('丄丄丄丄丄'),('丅丅丅丅丅');
# Test basic alter operation
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 (`ククク`);
#Multi-byte field name is not allowed for FOREIGN KEY As of 4.1.4
#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 (`くくく`);
#Multi-byte field name is not allowed for FOREIGN KEY As of 4.1.4
#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 (`丅丅丅`);
#Multi-byte field name is not allowed for FOREIGN KEY As of 4.1.4
#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 `龗龗龗`;
#
# Test MyISAM
#
CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = ucs2 engine=MYISAM;
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = ucs2 engine=MYISAM;
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = ucs2 engine=MYISAM;
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = ucs2 engine=MYISAM;
CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = ucs2 engine=MYISAM;
CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = ucs2 engine=MYISAM;
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 `アアア` 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 `龗龗龗`;
#
# Test 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=HEAP;
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 `アアア` 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 `龗龗龗`;
#
# 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 `龗龗龗`;