用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

283 lines
1.3 MiB

5 months ago
drop table if exists t1,t2,t3,t4,t5;
set debug_sync='RESET';
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
create table t1 (j char(5));;
set debug_sync='now SIGNAL go';
ERROR 42S01: Table 't1' already exists
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`i` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
drop table t1;
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
create table t1 select 'Test' as j;;
set debug_sync='now SIGNAL go';
ERROR 42S01: Table 't1' already exists
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`i` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
drop table t1;
create table t3 (j char(5));
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
create table t1 like t3;;
set debug_sync='now SIGNAL go';
ERROR 42S01: Table 't1' already exists
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`i` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
drop table t1;
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
rename table t3 to t1;;
set debug_sync='now SIGNAL go';
ERROR 42S01: Table 't1' already exists
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`i` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
drop table t1;
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
alter table t3 rename to t1;
set debug_sync='now SIGNAL go';
ERROR 42S01: Table 't1' already exists
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`i` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
drop table t1;
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
alter table t3 rename to t1, add k int;
set debug_sync='now SIGNAL go';
ERROR 42S01: Table 't1' already exists
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`i` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
drop table t1,t3;
set debug_sync='create_table_select_before_open SIGNAL parked WAIT_FOR go';
set debug_sync='create_table_select_before_open SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
drop table t1;;
set debug_sync='now SIGNAL go';
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
rename table t1 to t2;;
set debug_sync='now SIGNAL go';
drop table t2;
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
select * from t1;;
set debug_sync='now SIGNAL go';
i
1
drop table t1;
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
insert into t1 values (2);;
set debug_sync='now SIGNAL go';
select * from t1;
i
1
2
drop table t1;
set @a:=0;
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
create trigger t1_bi before insert on t1 for each row set @a:=1;;
set debug_sync='now SIGNAL go';
select @a;
@a
0
drop table t1;
set debug_sync='create_table_select_before_lock SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
drop table t1;;
set debug_sync='now SIGNAL go';
set debug_sync='create_table_select_before_lock SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
rename table t1 to t2;;
set debug_sync='now SIGNAL go';
drop table t2;
set debug_sync='create_table_select_before_lock SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
select * from t1;;
set debug_sync='now SIGNAL go';
i
1
drop table t1;
set debug_sync='create_table_select_before_lock SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
insert into t1 values (2);;
set debug_sync='now SIGNAL go';
select * from t1;
i
1
2
drop table t1;
set @a:=0;
set debug_sync='create_table_select_before_lock SIGNAL parked WAIT_FOR go';
create table t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
create trigger t1_bi before insert on t1 for each row set @a:=1;;
set debug_sync='now SIGNAL go';
select @a;
@a
0
drop table t1;
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
create table if not exists t1 select 1 as i;;
set debug_sync='now WAIT_FOR parked';
drop table t1;;
set debug_sync='now SIGNAL go';
create table t1 (i int);
set @a:=0;
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
create table if not exists t1 select 1 as i;;
create trigger t1_bi before insert on t1 for each row set @a:=1;
Warnings:
Note 1050 Table 't1' already exists
select @a;
@a
0
select * from t1;
i
drop table t1;
drop table if exists t1,t2;
set debug_sync='RESET';
create table t1 (i int);
set debug_sync='create_table_like_after_open SIGNAL parked WAIT_FOR go';
reset master;
create table t2 like t1;;
set debug_sync='now WAIT_FOR parked';
insert into t1 values (1);
drop table t1;;
set debug_sync='now SIGNAL go';
show create table t2;
Table Create Table
t2 CREATE TABLE `t2` (
`i` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
drop table t2;
include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
binlog.000001 # Query # # BEGIN
binlog.000001 # Query # # use `test`; insert into t1 values (1)
binlog.000001 # Xid # # COMMIT /* XID */
binlog.000001 # Query # # use `test`; create table t2 like t1
binlog.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
binlog.000001 # Query # # use `test`; DROP TABLE `t2` /* generated by server */
create table t1 (i int);
set debug_sync='create_table_like_before_binlog SIGNAL parked WAIT_FOR go';
reset master;
create table t2 like t1;;
set debug_sync='now WAIT_FOR parked';
insert into t2 values (1);;
set debug_sync='now SIGNAL go';
drop table t2;
set debug_sync='create_table_like_before_binlog SIGNAL parked WAIT_FOR go';
create table t2 like t1;;
set debug_sync='now WAIT_FOR parked';
drop table t2;;
set debug_sync='now SIGNAL go';
set debug_sync='create_table_like_before_binlog SIGNAL parked WAIT_FOR go';
create table t2 like t1;;
set debug_sync='now WAIT_FOR parked';
drop table t1;;
set debug_sync='now SIGNAL go';
drop table t2;
set debug_sync='RESET';
include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
binlog.000001 # Query # # use `test`; create table t2 like t1
binlog.000001 # Query # # BEGIN
binlog.000001 # Query # # use `test`; insert into t2 values (1)
binlog.000001 # Xid # # COMMIT /* XID */
binlog.000001 # Query # # use `test`; DROP TABLE `t2` /* generated by server */
binlog.000001 # Query # # use `test`; create table t2 like t1
binlog.000001 # Query # # use `test`; DROP TABLE `t2` /* generated by server */
binlog.000001 # Query # # use `test`; create table t2 like t1
binlog.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */
binlog.000001 # Query # # use `test`; DROP TABLE `t2` /* generated by server */
#
# WL#6390: Use new DD API for handling non-partitioned tables
# Test limits on number of columns. See also comment_column2.test
# and view.test for additional coverage.
#
CREATE TABLE t1 (c1 int, c2 int, c3 int, c4 int, c5 int, c6 int, c7 int, c8 int, c9 int, c10 int, c11 int, c12 int, c13 int, c14 int, c15 int, c16 int, c17 int, c18 int, c19 int, c20 int, c21 int, c22 int, c23 int, c24 int, c25 int, c26 int, c27 int, c28 int, c29 int, c30 int, c31 int, c32 int, c33 int, c34 int, c35 int, c36 int, c37 int, c38 int, c39 int, c40 int, c41 int, c42 int, c43 int, c44 int, c45 int, c46 int, c47 int, c48 int, c49 int, c50 int, c51 int, c52 int, c53 int, c54 int, c55 int, c56 int, c57 int, c58 int, c59 int, c60 int, c61 int, c62 int, c63 int, c64 int, c65 int, c66 int, c67 int, c68 int, c69 int, c70 int, c71 int, c72 int, c73 int, c74 int, c75 int, c76 int, c77 int, c78 int, c79 int, c80 int, c81 int, c82 int, c83 int, c84 int, c85 int, c86 int, c87 int, c88 int, c89 int, c90 int, c91 int, c92 int, c93 int, c94 int, c95 int, c96 int, c97 int, c98 int, c99 int, c100 int, c101 int, c102 int, c103 int, c104 int, c105 int, c106 int, c107 int, c108 int, c109 int, c110 int, c111 int, c112 int, c113 int, c114 int, c115 int, c116 int, c117 int, c118 int, c119 int, c120 int, c121 int, c122 int, c123 int, c124 int, c125 int, c126 int, c127 int, c128 int, c129 int, c130 int, c131 int, c132 int, c133 int, c134 int, c135 int, c136 int, c137 int, c138 int, c139 int, c140 int, c141 int, c142 int, c143 int, c144 int, c145 int, c146 int, c147 int, c148 int, c149 int, c150 int, c151 int, c152 int, c153 int, c154 int, c155 int, c156 int, c157 int, c158 int, c159 int, c160 int, c161 int, c162 int, c163 int, c164 int, c165 int, c166 int, c167 int, c168 int, c169 int, c170 int, c171 int, c172 int, c173 int, c174 int, c175 int, c176 int, c177 int, c178 int, c179 int, c180 int, c181 int, c182 int, c183 int, c184 int, c185 int, c186 int, c187 int, c188 int, c189 int, c190 int, c191 int, c192 int, c193 int, c194 int, c195 int, c196 int, c197 int, c198 int, c199 int, c200 int, c201 int, c202 int, c203 int, c204 int, c205 int, c206 int, c207 int, c208 int, c209 int, c210 int, c211 int, c212 int, c213 int, c214 int, c215 int, c216 int, c217 int, c218 int, c219 int, c220 int, c221 int, c222 int, c223 int, c224 int, c225 int, c226 int, c227 int, c228 int, c229 int, c230 int, c231 int, c232 int, c233 int, c234 int, c235 int, c236 int, c237 int, c238 int, c239 int, c240 int, c241 int, c242 int, c243 int, c244 int, c245 int, c246 int, c247 int, c248 int, c249 int, c250 int, c251 int, c252 int, c253 int, c254 int, c255 int, c256 int, c257 int, c258 int, c259 int, c260 int, c261 int, c262 int, c263 int, c264 int, c265 int, c266 int, c267 int, c268 int, c269 int, c270 int, c271 int, c272 int, c273 int, c274 int, c275 int, c276 int, c277 int, c278 int, c279 int, c280 int, c281 int, c282 int, c283 int, c284 int, c285 int, c286 int, c287 int, c288 int, c289 int, c290 int, c291 int, c292 int, c293 int, c294 int, c295 int, c296 int, c297 int, c298 int, c299 int, c300 int, c301 int, c302 int, c303 int, c304 int, c305 int, c306 int, c307 int, c308 int, c309 int, c310 int, c311 int, c312 int, c313 int, c314 int, c315 int, c316 int, c317 int, c318 int, c319 int, c320 int, c321 int, c322 int, c323 int, c324 int, c325 int, c326 int, c327 int, c328 int, c329 int, c330 int, c331 int, c332 int, c333 int, c334 int, c335 int, c336 int, c337 int, c338 int, c339 int, c340 int, c341 int, c342 int, c343 int, c344 int, c345 int, c346 int, c347 int, c348 int, c349 int, c350 int, c351 int, c352 int, c353 int, c354 int, c355 int, c356 int, c357 int, c358 int, c359 int, c360 int, c361 int, c362 int, c363 int, c364 int, c365 int, c366 int, c367 int, c368 int, c369 int, c370 int, c371 int, c372 int, c373 int, c374 int, c375 int, c376 int, c377 int, c378 int, c379 int, c380 int, c381 int, c382 int, c383 int, c384 int, c385 int, c386 int, c387 int, c388 int, c389 int, c390 int, c391 int, c392 int, c393 int, c394 int, c395 int, c396 int, c397 int, c398 int, c399 int, c400 int, c401 int, c402 int, c403 int, c404 int, c405 int, c406 int, c407 int, c408 int, c409 int, c410 int, c411 int, c412 int, c413 int, c414 int, c415 int, c416 int, c417 int, c418 int, c419 i
ALTER TABLE t1 ADD COLUMN too_much int;
ERROR HY000: Too many columns
DROP TABLE t1;
CREATE TABLE t1 (c1017 int, c1 int, c2 int, c3 int, c4 int, c5 int, c6 int, c7 int, c8 int, c9 int, c10 int, c11 int, c12 int, c13 int, c14 int, c15 int, c16 int, c17 int, c18 int, c19 int, c20 int, c21 int, c22 int, c23 int, c24 int, c25 int, c26 int, c27 int, c28 int, c29 int, c30 int, c31 int, c32 int, c33 int, c34 int, c35 int, c36 int, c37 int, c38 int, c39 int, c40 int, c41 int, c42 int, c43 int, c44 int, c45 int, c46 int, c47 int, c48 int, c49 int, c50 int, c51 int, c52 int, c53 int, c54 int, c55 int, c56 int, c57 int, c58 int, c59 int, c60 int, c61 int, c62 int, c63 int, c64 int, c65 int, c66 int, c67 int, c68 int, c69 int, c70 int, c71 int, c72 int, c73 int, c74 int, c75 int, c76 int, c77 int, c78 int, c79 int, c80 int, c81 int, c82 int, c83 int, c84 int, c85 int, c86 int, c87 int, c88 int, c89 int, c90 int, c91 int, c92 int, c93 int, c94 int, c95 int, c96 int, c97 int, c98 int, c99 int, c100 int, c101 int, c102 int, c103 int, c104 int, c105 int, c106 int, c107 int, c108 int, c109 int, c110 int, c111 int, c112 int, c113 int, c114 int, c115 int, c116 int, c117 int, c118 int, c119 int, c120 int, c121 int, c122 int, c123 int, c124 int, c125 int, c126 int, c127 int, c128 int, c129 int, c130 int, c131 int, c132 int, c133 int, c134 int, c135 int, c136 int, c137 int, c138 int, c139 int, c140 int, c141 int, c142 int, c143 int, c144 int, c145 int, c146 int, c147 int, c148 int, c149 int, c150 int, c151 int, c152 int, c153 int, c154 int, c155 int, c156 int, c157 int, c158 int, c159 int, c160 int, c161 int, c162 int, c163 int, c164 int, c165 int, c166 int, c167 int, c168 int, c169 int, c170 int, c171 int, c172 int, c173 int, c174 int, c175 int, c176 int, c177 int, c178 int, c179 int, c180 int, c181 int, c182 int, c183 int, c184 int, c185 int, c186 int, c187 int, c188 int, c189 int, c190 int, c191 int, c192 int, c193 int, c194 int, c195 int, c196 int, c197 int, c198 int, c199 int, c200 int, c201 int, c202 int, c203 int, c204 int, c205 int, c206 int, c207 int, c208 int, c209 int, c210 int, c211 int, c212 int, c213 int, c214 int, c215 int, c216 int, c217 int, c218 int, c219 int, c220 int, c221 int, c222 int, c223 int, c224 int, c225 int, c226 int, c227 int, c228 int, c229 int, c230 int, c231 int, c232 int, c233 int, c234 int, c235 int, c236 int, c237 int, c238 int, c239 int, c240 int, c241 int, c242 int, c243 int, c244 int, c245 int, c246 int, c247 int, c248 int, c249 int, c250 int, c251 int, c252 int, c253 int, c254 int, c255 int, c256 int, c257 int, c258 int, c259 int, c260 int, c261 int, c262 int, c263 int, c264 int, c265 int, c266 int, c267 int, c268 int, c269 int, c270 int, c271 int, c272 int, c273 int, c274 int, c275 int, c276 int, c277 int, c278 int, c279 int, c280 int, c281 int, c282 int, c283 int, c284 int, c285 int, c286 int, c287 int, c288 int, c289 int, c290 int, c291 int, c292 int, c293 int, c294 int, c295 int, c296 int, c297 int, c298 int, c299 int, c300 int, c301 int, c302 int, c303 int, c304 int, c305 int, c306 int, c307 int, c308 int, c309 int, c310 int, c311 int, c312 int, c313 int, c314 int, c315 int, c316 int, c317 int, c318 int, c319 int, c320 int, c321 int, c322 int, c323 int, c324 int, c325 int, c326 int, c327 int, c328 int, c329 int, c330 int, c331 int, c332 int, c333 int, c334 int, c335 int, c336 int, c337 int, c338 int, c339 int, c340 int, c341 int, c342 int, c343 int, c344 int, c345 int, c346 int, c347 int, c348 int, c349 int, c350 int, c351 int, c352 int, c353 int, c354 int, c355 int, c356 int, c357 int, c358 int, c359 int, c360 int, c361 int, c362 int, c363 int, c364 int, c365 int, c366 int, c367 int, c368 int, c369 int, c370 int, c371 int, c372 int, c373 int, c374 int, c375 int, c376 int, c377 int, c378 int, c379 int, c380 int, c381 int, c382 int, c383 int, c384 int, c385 int, c386 int, c387 int, c388 int, c389 int, c390 int, c391 int, c392 int, c393 int, c394 int, c395 int, c396 int, c397 int, c398 int, c399 int, c400 int, c401 int, c402 int, c403 int, c404 int, c405 int, c406 int, c407 int, c408 int, c409 int, c410 int, c411 int, c412 int, c413 int, c414 int, c415 int, c416 int, c417 int, c418
ERROR HY000: Too many columns
#
# Tests for limitations related to ENUMs and SETs
#
#
# 1: Max number of ENUM/SET columns
CREATE TABLE t1 (c1 ENUM('a1'), c2 ENUM('a2'), c3 ENUM('a3'), c4 ENUM('a4'), c5 ENUM('a5'), c6 ENUM('a6'), c7 ENUM('a7'), c8 ENUM('a8'), c9 ENUM('a9'), c10 ENUM('a10'), c11 ENUM('a11'), c12 ENUM('a12'), c13 ENUM('a13'), c14 ENUM('a14'), c15 ENUM('a15'), c16 ENUM('a16'), c17 ENUM('a17'), c18 ENUM('a18'), c19 ENUM('a19'), c20 ENUM('a20'), c21 ENUM('a21'), c22 ENUM('a22'), c23 ENUM('a23'), c24 ENUM('a24'), c25 ENUM('a25'), c26 ENUM('a26'), c27 ENUM('a27'), c28 ENUM('a28'), c29 ENUM('a29'), c30 ENUM('a30'), c31 ENUM('a31'), c32 ENUM('a32'), c33 ENUM('a33'), c34 ENUM('a34'), c35 ENUM('a35'), c36 ENUM('a36'), c37 ENUM('a37'), c38 ENUM('a38'), c39 ENUM('a39'), c40 ENUM('a40'), c41 ENUM('a41'), c42 ENUM('a42'), c43 ENUM('a43'), c44 ENUM('a44'), c45 ENUM('a45'), c46 ENUM('a46'), c47 ENUM('a47'), c48 ENUM('a48'), c49 ENUM('a49'), c50 ENUM('a50'), c51 ENUM('a51'), c52 ENUM('a52'), c53 ENUM('a53'), c54 ENUM('a54'), c55 ENUM('a55'), c56 ENUM('a56'), c57 ENUM('a57'), c58 ENUM('a58'), c59 ENUM('a59'), c60 ENUM('a60'), c61 ENUM('a61'), c62 ENUM('a62'), c63 ENUM('a63'), c64 ENUM('a64'), c65 ENUM('a65'), c66 ENUM('a66'), c67 ENUM('a67'), c68 ENUM('a68'), c69 ENUM('a69'), c70 ENUM('a70'), c71 ENUM('a71'), c72 ENUM('a72'), c73 ENUM('a73'), c74 ENUM('a74'), c75 ENUM('a75'), c76 ENUM('a76'), c77 ENUM('a77'), c78 ENUM('a78'), c79 ENUM('a79'), c80 ENUM('a80'), c81 ENUM('a81'), c82 ENUM('a82'), c83 ENUM('a83'), c84 ENUM('a84'), c85 ENUM('a85'), c86 ENUM('a86'), c87 ENUM('a87'), c88 ENUM('a88'), c89 ENUM('a89'), c90 ENUM('a90'), c91 ENUM('a91'), c92 ENUM('a92'), c93 ENUM('a93'), c94 ENUM('a94'), c95 ENUM('a95'), c96 ENUM('a96'), c97 ENUM('a97'), c98 ENUM('a98'), c99 ENUM('a99'), c100 ENUM('a100'), c101 ENUM('a101'), c102 ENUM('a102'), c103 ENUM('a103'), c104 ENUM('a104'), c105 ENUM('a105'), c106 ENUM('a106'), c107 ENUM('a107'), c108 ENUM('a108'), c109 ENUM('a109'), c110 ENUM('a110'), c111 ENUM('a111'), c112 ENUM('a112'), c113 ENUM('a113'), c114 ENUM('a114'), c115 ENUM('a115'), c116 ENUM('a116'), c117 ENUM('a117'), c118 ENUM('a118'), c119 ENUM('a119'), c120 ENUM('a120'), c121 ENUM('a121'), c122 ENUM('a122'), c123 ENUM('a123'), c124 ENUM('a124'), c125 ENUM('a125'), c126 ENUM('a126'), c127 ENUM('a127'), c128 ENUM('a128'), c129 ENUM('a129'), c130 ENUM('a130'), c131 ENUM('a131'), c132 ENUM('a132'), c133 ENUM('a133'), c134 ENUM('a134'), c135 ENUM('a135'), c136 ENUM('a136'), c137 ENUM('a137'), c138 ENUM('a138'), c139 ENUM('a139'), c140 ENUM('a140'), c141 ENUM('a141'), c142 ENUM('a142'), c143 ENUM('a143'), c144 ENUM('a144'), c145 ENUM('a145'), c146 ENUM('a146'), c147 ENUM('a147'), c148 ENUM('a148'), c149 ENUM('a149'), c150 ENUM('a150'), c151 ENUM('a151'), c152 ENUM('a152'), c153 ENUM('a153'), c154 ENUM('a154'), c155 ENUM('a155'), c156 ENUM('a156'), c157 ENUM('a157'), c158 ENUM('a158'), c159 ENUM('a159'), c160 ENUM('a160'), c161 ENUM('a161'), c162 ENUM('a162'), c163 ENUM('a163'), c164 ENUM('a164'), c165 ENUM('a165'), c166 ENUM('a166'), c167 ENUM('a167'), c168 ENUM('a168'), c169 ENUM('a169'), c170 ENUM('a170'), c171 ENUM('a171'), c172 ENUM('a172'), c173 ENUM('a173'), c174 ENUM('a174'), c175 ENUM('a175'), c176 ENUM('a176'), c177 ENUM('a177'), c178 ENUM('a178'), c179 ENUM('a179'), c180 ENUM('a180'), c181 ENUM('a181'), c182 ENUM('a182'), c183 ENUM('a183'), c184 ENUM('a184'), c185 ENUM('a185'), c186 ENUM('a186'), c187 ENUM('a187'), c188 ENUM('a188'), c189 ENUM('a189'), c190 ENUM('a190'), c191 ENUM('a191'), c192 ENUM('a192'), c193 ENUM('a193'), c194 ENUM('a194'), c195 ENUM('a195'), c196 ENUM('a196'), c197 ENUM('a197'), c198 ENUM('a198'), c199 ENUM('a199'), c200 ENUM('a200'), c201 ENUM('a201'), c202 ENUM('a202'), c203 ENUM('a203'), c204 ENUM('a204'), c205 ENUM('a205'), c206 ENUM('a206'), c207 ENUM('a207'), c208 ENUM('a208'), c209 ENUM('a209'), c210 ENUM('a210'), c211 ENUM('a211'), c212 ENUM('a212'), c213 ENUM('a213'), c214 ENUM('a214'), c215 ENUM('a215'), c216 ENUM('a216'), c217 ENUM('a217'), c218 ENUM('a218'), c219 ENUM('a219'), c220 ENUM('a220'), c221 ENUM('a221'), c222 ENUM('a222'), c223 ENUM('a223'), c224 ENUM('a224'), c225 ENUM('a225'), c226 ENUM('a226'),
ALTER TABLE t1 ADD COLUMN too_much ENUM('a9999');
ERROR HY000: Too many columns
DROP TABLE t1;
CREATE TABLE t1 (c1 ENUM('a1'), c2 ENUM('a2'), c3 ENUM('a3'), c4 ENUM('a4'), c5 ENUM('a5'), c6 ENUM('a6'), c7 ENUM('a7'), c8 ENUM('a8'), c9 ENUM('a9'), c10 ENUM('a10'), c11 ENUM('a11'), c12 ENUM('a12'), c13 ENUM('a13'), c14 ENUM('a14'), c15 ENUM('a15'), c16 ENUM('a16'), c17 ENUM('a17'), c18 ENUM('a18'), c19 ENUM('a19'), c20 ENUM('a20'), c21 ENUM('a21'), c22 ENUM('a22'), c23 ENUM('a23'), c24 ENUM('a24'), c25 ENUM('a25'), c26 ENUM('a26'), c27 ENUM('a27'), c28 ENUM('a28'), c29 ENUM('a29'), c30 ENUM('a30'), c31 ENUM('a31'), c32 ENUM('a32'), c33 ENUM('a33'), c34 ENUM('a34'), c35 ENUM('a35'), c36 ENUM('a36'), c37 ENUM('a37'), c38 ENUM('a38'), c39 ENUM('a39'), c40 ENUM('a40'), c41 ENUM('a41'), c42 ENUM('a42'), c43 ENUM('a43'), c44 ENUM('a44'), c45 ENUM('a45'), c46 ENUM('a46'), c47 ENUM('a47'), c48 ENUM('a48'), c49 ENUM('a49'), c50 ENUM('a50'), c51 ENUM('a51'), c52 ENUM('a52'), c53 ENUM('a53'), c54 ENUM('a54'), c55 ENUM('a55'), c56 ENUM('a56'), c57 ENUM('a57'), c58 ENUM('a58'), c59 ENUM('a59'), c60 ENUM('a60'), c61 ENUM('a61'), c62 ENUM('a62'), c63 ENUM('a63'), c64 ENUM('a64'), c65 ENUM('a65'), c66 ENUM('a66'), c67 ENUM('a67'), c68 ENUM('a68'), c69 ENUM('a69'), c70 ENUM('a70'), c71 ENUM('a71'), c72 ENUM('a72'), c73 ENUM('a73'), c74 ENUM('a74'), c75 ENUM('a75'), c76 ENUM('a76'), c77 ENUM('a77'), c78 ENUM('a78'), c79 ENUM('a79'), c80 ENUM('a80'), c81 ENUM('a81'), c82 ENUM('a82'), c83 ENUM('a83'), c84 ENUM('a84'), c85 ENUM('a85'), c86 ENUM('a86'), c87 ENUM('a87'), c88 ENUM('a88'), c89 ENUM('a89'), c90 ENUM('a90'), c91 ENUM('a91'), c92 ENUM('a92'), c93 ENUM('a93'), c94 ENUM('a94'), c95 ENUM('a95'), c96 ENUM('a96'), c97 ENUM('a97'), c98 ENUM('a98'), c99 ENUM('a99'), c100 ENUM('a100'), c101 ENUM('a101'), c102 ENUM('a102'), c103 ENUM('a103'), c104 ENUM('a104'), c105 ENUM('a105'), c106 ENUM('a106'), c107 ENUM('a107'), c108 ENUM('a108'), c109 ENUM('a109'), c110 ENUM('a110'), c111 ENUM('a111'), c112 ENUM('a112'), c113 ENUM('a113'), c114 ENUM('a114'), c115 ENUM('a115'), c116 ENUM('a116'), c117 ENUM('a117'), c118 ENUM('a118'), c119 ENUM('a119'), c120 ENUM('a120'), c121 ENUM('a121'), c122 ENUM('a122'), c123 ENUM('a123'), c124 ENUM('a124'), c125 ENUM('a125'), c126 ENUM('a126'), c127 ENUM('a127'), c128 ENUM('a128'), c129 ENUM('a129'), c130 ENUM('a130'), c131 ENUM('a131'), c132 ENUM('a132'), c133 ENUM('a133'), c134 ENUM('a134'), c135 ENUM('a135'), c136 ENUM('a136'), c137 ENUM('a137'), c138 ENUM('a138'), c139 ENUM('a139'), c140 ENUM('a140'), c141 ENUM('a141'), c142 ENUM('a142'), c143 ENUM('a143'), c144 ENUM('a144'), c145 ENUM('a145'), c146 ENUM('a146'), c147 ENUM('a147'), c148 ENUM('a148'), c149 ENUM('a149'), c150 ENUM('a150'), c151 ENUM('a151'), c152 ENUM('a152'), c153 ENUM('a153'), c154 ENUM('a154'), c155 ENUM('a155'), c156 ENUM('a156'), c157 ENUM('a157'), c158 ENUM('a158'), c159 ENUM('a159'), c160 ENUM('a160'), c161 ENUM('a161'), c162 ENUM('a162'), c163 ENUM('a163'), c164 ENUM('a164'), c165 ENUM('a165'), c166 ENUM('a166'), c167 ENUM('a167'), c168 ENUM('a168'), c169 ENUM('a169'), c170 ENUM('a170'), c171 ENUM('a171'), c172 ENUM('a172'), c173 ENUM('a173'), c174 ENUM('a174'), c175 ENUM('a175'), c176 ENUM('a176'), c177 ENUM('a177'), c178 ENUM('a178'), c179 ENUM('a179'), c180 ENUM('a180'), c181 ENUM('a181'), c182 ENUM('a182'), c183 ENUM('a183'), c184 ENUM('a184'), c185 ENUM('a185'), c186 ENUM('a186'), c187 ENUM('a187'), c188 ENUM('a188'), c189 ENUM('a189'), c190 ENUM('a190'), c191 ENUM('a191'), c192 ENUM('a192'), c193 ENUM('a193'), c194 ENUM('a194'), c195 ENUM('a195'), c196 ENUM('a196'), c197 ENUM('a197'), c198 ENUM('a198'), c199 ENUM('a199'), c200 ENUM('a200'), c201 ENUM('a201'), c202 ENUM('a202'), c203 ENUM('a203'), c204 ENUM('a204'), c205 ENUM('a205'), c206 ENUM('a206'), c207 ENUM('a207'), c208 ENUM('a208'), c209 ENUM('a209'), c210 ENUM('a210'), c211 ENUM('a211'), c212 ENUM('a212'), c213 ENUM('a213'), c214 ENUM('a214'), c215 ENUM('a215'), c216 ENUM('a216'), c217 ENUM('a217'), c218 ENUM('a218'), c219 ENUM('a219'), c220 ENUM('a220'), c221 ENUM('a221'), c222 ENUM('a222'), c223 ENUM('a223'), c224 ENUM('a224'), c225 ENUM('a225'), c226 ENUM('a226'),
ERROR HY000: Too many columns
CREATE TABLE t1 (c1 SET('a1'), c2 SET('a2'), c3 SET('a3'), c4 SET('a4'), c5 SET('a5'), c6 SET('a6'), c7 SET('a7'), c8 SET('a8'), c9 SET('a9'), c10 SET('a10'), c11 SET('a11'), c12 SET('a12'), c13 SET('a13'), c14 SET('a14'), c15 SET('a15'), c16 SET('a16'), c17 SET('a17'), c18 SET('a18'), c19 SET('a19'), c20 SET('a20'), c21 SET('a21'), c22 SET('a22'), c23 SET('a23'), c24 SET('a24'), c25 SET('a25'), c26 SET('a26'), c27 SET('a27'), c28 SET('a28'), c29 SET('a29'), c30 SET('a30'), c31 SET('a31'), c32 SET('a32'), c33 SET('a33'), c34 SET('a34'), c35 SET('a35'), c36 SET('a36'), c37 SET('a37'), c38 SET('a38'), c39 SET('a39'), c40 SET('a40'), c41 SET('a41'), c42 SET('a42'), c43 SET('a43'), c44 SET('a44'), c45 SET('a45'), c46 SET('a46'), c47 SET('a47'), c48 SET('a48'), c49 SET('a49'), c50 SET('a50'), c51 SET('a51'), c52 SET('a52'), c53 SET('a53'), c54 SET('a54'), c55 SET('a55'), c56 SET('a56'), c57 SET('a57'), c58 SET('a58'), c59 SET('a59'), c60 SET('a60'), c61 SET('a61'), c62 SET('a62'), c63 SET('a63'), c64 SET('a64'), c65 SET('a65'), c66 SET('a66'), c67 SET('a67'), c68 SET('a68'), c69 SET('a69'), c70 SET('a70'), c71 SET('a71'), c72 SET('a72'), c73 SET('a73'), c74 SET('a74'), c75 SET('a75'), c76 SET('a76'), c77 SET('a77'), c78 SET('a78'), c79 SET('a79'), c80 SET('a80'), c81 SET('a81'), c82 SET('a82'), c83 SET('a83'), c84 SET('a84'), c85 SET('a85'), c86 SET('a86'), c87 SET('a87'), c88 SET('a88'), c89 SET('a89'), c90 SET('a90'), c91 SET('a91'), c92 SET('a92'), c93 SET('a93'), c94 SET('a94'), c95 SET('a95'), c96 SET('a96'), c97 SET('a97'), c98 SET('a98'), c99 SET('a99'), c100 SET('a100'), c101 SET('a101'), c102 SET('a102'), c103 SET('a103'), c104 SET('a104'), c105 SET('a105'), c106 SET('a106'), c107 SET('a107'), c108 SET('a108'), c109 SET('a109'), c110 SET('a110'), c111 SET('a111'), c112 SET('a112'), c113 SET('a113'), c114 SET('a114'), c115 SET('a115'), c116 SET('a116'), c117 SET('a117'), c118 SET('a118'), c119 SET('a119'), c120 SET('a120'), c121 SET('a121'), c122 SET('a122'), c123 SET('a123'), c124 SET('a124'), c125 SET('a125'), c126 SET('a126'), c127 SET('a127'), c128 SET('a128'), c129 SET('a129'), c130 SET('a130'), c131 SET('a131'), c132 SET('a132'), c133 SET('a133'), c134 SET('a134'), c135 SET('a135'), c136 SET('a136'), c137 SET('a137'), c138 SET('a138'), c139 SET('a139'), c140 SET('a140'), c141 SET('a141'), c142 SET('a142'), c143 SET('a143'), c144 SET('a144'), c145 SET('a145'), c146 SET('a146'), c147 SET('a147'), c148 SET('a148'), c149 SET('a149'), c150 SET('a150'), c151 SET('a151'), c152 SET('a152'), c153 SET('a153'), c154 SET('a154'), c155 SET('a155'), c156 SET('a156'), c157 SET('a157'), c158 SET('a158'), c159 SET('a159'), c160 SET('a160'), c161 SET('a161'), c162 SET('a162'), c163 SET('a163'), c164 SET('a164'), c165 SET('a165'), c166 SET('a166'), c167 SET('a167'), c168 SET('a168'), c169 SET('a169'), c170 SET('a170'), c171 SET('a171'), c172 SET('a172'), c173 SET('a173'), c174 SET('a174'), c175 SET('a175'), c176 SET('a176'), c177 SET('a177'), c178 SET('a178'), c179 SET('a179'), c180 SET('a180'), c181 SET('a181'), c182 SET('a182'), c183 SET('a183'), c184 SET('a184'), c185 SET('a185'), c186 SET('a186'), c187 SET('a187'), c188 SET('a188'), c189 SET('a189'), c190 SET('a190'), c191 SET('a191'), c192 SET('a192'), c193 SET('a193'), c194 SET('a194'), c195 SET('a195'), c196 SET('a196'), c197 SET('a197'), c198 SET('a198'), c199 SET('a199'), c200 SET('a200'), c201 SET('a201'), c202 SET('a202'), c203 SET('a203'), c204 SET('a204'), c205 SET('a205'), c206 SET('a206'), c207 SET('a207'), c208 SET('a208'), c209 SET('a209'), c210 SET('a210'), c211 SET('a211'), c212 SET('a212'), c213 SET('a213'), c214 SET('a214'), c215 SET('a215'), c216 SET('a216'), c217 SET('a217'), c218 SET('a218'), c219 SET('a219'), c220 SET('a220'), c221 SET('a221'), c222 SET('a222'), c223 SET('a223'), c224 SET('a224'), c225 SET('a225'), c226 SET('a226'), c227 SET('a227'), c228 SET('a228'), c229 SET('a229'), c230 SET('a230'), c231 SET('a231'), c232 SET('a232'), c233 SET('a233'), c234 SET('a234'), c235 SET('a235'), c236 SET('a236'), c237 SET('a237'), c238 SET('a238'), c239 SET('
ALTER TABLE t1 ADD COLUMN too_much SET('a9999');
ERROR HY000: Too many columns
DROP TABLE t1;
CREATE TABLE t1 (c1 SET('a1'), c2 SET('a2'), c3 SET('a3'), c4 SET('a4'), c5 SET('a5'), c6 SET('a6'), c7 SET('a7'), c8 SET('a8'), c9 SET('a9'), c10 SET('a10'), c11 SET('a11'), c12 SET('a12'), c13 SET('a13'), c14 SET('a14'), c15 SET('a15'), c16 SET('a16'), c17 SET('a17'), c18 SET('a18'), c19 SET('a19'), c20 SET('a20'), c21 SET('a21'), c22 SET('a22'), c23 SET('a23'), c24 SET('a24'), c25 SET('a25'), c26 SET('a26'), c27 SET('a27'), c28 SET('a28'), c29 SET('a29'), c30 SET('a30'), c31 SET('a31'), c32 SET('a32'), c33 SET('a33'), c34 SET('a34'), c35 SET('a35'), c36 SET('a36'), c37 SET('a37'), c38 SET('a38'), c39 SET('a39'), c40 SET('a40'), c41 SET('a41'), c42 SET('a42'), c43 SET('a43'), c44 SET('a44'), c45 SET('a45'), c46 SET('a46'), c47 SET('a47'), c48 SET('a48'), c49 SET('a49'), c50 SET('a50'), c51 SET('a51'), c52 SET('a52'), c53 SET('a53'), c54 SET('a54'), c55 SET('a55'), c56 SET('a56'), c57 SET('a57'), c58 SET('a58'), c59 SET('a59'), c60 SET('a60'), c61 SET('a61'), c62 SET('a62'), c63 SET('a63'), c64 SET('a64'), c65 SET('a65'), c66 SET('a66'), c67 SET('a67'), c68 SET('a68'), c69 SET('a69'), c70 SET('a70'), c71 SET('a71'), c72 SET('a72'), c73 SET('a73'), c74 SET('a74'), c75 SET('a75'), c76 SET('a76'), c77 SET('a77'), c78 SET('a78'), c79 SET('a79'), c80 SET('a80'), c81 SET('a81'), c82 SET('a82'), c83 SET('a83'), c84 SET('a84'), c85 SET('a85'), c86 SET('a86'), c87 SET('a87'), c88 SET('a88'), c89 SET('a89'), c90 SET('a90'), c91 SET('a91'), c92 SET('a92'), c93 SET('a93'), c94 SET('a94'), c95 SET('a95'), c96 SET('a96'), c97 SET('a97'), c98 SET('a98'), c99 SET('a99'), c100 SET('a100'), c101 SET('a101'), c102 SET('a102'), c103 SET('a103'), c104 SET('a104'), c105 SET('a105'), c106 SET('a106'), c107 SET('a107'), c108 SET('a108'), c109 SET('a109'), c110 SET('a110'), c111 SET('a111'), c112 SET('a112'), c113 SET('a113'), c114 SET('a114'), c115 SET('a115'), c116 SET('a116'), c117 SET('a117'), c118 SET('a118'), c119 SET('a119'), c120 SET('a120'), c121 SET('a121'), c122 SET('a122'), c123 SET('a123'), c124 SET('a124'), c125 SET('a125'), c126 SET('a126'), c127 SET('a127'), c128 SET('a128'), c129 SET('a129'), c130 SET('a130'), c131 SET('a131'), c132 SET('a132'), c133 SET('a133'), c134 SET('a134'), c135 SET('a135'), c136 SET('a136'), c137 SET('a137'), c138 SET('a138'), c139 SET('a139'), c140 SET('a140'), c141 SET('a141'), c142 SET('a142'), c143 SET('a143'), c144 SET('a144'), c145 SET('a145'), c146 SET('a146'), c147 SET('a147'), c148 SET('a148'), c149 SET('a149'), c150 SET('a150'), c151 SET('a151'), c152 SET('a152'), c153 SET('a153'), c154 SET('a154'), c155 SET('a155'), c156 SET('a156'), c157 SET('a157'), c158 SET('a158'), c159 SET('a159'), c160 SET('a160'), c161 SET('a161'), c162 SET('a162'), c163 SET('a163'), c164 SET('a164'), c165 SET('a165'), c166 SET('a166'), c167 SET('a167'), c168 SET('a168'), c169 SET('a169'), c170 SET('a170'), c171 SET('a171'), c172 SET('a172'), c173 SET('a173'), c174 SET('a174'), c175 SET('a175'), c176 SET('a176'), c177 SET('a177'), c178 SET('a178'), c179 SET('a179'), c180 SET('a180'), c181 SET('a181'), c182 SET('a182'), c183 SET('a183'), c184 SET('a184'), c185 SET('a185'), c186 SET('a186'), c187 SET('a187'), c188 SET('a188'), c189 SET('a189'), c190 SET('a190'), c191 SET('a191'), c192 SET('a192'), c193 SET('a193'), c194 SET('a194'), c195 SET('a195'), c196 SET('a196'), c197 SET('a197'), c198 SET('a198'), c199 SET('a199'), c200 SET('a200'), c201 SET('a201'), c202 SET('a202'), c203 SET('a203'), c204 SET('a204'), c205 SET('a205'), c206 SET('a206'), c207 SET('a207'), c208 SET('a208'), c209 SET('a209'), c210 SET('a210'), c211 SET('a211'), c212 SET('a212'), c213 SET('a213'), c214 SET('a214'), c215 SET('a215'), c216 SET('a216'), c217 SET('a217'), c218 SET('a218'), c219 SET('a219'), c220 SET('a220'), c221 SET('a221'), c222 SET('a222'), c223 SET('a223'), c224 SET('a224'), c225 SET('a225'), c226 SET('a226'), c227 SET('a227'), c228 SET('a228'), c229 SET('a229'), c230 SET('a230'), c231 SET('a231'), c232 SET('a232'), c233 SET('a233'), c234 SET('a234'), c235 SET('a235'), c236 SET('a236'), c237 SET('a237'), c238 SET('a238'), c239 SET('
ERROR HY000: Too many columns
#
# 2: Max number of elements in ENUM
CREATE TABLE t1 (col ENUM('a0', 'a65534', 'a65533', 'a65532', 'a65531', 'a65530', 'a65529', 'a65528', 'a65527', 'a65526', 'a65525', 'a65524', 'a65523', 'a65522', 'a65521', 'a65520', 'a65519', 'a65518', 'a65517', 'a65516', 'a65515', 'a65514', 'a65513', 'a65512', 'a65511', 'a65510', 'a65509', 'a65508', 'a65507', 'a65506', 'a65505', 'a65504', 'a65503', 'a65502', 'a65501', 'a65500', 'a65499', 'a65498', 'a65497', 'a65496', 'a65495', 'a65494', 'a65493', 'a65492', 'a65491', 'a65490', 'a65489', 'a65488', 'a65487', 'a65486', 'a65485', 'a65484', 'a65483', 'a65482', 'a65481', 'a65480', 'a65479', 'a65478', 'a65477', 'a65476', 'a65475', 'a65474', 'a65473', 'a65472', 'a65471', 'a65470', 'a65469', 'a65468', 'a65467', 'a65466', 'a65465', 'a65464', 'a65463', 'a65462', 'a65461', 'a65460', 'a65459', 'a65458', 'a65457', 'a65456', 'a65455', 'a65454', 'a65453', 'a65452', 'a65451', 'a65450', 'a65449', 'a65448', 'a65447', 'a65446', 'a65445', 'a65444', 'a65443', 'a65442', 'a65441', 'a65440', 'a65439', 'a65438', 'a65437', 'a65436', 'a65435', 'a65434', 'a65433', 'a65432', 'a65431', 'a65430', 'a65429', 'a65428', 'a65427', 'a65426', 'a65425', 'a65424', 'a65423', 'a65422', 'a65421', 'a65420', 'a65419', 'a65418', 'a65417', 'a65416', 'a65415', 'a65414', 'a65413', 'a65412', 'a65411', 'a65410', 'a65409', 'a65408', 'a65407', 'a65406', 'a65405', 'a65404', 'a65403', 'a65402', 'a65401', 'a65400', 'a65399', 'a65398', 'a65397', 'a65396', 'a65395', 'a65394', 'a65393', 'a65392', 'a65391', 'a65390', 'a65389', 'a65388', 'a65387', 'a65386', 'a65385', 'a65384', 'a65383', 'a65382', 'a65381', 'a65380', 'a65379', 'a65378', 'a65377', 'a65376', 'a65375', 'a65374', 'a65373', 'a65372', 'a65371', 'a65370', 'a65369', 'a65368', 'a65367', 'a65366', 'a65365', 'a65364', 'a65363', 'a65362', 'a65361', 'a65360', 'a65359', 'a65358', 'a65357', 'a65356', 'a65355', 'a65354', 'a65353', 'a65352', 'a65351', 'a65350', 'a65349', 'a65348', 'a65347', 'a65346', 'a65345', 'a65344', 'a65343', 'a65342', 'a65341', 'a65340', 'a65339', 'a65338', 'a65337', 'a65336', 'a65335', 'a65334', 'a65333', 'a65332', 'a65331', 'a65330', 'a65329', 'a65328', 'a65327', 'a65326', 'a65325', 'a65324', 'a65323', 'a65322', 'a65321', 'a65320', 'a65319', 'a65318', 'a65317', 'a65316', 'a65315', 'a65314', 'a65313', 'a65312', 'a65311', 'a65310', 'a65309', 'a65308', 'a65307', 'a65306', 'a65305', 'a65304', 'a65303', 'a65302', 'a65301', 'a65300', 'a65299', 'a65298', 'a65297', 'a65296', 'a65295', 'a65294', 'a65293', 'a65292', 'a65291', 'a65290', 'a65289', 'a65288', 'a65287', 'a65286', 'a65285', 'a65284', 'a65283', 'a65282', 'a65281', 'a65280', 'a65279', 'a65278', 'a65277', 'a65276', 'a65275', 'a65274', 'a65273', 'a65272', 'a65271', 'a65270', 'a65269', 'a65268', 'a65267', 'a65266', 'a65265', 'a65264', 'a65263', 'a65262', 'a65261', 'a65260', 'a65259', 'a65258', 'a65257', 'a65256', 'a65255', 'a65254', 'a65253', 'a65252', 'a65251', 'a65250', 'a65249', 'a65248', 'a65247', 'a65246', 'a65245', 'a65244', 'a65243', 'a65242', 'a65241', 'a65240', 'a65239', 'a65238', 'a65237', 'a65236', 'a65235', 'a65234', 'a65233', 'a65232', 'a65231', 'a65230', 'a65229', 'a65228', 'a65227', 'a65226', 'a65225', 'a65224', 'a65223', 'a65222', 'a65221', 'a65220', 'a65219', 'a65218', 'a65217', 'a65216', 'a65215', 'a65214', 'a65213', 'a65212', 'a65211', 'a65210', 'a65209', 'a65208', 'a65207', 'a65206', 'a65205', 'a65204', 'a65203', 'a65202', 'a65201', 'a65200', 'a65199', 'a65198', 'a65197', 'a65196', 'a65195', 'a65194', 'a65193', 'a65192', 'a65191', 'a65190', 'a65189', 'a65188', 'a65187', 'a65186', 'a65185', 'a65184', 'a65183', 'a65182', 'a65181', 'a65180', 'a65179', 'a65178', 'a65177', 'a65176', 'a65175', 'a65174', 'a65173', 'a65172', 'a65171', 'a65170', 'a65169', 'a65168', 'a65167', 'a65166', 'a65165', 'a65164', 'a65163', 'a65162', 'a65161', 'a65160', 'a65159', 'a65158', 'a65157', 'a65156', 'a65155', 'a65154', 'a65153', 'a65152', 'a65151', 'a65150', 'a65149', 'a65148', 'a65147', 'a65146', 'a65145', 'a65144', 'a65143', 'a65142', 'a65141', 'a65140', 'a65139', 'a65138', 'a65137', 'a65136', 'a65135', 'a65134', 'a65133', 'a65132', 'a65131', 'a65130', 'a65129', 'a6
INSERT INTO t1 values ('a0'), ('a1'), ('a2');
SELECT * FROM t1;
col
a0
a1
a2
DROP TABLE t1;
CREATE TABLE t1 (col ENUM('a0', 'a65534', 'a65533', 'a65532', 'a65531', 'a65530', 'a65529', 'a65528', 'a65527', 'a65526', 'a65525', 'a65524', 'a65523', 'a65522', 'a65521', 'a65520', 'a65519', 'a65518', 'a65517', 'a65516', 'a65515', 'a65514', 'a65513', 'a65512', 'a65511', 'a65510', 'a65509', 'a65508', 'a65507', 'a65506', 'a65505', 'a65504', 'a65503', 'a65502', 'a65501', 'a65500', 'a65499', 'a65498', 'a65497', 'a65496', 'a65495', 'a65494', 'a65493', 'a65492', 'a65491', 'a65490', 'a65489', 'a65488', 'a65487', 'a65486', 'a65485', 'a65484', 'a65483', 'a65482', 'a65481', 'a65480', 'a65479', 'a65478', 'a65477', 'a65476', 'a65475', 'a65474', 'a65473', 'a65472', 'a65471', 'a65470', 'a65469', 'a65468', 'a65467', 'a65466', 'a65465', 'a65464', 'a65463', 'a65462', 'a65461', 'a65460', 'a65459', 'a65458', 'a65457', 'a65456', 'a65455', 'a65454', 'a65453', 'a65452', 'a65451', 'a65450', 'a65449', 'a65448', 'a65447', 'a65446', 'a65445', 'a65444', 'a65443', 'a65442', 'a65441', 'a65440', 'a65439', 'a65438', 'a65437', 'a65436', 'a65435', 'a65434', 'a65433', 'a65432', 'a65431', 'a65430', 'a65429', 'a65428', 'a65427', 'a65426', 'a65425', 'a65424', 'a65423', 'a65422', 'a65421', 'a65420', 'a65419', 'a65418', 'a65417', 'a65416', 'a65415', 'a65414', 'a65413', 'a65412', 'a65411', 'a65410', 'a65409', 'a65408', 'a65407', 'a65406', 'a65405', 'a65404', 'a65403', 'a65402', 'a65401', 'a65400', 'a65399', 'a65398', 'a65397', 'a65396', 'a65395', 'a65394', 'a65393', 'a65392', 'a65391', 'a65390', 'a65389', 'a65388', 'a65387', 'a65386', 'a65385', 'a65384', 'a65383', 'a65382', 'a65381', 'a65380', 'a65379', 'a65378', 'a65377', 'a65376', 'a65375', 'a65374', 'a65373', 'a65372', 'a65371', 'a65370', 'a65369', 'a65368', 'a65367', 'a65366', 'a65365', 'a65364', 'a65363', 'a65362', 'a65361', 'a65360', 'a65359', 'a65358', 'a65357', 'a65356', 'a65355', 'a65354', 'a65353', 'a65352', 'a65351', 'a65350', 'a65349', 'a65348', 'a65347', 'a65346', 'a65345', 'a65344', 'a65343', 'a65342', 'a65341', 'a65340', 'a65339', 'a65338', 'a65337', 'a65336', 'a65335', 'a65334', 'a65333', 'a65332', 'a65331', 'a65330', 'a65329', 'a65328', 'a65327', 'a65326', 'a65325', 'a65324', 'a65323', 'a65322', 'a65321', 'a65320', 'a65319', 'a65318', 'a65317', 'a65316', 'a65315', 'a65314', 'a65313', 'a65312', 'a65311', 'a65310', 'a65309', 'a65308', 'a65307', 'a65306', 'a65305', 'a65304', 'a65303', 'a65302', 'a65301', 'a65300', 'a65299', 'a65298', 'a65297', 'a65296', 'a65295', 'a65294', 'a65293', 'a65292', 'a65291', 'a65290', 'a65289', 'a65288', 'a65287', 'a65286', 'a65285', 'a65284', 'a65283', 'a65282', 'a65281', 'a65280', 'a65279', 'a65278', 'a65277', 'a65276', 'a65275', 'a65274', 'a65273', 'a65272', 'a65271', 'a65270', 'a65269', 'a65268', 'a65267', 'a65266', 'a65265', 'a65264', 'a65263', 'a65262', 'a65261', 'a65260', 'a65259', 'a65258', 'a65257', 'a65256', 'a65255', 'a65254', 'a65253', 'a65252', 'a65251', 'a65250', 'a65249', 'a65248', 'a65247', 'a65246', 'a65245', 'a65244', 'a65243', 'a65242', 'a65241', 'a65240', 'a65239', 'a65238', 'a65237', 'a65236', 'a65235', 'a65234', 'a65233', 'a65232', 'a65231', 'a65230', 'a65229', 'a65228', 'a65227', 'a65226', 'a65225', 'a65224', 'a65223', 'a65222', 'a65221', 'a65220', 'a65219', 'a65218', 'a65217', 'a65216', 'a65215', 'a65214', 'a65213', 'a65212', 'a65211', 'a65210', 'a65209', 'a65208', 'a65207', 'a65206', 'a65205', 'a65204', 'a65203', 'a65202', 'a65201', 'a65200', 'a65199', 'a65198', 'a65197', 'a65196', 'a65195', 'a65194', 'a65193', 'a65192', 'a65191', 'a65190', 'a65189', 'a65188', 'a65187', 'a65186', 'a65185', 'a65184', 'a65183', 'a65182', 'a65181', 'a65180', 'a65179', 'a65178', 'a65177', 'a65176', 'a65175', 'a65174', 'a65173', 'a65172', 'a65171', 'a65170', 'a65169', 'a65168', 'a65167', 'a65166', 'a65165', 'a65164', 'a65163', 'a65162', 'a65161', 'a65160', 'a65159', 'a65158', 'a65157', 'a65156', 'a65155', 'a65154', 'a65153', 'a65152', 'a65151', 'a65150', 'a65149', 'a65148', 'a65147', 'a65146', 'a65145', 'a65144', 'a65143', 'a65142', 'a65141', 'a65140', 'a65139', 'a65138', 'a65137', 'a65136', 'a65135', 'a65134', 'a65133', 'a65132', 'a65131', 'a65130', 'a65129', 'a6
ERROR HY000: Too many enumeration values for column col.
#
# 3: Max ENUM/SET value length
CREATE TABLE t1 (col ENUM('123450123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'));
ALTER TABLE t1 ADD COLUMN col2 ENUM('1234560123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789');
ERROR HY000: Too long enumeration/set value for column col2.
DROP TABLE t1;
CREATE TABLE t1 (col ENUM('1234560123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'));
ERROR HY000: Too long enumeration/set value for column col.
CREATE TABLE t1 (col SET('123450123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'));
ALTER TABLE t1 ADD COLUMN col2 SET('1234560123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789');
ERROR HY000: Too long enumeration/set value for column col2.
DROP TABLE t1;
CREATE TABLE t1 (col SET('1234560123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'));
ERROR HY000: Too long enumeration/set value for column col.