[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.218.47.97: ~ $
--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 utf8 encoding
#

--source include/have_utf8.inc
SET NAMES utf8;
SET character_set_database = utf8;

--source include/have_innodb.inc

#
# Test InnoDB
#
CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = utf8 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 = utf8 engine=MYISAM;
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = utf8 engine=MYISAM;
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = utf8 engine=MYISAM;
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = utf8 engine=MYISAM;
CREATE TABLE `龖龖龖`(`丂丂丂` char(5)) DEFAULT CHARSET = utf8 engine=MYISAM;
CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = utf8 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 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;
CREATE TABLE `龗龗龗`(`乚乚乚` char(5)) DEFAULT CHARSET = utf8 engine=MEMORY;

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 `龗龗龗`;

Filemanager

Name Type Size Permission Actions
disabled.def File 404 B 0644
jp_alter_sjis.test File 10.37 KB 0644
jp_alter_ucs2.test File 11.33 KB 0644
jp_alter_ujis.test File 11.28 KB 0644
jp_alter_utf8.test File 12.21 KB 0644
jp_charlength_sjis.test File 2.65 KB 0644
jp_charlength_ucs2.test File 2.76 KB 0644
jp_charlength_ujis.test File 2.71 KB 0644
jp_charlength_utf8.test File 2.96 KB 0644
jp_charset_sjis.test File 4.95 KB 0644
jp_charset_ucs2.test File 7.27 KB 0644
jp_charset_ujis.test File 4.97 KB 0644
jp_charset_utf8.test File 5.23 KB 0644
jp_convert_sjis.test File 3.89 KB 0644
jp_convert_ucs2.test File 6.42 KB 0644
jp_convert_ujis.test File 4.08 KB 0644
jp_convert_utf8.test File 4.34 KB 0644
jp_create_db_sjis.test File 597 B 0644
jp_create_db_ucs2.test File 643 B 0644
jp_create_db_ujis.test File 610 B 0644
jp_create_db_utf8.test File 641 B 0644
jp_create_tbl_sjis.test File 8.77 KB 0644
jp_create_tbl_ucs2.test File 9.35 KB 0644
jp_create_tbl_ujis.test File 9.35 KB 0644
jp_create_tbl_utf8.test File 9.89 KB 0644
jp_enum_sjis.test File 3.94 KB 0644
jp_enum_ucs2.test File 3.89 KB 0644
jp_enum_ujis.test File 3.68 KB 0644
jp_enum_utf8.test File 3.94 KB 0644
jp_insert_sjis.test File 11.8 KB 0644
jp_insert_ucs2.test File 12.06 KB 0644
jp_insert_ujis.test File 12.06 KB 0644
jp_insert_utf8.test File 13.32 KB 0644
jp_instr_sjis.test File 3.89 KB 0644
jp_instr_ucs2.test File 3.98 KB 0644
jp_instr_ujis.test File 3.94 KB 0644
jp_instr_utf8.test File 4.32 KB 0644
jp_join_sjis.test File 7.98 KB 0644
jp_join_ucs2.test File 8.01 KB 0644
jp_join_ujis.test File 7.97 KB 0644
jp_join_utf8.test File 8.7 KB 0644
jp_left_sjis.test File 4.49 KB 0644
jp_left_ucs2.test File 4.6 KB 0644
jp_left_ujis.test File 4.55 KB 0644
jp_left_utf8.test File 5.06 KB 0644
jp_length_sjis.test File 2.6 KB 0644
jp_length_ucs2.test File 2.71 KB 0644
jp_length_ujis.test File 2.67 KB 0644
jp_length_utf8.test File 2.91 KB 0644
jp_like_sjis.test File 6.31 KB 0644
jp_like_ucs2.test File 9.45 KB 0644
jp_like_ujis.test File 6.69 KB 0644
jp_like_utf8.test File 7.42 KB 0644
jp_locate_sjis.test File 3.95 KB 0644
jp_locate_ucs2.test File 4.04 KB 0644
jp_locate_ujis.test File 3.99 KB 0644
jp_locate_utf8.test File 4.37 KB 0644
jp_lpad_sjis.test File 2.64 KB 0644
jp_lpad_ucs2.test File 2.76 KB 0644
jp_lpad_ujis.test File 2.71 KB 0644
jp_lpad_utf8.test File 2.96 KB 0644
jp_ltrim_sjis.test File 4.89 KB 0644
jp_ltrim_ucs2.test File 5.11 KB 0644
jp_ltrim_ujis.test File 5.07 KB 0644
jp_ltrim_utf8.test File 5.57 KB 0644
jp_ps_sjis.test File 9.56 KB 0644
jp_ps_ujis.test File 9.56 KB 0644
jp_replace_sjis.test File 3.79 KB 0644
jp_replace_ucs2.test File 3.93 KB 0644
jp_replace_ujis.test File 3.89 KB 0644
jp_replace_utf8.test File 4.27 KB 0644
jp_reverse_sjis.test File 2.17 KB 0644
jp_reverse_ucs2.test File 2.22 KB 0644
jp_reverse_ujis.test File 2.18 KB 0644
jp_reverse_utf8.test File 2.35 KB 0644
jp_right_sjis.test File 4.54 KB 0644
jp_right_ucs2.test File 4.65 KB 0644
jp_right_ujis.test File 4.61 KB 0644
jp_right_utf8.test File 5.12 KB 0644
jp_rpad_sjis.test File 2.64 KB 0644
jp_rpad_ucs2.test File 2.76 KB 0644
jp_rpad_ujis.test File 2.71 KB 0644
jp_rpad_utf8.test File 2.96 KB 0644
jp_rtrim_sjis.test File 4.89 KB 0644
jp_rtrim_ucs2.test File 5.11 KB 0644
jp_rtrim_ujis.test File 5.07 KB 0644
jp_rtrim_utf8.test File 5.57 KB 0644
jp_select_sjis.test File 2.52 KB 0644
jp_select_ucs2.test File 4.77 KB 0644
jp_select_ujis.test File 2.43 KB 0644
jp_select_utf8.test File 2.51 KB 0644
jp_subquery_sjis.test File 5.87 KB 0644
jp_subquery_ucs2.test File 6.19 KB 0644
jp_subquery_ujis.test File 6.15 KB 0644
jp_subquery_utf8.test File 6.46 KB 0644
jp_substring_sjis.test File 15.15 KB 0644
jp_substring_ucs2.test File 15.49 KB 0644
jp_substring_ujis.test File 15.22 KB 0644
jp_substring_utf8.test File 16.89 KB 0644
jp_trim_sjis.test File 288 B 0644
jp_trim_ucs2.test File 7.49 KB 0644
jp_trim_ujis.test File 7.44 KB 0644
jp_trim_utf8.test File 8.29 KB 0644
jp_union_ujis.test File 4.8 KB 0644
jp_update_sjis.test File 2.4 KB 0644
jp_update_ucs2.test File 2.49 KB 0644
jp_update_ujis.test File 2.44 KB 0644
jp_update_utf8.test File 2.66 KB 0644
jp_where_sjis.test File 3.67 KB 0644
jp_where_ucs2.test File 5.42 KB 0644
jp_where_ujis.test File 3.06 KB 0644
jp_where_utf8.test File 3.31 KB 0644