mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
417 lines
14 KiB
Text
417 lines
14 KiB
Text
|
--character_set sjis
|
|||
|
SET NAMES sjis;
|
|||
|
SET character_set_database = sjis;
|
|||
|
--disable_warnings
|
|||
|
DROP TABLE IF EXISTS `<60><><EFBFBD>`;
|
|||
|
DROP TABLE IF EXISTS `<60><><EFBFBD>`;
|
|||
|
DROP TABLE IF EXISTS `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE IF EXISTS `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE IF EXISTS `<60>\<5C>\<5C>\`;
|
|||
|
DROP TABLE IF EXISTS `<60>\<5C>\<5C>\`;
|
|||
|
--enable_warnings
|
|||
|
|
|||
|
#
|
|||
|
# Test altering table with Japanese characters in sjis encoding
|
|||
|
#
|
|||
|
|
|||
|
#
|
|||
|
# Test InnoDB
|
|||
|
#
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|||
|
|
|||
|
INSERT INTO `<60><><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>\<5C>\<5C>\` VALUES ('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\');
|
|||
|
|
|||
|
# Test basic alter operation
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) AFTER `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD INDEX (`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD>`);
|
|||
|
#Multi-byte field name is not allowed for FOREIGN KEY As of 4.1.4
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD>`) REFERENCES `<60><><EFBFBD>`(`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` CHANGE `<60><><EFBFBD>` `<60><>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` MODIFY `<60><><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) AFTER `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD INDEX (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
#Multi-byte field name is not allowed for FOREIGN KEY As of 4.1.4
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`) REFERENCES `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` CHANGE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` `<60><><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` MODIFY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) FIRST;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) AFTER `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD INDEX (`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD PRIMARY KEY (`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD UNIQUE (`<60>\<5C>\<5C>\`);
|
|||
|
#Multi-byte field name is not allowed for FOREIGN KEY As of 4.1.4
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` ADD FOREIGN KEY (`<60>\<5C>\<5C>\`) REFERENCES `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` CHANGE `<60>\<5C>\<5C>\` `<60>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` MODIFY `<60>\<5C>\<5C>\` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` DROP FOREIGN KEY `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
#
|
|||
|
# Test MyISAM
|
|||
|
#
|
|||
|
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|||
|
|
|||
|
INSERT INTO `<60><><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>\<5C>\<5C>\` VALUES ('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\');
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) AFTER `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD INDEX (`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD>`);
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD>`) REFERENCES `<60><><EFBFBD>`(`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` CHANGE `<60><><EFBFBD>` `<60><>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` MODIFY `<60><><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) AFTER `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD INDEX (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`) REFERENCES `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` CHANGE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` `<60><><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` MODIFY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) FIRST;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) AFTER `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD INDEX (`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD PRIMARY KEY (`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD UNIQUE (`<60>\<5C>\<5C>\`);
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` ADD FOREIGN KEY (`<60>\<5C>\<5C>\`) REFERENCES `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` CHANGE `<60>\<5C>\<5C>\` `<60>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` MODIFY `<60>\<5C>\<5C>\` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` DROP FOREIGN KEY `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
#
|
|||
|
# Test HEAP
|
|||
|
#
|
|||
|
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|||
|
|
|||
|
INSERT INTO `<60><><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>\<5C>\<5C>\` VALUES ('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\');
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) AFTER `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD INDEX (`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD>`);
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD>`) REFERENCES `<60><><EFBFBD>`(`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` CHANGE `<60><><EFBFBD>` `<60><>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` MODIFY `<60><><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) AFTER `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD INDEX (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`) REFERENCES `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` CHANGE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` `<60><><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` MODIFY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) FIRST;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) AFTER `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD INDEX (`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD PRIMARY KEY (`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD UNIQUE (`<60>\<5C>\<5C>\`);
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` ADD FOREIGN KEY (`<60>\<5C>\<5C>\`) REFERENCES `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` CHANGE `<60>\<5C>\<5C>\` `<60>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` MODIFY `<60>\<5C>\<5C>\` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP PRIMARY KEY;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` DROP FOREIGN KEY `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
#
|
|||
|
# Test BDB
|
|||
|
#
|
|||
|
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|||
|
CREATE TABLE `<60><><EFBFBD>`(`<60><><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|||
|
CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|||
|
CREATE TABLE `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|||
|
|
|||
|
INSERT INTO `<60><><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'),('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>\<5C>\<5C>\` VALUES ('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\'),('<27>\<5C>\<5C>\<5C>\<5C>\');
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1) AFTER `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD `<60><><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD INDEX (`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD>`);
|
|||
|
#Multiple NULL fields are not allowed in BDB
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD>`);
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD>`) REFERENCES `<60><><EFBFBD>`(`<60><><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` CHANGE `<60><><EFBFBD>` `<60><>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD>` MODIFY `<60><><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` DROP INDEX `<60><><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD>` DROP `<60><><EFBFBD>`;
|
|||
|
SELECT * FROM `<60><><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) FIRST;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1) AFTER `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD INDEX (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD PRIMARY KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD UNIQUE (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` ADD FOREIGN KEY (`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`) REFERENCES `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`(`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` CHANGE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` `<60><><EFBFBD><EFBFBD>` char(1);
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` MODIFY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP PRIMARY KEY;
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP INDEX `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
#ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP FOREIGN KEY `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
ALTER TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>` DROP `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
SELECT * FROM `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DESC `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
SHOW CREATE TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) FIRST;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1) AFTER `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD `<60>\<5C>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD INDEX (`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` ADD PRIMARY KEY (`<60>\<5C>\<5C>\`);
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` ADD UNIQUE (`<60>\<5C>\<5C>\`);
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` ADD FOREIGN KEY (`<60>\<5C>\<5C>\`) REFERENCES `<60>\<5C>\<5C>\`(`<60>\<5C>\<5C>\`);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` CHANGE `<60>\<5C>\<5C>\` `<60>\<5C>\` char(1);
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` MODIFY `<60>\<5C>\<5C>\` char(6);
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP PRIMARY KEY;
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` DROP INDEX `<60>\<5C>\<5C>\`;
|
|||
|
#ALTER TABLE `<60>\<5C>\<5C>\` DROP FOREIGN KEY `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
ALTER TABLE `<60>\<5C>\<5C>\` DROP `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
SELECT * FROM `<60>\<5C>\<5C>\`;
|
|||
|
DESC `<60>\<5C>\<5C>\`;
|
|||
|
SHOW CREATE TABLE `<60>\<5C>\<5C>\`;
|
|||
|
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|
|||
|
DROP TABLE `<60>\<5C>\<5C>\`;
|