2015-08-21 08:35:42 +05:30
|
|
|
|
#Server variable option 'lower_case_table_names' sets '0' as default value
|
|
|
|
|
#in case sensitive filesystem. Using 'lower_case_table_names=0' in case of
|
|
|
|
|
#insensitive filsystem is not allowed.
|
|
|
|
|
-- source include/have_case_sensitive_file_system.inc
|
2005-01-07 00:48:38 -08:00
|
|
|
|
--source include/have_ujis.inc
|
2008-05-15 18:01:13 +02:00
|
|
|
|
--source include/have_innodb.inc
|
2005-01-07 00:48:38 -08:00
|
|
|
|
|
|
|
|
|
--disable_warnings
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|
|
|
|
--enable_warnings
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Test ENUM values with Japanese characters in ujis encoding
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
SET NAMES ujis;
|
|
|
|
|
SET character_set_database = ujis;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><>','<27><>','<27><>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><>','<27><>','<27><>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><><EFBFBD>','<27><><EFBFBD>','<27><><EFBFBD>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><>','<27><>','<27><>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><>','<27><>','<27><>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><><EFBFBD>','<27><><EFBFBD>','<27><><EFBFBD>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
2008-05-15 18:01:13 +02:00
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><>','<27><>','<27><>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><>','<27><>','<27><>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` ENUM('<27><><EFBFBD>','<27><><EFBFBD>','<27><><EFBFBD>'), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
|
2005-01-07 00:48:38 -08:00
|
|
|
|
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><>'),('<27><>'),('<27><>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><>'),('<27><>'),('<27><>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><>'),('<27><>'),('<27><>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><>'),('<27><>'),('<27><>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><>'),('<27><>'),('<27><>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><>'),('<27><>'),('<27><>');
|
|
|
|
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
|
|
|
|
|
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|
|
|
|
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SHOW CREATE TABLE `<60>ԣ<EFBFBD>`;
|
|
|
|
|
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
DESC `<60>ԣ<EFBFBD>`;
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Test problem with enum values after the colum with NOT NULL restriction
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
ALTER TABLE `<60>ԣ<EFBFBD>` ADD `<60>ã<EFBFBD>` CHAR(1) NOT NULL FIRST;
|
|
|
|
|
ALTER TABLE `<60>ԣ<EFBFBD>` ADD `<60>ã<EFBFBD>` CHAR(1) NOT NULL FIRST;
|
|
|
|
|
ALTER TABLE `<60>ԣ<EFBFBD>` ADD `<60>ã<EFBFBD>` CHAR(1) NOT NULL FIRST;
|
|
|
|
|
ALTER TABLE `<60>ԣ<EFBFBD>` ADD `<60>ã<EFBFBD>` CHAR(1) NOT NULL FIRST;
|
|
|
|
|
ALTER TABLE `<60>ԣ<EFBFBD>` ADD `<60>ã<EFBFBD>` CHAR(1) NOT NULL FIRST;
|
|
|
|
|
ALTER TABLE `<60>ԣ<EFBFBD>` ADD `<60>ã<EFBFBD>` CHAR(1) NOT NULL FIRST;
|
|
|
|
|
ALTER TABLE `<60>ԣ<EFBFBD>` ADD `<60>ã<EFBFBD>`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