1
--source include/have_ujis.inc
4
drop table if exists `�ԣ�`;
5
drop table if exists `�ԣ�`;
6
drop table if exists `�ԣ�`;
7
drop table if exists `�ԣ�`;
8
drop table if exists `�ԣ�`;
9
drop table if exists `�ԣ�`;
10
drop table if exists `�ԣ�`;
11
drop table if exists `�ԣ�`;
12
drop table if exists `�ԣ�`;
13
drop table if exists `�ԣ���`;
14
drop table if exists `�ԣ���`;
15
drop table if exists `�ԣ���`;
19
# Test ENUM values with Japanese characters in ujis encoding
23
SET character_set_database = ujis;
25
CREATE TABLE `�ԣ�` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb;
26
CREATE TABLE `�ԣ�` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb;
27
CREATE TABLE `�ԣ�` (`�ã�` ENUM('���','���','���'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb;
28
CREATE TABLE `�ԣ�` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam;
29
CREATE TABLE `�ԣ�` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam;
30
CREATE TABLE `�ԣ�` (`�ã�` ENUM('���','���','���'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam;
31
CREATE TABLE `�ԣ�` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = heap;
32
CREATE TABLE `�ԣ�` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = heap;
33
CREATE TABLE `�ԣ�` (`�ã�` ENUM('���','���','���'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = heap;
34
CREATE TABLE `�ԣ���` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = bdb;
35
CREATE TABLE `�ԣ���` (`�ã�` ENUM('��','��','��'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = bdb;
36
CREATE TABLE `�ԣ���` (`�ã�` ENUM('���','���','���'), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = bdb;
38
INSERT INTO `�ԣ�` VALUES ('��'),('��'),('��');
39
INSERT INTO `�ԣ�` VALUES ('��'),('��'),('��');
40
INSERT INTO `�ԣ�` VALUES ('���'),('���'),('���');
41
INSERT INTO `�ԣ�` VALUES ('��'),('��'),('��');
42
INSERT INTO `�ԣ�` VALUES ('��'),('��'),('��');
43
INSERT INTO `�ԣ�` VALUES ('���'),('���'),('���');
44
INSERT INTO `�ԣ�` VALUES ('��'),('��'),('��');
45
INSERT INTO `�ԣ�` VALUES ('��'),('��'),('��');
46
INSERT INTO `�ԣ�` VALUES ('���'),('���'),('���');
47
INSERT INTO `�ԣ���` VALUES ('��'),('��'),('��');
48
INSERT INTO `�ԣ���` VALUES ('��'),('��'),('��');
49
INSERT INTO `�ԣ���` VALUES ('���'),('���'),('���');
60
SELECT * FROM `�ԣ���`;
61
SELECT * FROM `�ԣ���`;
62
SELECT * FROM `�ԣ���`;
64
SHOW CREATE TABLE `�ԣ�`;
65
SHOW CREATE TABLE `�ԣ�`;
66
SHOW CREATE TABLE `�ԣ�`;
67
SHOW CREATE TABLE `�ԣ�`;
68
SHOW CREATE TABLE `�ԣ�`;
69
SHOW CREATE TABLE `�ԣ�`;
70
SHOW CREATE TABLE `�ԣ�`;
71
SHOW CREATE TABLE `�ԣ�`;
72
SHOW CREATE TABLE `�ԣ�`;
73
SHOW CREATE TABLE `�ԣ���`;
74
SHOW CREATE TABLE `�ԣ���`;
75
SHOW CREATE TABLE `�ԣ���`;
91
# Test problem with enum values after the colum with NOT NULL restriction
94
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
95
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
96
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
97
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
98
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
99
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
100
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
101
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
102
ALTER TABLE `�ԣ�` ADD `�ã�` CHAR(1) NOT NULL FIRST;
103
ALTER TABLE `�ԣ���` ADD `�ã�` CHAR(1) NOT NULL FIRST;
104
ALTER TABLE `�ԣ���` ADD `�ã�` CHAR(1) NOT NULL FIRST;
105
ALTER TABLE `�ԣ���` ADD `�ã�` CHAR(1) NOT NULL FIRST;
107
SHOW CREATE TABLE `�ԣ�`;
108
SHOW CREATE TABLE `�ԣ�`;
109
SHOW CREATE TABLE `�ԣ�`;
110
SHOW CREATE TABLE `�ԣ�`;
111
SHOW CREATE TABLE `�ԣ�`;
112
SHOW CREATE TABLE `�ԣ�`;
113
SHOW CREATE TABLE `�ԣ�`;
114
SHOW CREATE TABLE `�ԣ�`;
115
SHOW CREATE TABLE `�ԣ�`;
116
SHOW CREATE TABLE `�ԣ���`;
117
SHOW CREATE TABLE `�ԣ���`;
118
SHOW CREATE TABLE `�ԣ���`;