Merge lp:~drizzle-pbxt/drizzle/drizzle-pbxt-4-test-results into lp:~drizzle-trunk/drizzle/development

Proposed by Vladimir Kolesnikov
Status: Work in progress
Proposed branch: lp:~drizzle-pbxt/drizzle/drizzle-pbxt-4-test-results
Merge into: lp:~drizzle-trunk/drizzle/development
Diff against target: 78357 lines
To merge this branch: bzr merge lp:~drizzle-pbxt/drizzle/drizzle-pbxt-4-test-results
Reviewer Review Type Date Requested Status
Drizzle Developers Pending
Review via email: mp+22826@code.launchpad.net

Description of the change

pbxt-specific .result files

To post a comment you must log in.

Unmerged revisions

1440. By Vladimir Kolesnikov

added engine-specific .result files for pbxt

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'drizzled/schema_identifier.cc'
--- drizzled/schema_identifier.cc 2010-03-31 18:01:35 +0000
+++ drizzled/schema_identifier.cc 2010-04-05 20:27:29 +0000
@@ -42,7 +42,7 @@
4242
43static const char hexchars[]= "0123456789abcdef";43static const char hexchars[]= "0123456789abcdef";
4444
45static bool tablename_to_filename(const char *from, char *to, size_t to_length);45bool tablename_to_filename(const char *from, char *to, size_t to_length);
4646
47static size_t build_schema_filename(std::string &path, const char *db)47static size_t build_schema_filename(std::string &path, const char *db)
48{48{
@@ -91,7 +91,7 @@
91 RETURN91 RETURN
92 true if errors happen. false on success.92 true if errors happen. false on success.
93*/93*/
94static bool tablename_to_filename(const char *from, char *to, size_t to_length)94bool tablename_to_filename(const char *from, char *to, size_t to_length)
95{95{
96 96
97 size_t length= 0;97 size_t length= 0;
9898
=== added directory 'tests/r/pbxt'
=== added file 'tests/r/pbxt/alter_table.result'
--- tests/r/pbxt/alter_table.result 1970-01-01 00:00:00 +0000
+++ tests/r/pbxt/alter_table.result 2010-04-05 20:27:29 +0000
@@ -0,0 +1,896 @@
1drop table if exists t1,t2;
2drop database if exists mysqltest;
3create table t1 (
4col1 int not null auto_increment primary key,
5col2 varchar(30) not null,
6col3 varchar (20) not null,
7col4 varchar(4) not null,
8col5 enum('PENDING', 'ACTIVE', 'DISABLED') not null,
9col6 int not null, to_be_deleted int);
10insert into t1 values (2,4,3,5,"PENDING",1,7);
11alter table t1
12add column col4_5 varchar(20) not null after col4,
13add column col7 varchar(30) not null after col5,
14add column col8 datetime not null, drop column to_be_deleted,
15change column col2 fourth varchar(30) not null after col3,
16modify column col6 int not null first;
17select * from t1;
18col6 col1 col3 fourth col4 col4_5 col5 col7 col8
191 2 3 4 5 PENDING 0000-00-00 00:00:00
20drop table t1;
21create table t1 (bandID INT NOT NULL PRIMARY KEY, payoutID int NOT NULL);
22insert into t1 (bandID,payoutID) VALUES (1,6),(2,6),(3,4),(4,9),(5,10),(6,1),(7,12),(8,12);
23alter table t1 add column new_col int;
24select * from t1;
25bandID payoutID new_col
261 6 NULL
272 6 NULL
283 4 NULL
294 9 NULL
305 10 NULL
316 1 NULL
327 12 NULL
338 12 NULL
34alter table t1;
35select * from t1;
36bandID payoutID new_col
371 6 NULL
382 6 NULL
393 4 NULL
404 9 NULL
415 10 NULL
426 1 NULL
437 12 NULL
448 12 NULL
45drop table t1;
46CREATE TABLE t1 (
47GROUP_ID int DEFAULT '0' NOT NULL,
48LANG_ID int DEFAULT '0' NOT NULL,
49NAME varchar(80) DEFAULT '' NOT NULL,
50PRIMARY KEY (GROUP_ID,LANG_ID),
51KEY NAME (NAME));
52ALTER TABLE t1 CHANGE NAME NAME CHAR(80) not null;
53SHOW FULL COLUMNS FROM t1;
54Field Type Collation Null Key Default Extra Privileges Comment
55GROUP_ID int NULL NO PRI 0 #
56LANG_ID int NULL NO PRI 0 #
57NAME varchar(80) utf8_general_ci NO MUL NULL #
58DROP TABLE t1;
59create table t1 (n int);
60insert into t1 values(9),(3),(12),(10);
61alter table t1 order by n;
62select * from t1;
63n
643
659
6610
6712
68drop table t1;
69CREATE TEMPORARY TABLE t1 (
70id int NOT NULL default '0',
71category_id int NOT NULL default '0',
72type_id int NOT NULL default '0',
73body text NOT NULL,
74user_id int NOT NULL default '0',
75status enum('new','old') NOT NULL default 'new',
76PRIMARY KEY (id)
77) ENGINE=MyISAM;
78ALTER TABLE t1 ORDER BY t1.id, t1.status, t1.type_id, t1.user_id, t1.body;
79DROP TABLE t1;
80create table t1 (i int not null auto_increment primary key);
81insert into t1 values (null),(null),(null),(null);
82alter table t1 drop i,add i int not null auto_increment, drop primary key, add primary key (i);
83select * from t1;
84i
851
862
873
884
89drop table t1;
90create table t1 (name char(15));
91insert into t1 (name) values ("current");
92create database mysqltest;
93create table mysqltest.t1 (name char(15));
94insert into mysqltest.t1 (name) values ("mysqltest");
95select * from t1;
96name
97current
98select * from mysqltest.t1;
99name
100mysqltest
101alter table t1 rename mysqltest.t1;
102ERROR 42S01: Table 't1' already exists
103select * from t1;
104name
105current
106select * from mysqltest.t1;
107name
108mysqltest
109drop table t1;
110drop database mysqltest;
111create table t1 (n1 int not null, n2 int, n3 int, n4 float,
112unique(n1),
113key (n1, n2, n3, n4),
114key (n2, n3, n4, n1),
115key (n3, n4, n1, n2),
116key (n4, n1, n2, n3) );
117alter table t1;
118show keys from t1;
119Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
120t1 0 n1 1 n1 A 0 NULL NULL BTREE
121t1 1 n1_2 1 n1 A 0 NULL NULL BTREE
122t1 1 n1_2 2 n2 A 0 NULL NULL YES BTREE
123t1 1 n1_2 3 n3 A 0 NULL NULL YES BTREE
124t1 1 n1_2 4 n4 A 0 NULL NULL YES BTREE
125t1 1 n2 1 n2 A 0 NULL NULL YES BTREE
126t1 1 n2 2 n3 A 0 NULL NULL YES BTREE
127t1 1 n2 3 n4 A 0 NULL NULL YES BTREE
128t1 1 n2 4 n1 A 0 NULL NULL BTREE
129t1 1 n3 1 n3 A 0 NULL NULL YES BTREE
130t1 1 n3 2 n4 A 0 NULL NULL YES BTREE
131t1 1 n3 3 n1 A 0 NULL NULL BTREE
132t1 1 n3 4 n2 A 0 NULL NULL YES BTREE
133t1 1 n4 1 n4 A 0 NULL NULL YES BTREE
134t1 1 n4 2 n1 A 0 NULL NULL BTREE
135t1 1 n4 3 n2 A 0 NULL NULL YES BTREE
136t1 1 n4 4 n3 A 0 NULL NULL YES BTREE
137set autocommit=0;
138begin;
139insert into t1 values(10,RAND()*1000,RAND()*1000,RAND());
140insert into t1 values(9,RAND()*1000,RAND()*1000,RAND());
141insert into t1 values(8,RAND()*1000,RAND()*1000,RAND());
142insert into t1 values(7,RAND()*1000,RAND()*1000,RAND());
143insert into t1 values(6,RAND()*1000,RAND()*1000,RAND());
144insert into t1 values(5,RAND()*1000,RAND()*1000,RAND());
145insert into t1 values(4,RAND()*1000,RAND()*1000,RAND());
146insert into t1 values(3,RAND()*1000,RAND()*1000,RAND());
147insert into t1 values(2,RAND()*1000,RAND()*1000,RAND());
148insert into t1 values(1,RAND()*1000,RAND()*1000,RAND());
149commit;
150set autocommit=1;
151alter table t1 enable keys;
152Warnings:
153Note 1031 Table storage engine for 't1' doesn't have this option
154show keys from t1;
155Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
156t1 0 n1 1 n1 A 10 NULL NULL BTREE
157t1 1 n1_2 1 n1 A 10 NULL NULL BTREE
158t1 1 n1_2 2 n2 A 10 NULL NULL YES BTREE
159t1 1 n1_2 3 n3 A 10 NULL NULL YES BTREE
160t1 1 n1_2 4 n4 A 10 NULL NULL YES BTREE
161t1 1 n2 1 n2 A 10 NULL NULL YES BTREE
162t1 1 n2 2 n3 A 10 NULL NULL YES BTREE
163t1 1 n2 3 n4 A 10 NULL NULL YES BTREE
164t1 1 n2 4 n1 A 10 NULL NULL BTREE
165t1 1 n3 1 n3 A 10 NULL NULL YES BTREE
166t1 1 n3 2 n4 A 10 NULL NULL YES BTREE
167t1 1 n3 3 n1 A 10 NULL NULL BTREE
168t1 1 n3 4 n2 A 10 NULL NULL YES BTREE
169t1 1 n4 1 n4 A 10 NULL NULL YES BTREE
170t1 1 n4 2 n1 A 10 NULL NULL BTREE
171t1 1 n4 3 n2 A 10 NULL NULL YES BTREE
172t1 1 n4 4 n3 A 10 NULL NULL YES BTREE
173drop table t1;
174create table t1 (i int not null auto_increment primary key);
175alter table t1 rename t2;
176alter table t2 rename t1, add c char(10) comment "no comment";
177show columns from t1;
178Field Type Null Key Default Extra
179i int NO PRI NULL auto_increment
180c varchar(10) YES NULL
181drop table t1;
182create table t1 (a int, b int);
183set autocommit=0;
184begin;
185insert into t1 values(1,100), (2,100), (3, 100);
186insert into t1 values(1,99), (2,99), (3, 99);
187insert into t1 values(1,98), (2,98), (3, 98);
188insert into t1 values(1,97), (2,97), (3, 97);
189insert into t1 values(1,96), (2,96), (3, 96);
190insert into t1 values(1,95), (2,95), (3, 95);
191insert into t1 values(1,94), (2,94), (3, 94);
192insert into t1 values(1,93), (2,93), (3, 93);
193insert into t1 values(1,92), (2,92), (3, 92);
194insert into t1 values(1,91), (2,91), (3, 91);
195insert into t1 values(1,90), (2,90), (3, 90);
196insert into t1 values(1,89), (2,89), (3, 89);
197insert into t1 values(1,88), (2,88), (3, 88);
198insert into t1 values(1,87), (2,87), (3, 87);
199insert into t1 values(1,86), (2,86), (3, 86);
200insert into t1 values(1,85), (2,85), (3, 85);
201insert into t1 values(1,84), (2,84), (3, 84);
202insert into t1 values(1,83), (2,83), (3, 83);
203insert into t1 values(1,82), (2,82), (3, 82);
204insert into t1 values(1,81), (2,81), (3, 81);
205insert into t1 values(1,80), (2,80), (3, 80);
206insert into t1 values(1,79), (2,79), (3, 79);
207insert into t1 values(1,78), (2,78), (3, 78);
208insert into t1 values(1,77), (2,77), (3, 77);
209insert into t1 values(1,76), (2,76), (3, 76);
210insert into t1 values(1,75), (2,75), (3, 75);
211insert into t1 values(1,74), (2,74), (3, 74);
212insert into t1 values(1,73), (2,73), (3, 73);
213insert into t1 values(1,72), (2,72), (3, 72);
214insert into t1 values(1,71), (2,71), (3, 71);
215insert into t1 values(1,70), (2,70), (3, 70);
216insert into t1 values(1,69), (2,69), (3, 69);
217insert into t1 values(1,68), (2,68), (3, 68);
218insert into t1 values(1,67), (2,67), (3, 67);
219insert into t1 values(1,66), (2,66), (3, 66);
220insert into t1 values(1,65), (2,65), (3, 65);
221insert into t1 values(1,64), (2,64), (3, 64);
222insert into t1 values(1,63), (2,63), (3, 63);
223insert into t1 values(1,62), (2,62), (3, 62);
224insert into t1 values(1,61), (2,61), (3, 61);
225insert into t1 values(1,60), (2,60), (3, 60);
226insert into t1 values(1,59), (2,59), (3, 59);
227insert into t1 values(1,58), (2,58), (3, 58);
228insert into t1 values(1,57), (2,57), (3, 57);
229insert into t1 values(1,56), (2,56), (3, 56);
230insert into t1 values(1,55), (2,55), (3, 55);
231insert into t1 values(1,54), (2,54), (3, 54);
232insert into t1 values(1,53), (2,53), (3, 53);
233insert into t1 values(1,52), (2,52), (3, 52);
234insert into t1 values(1,51), (2,51), (3, 51);
235insert into t1 values(1,50), (2,50), (3, 50);
236insert into t1 values(1,49), (2,49), (3, 49);
237insert into t1 values(1,48), (2,48), (3, 48);
238insert into t1 values(1,47), (2,47), (3, 47);
239insert into t1 values(1,46), (2,46), (3, 46);
240insert into t1 values(1,45), (2,45), (3, 45);
241insert into t1 values(1,44), (2,44), (3, 44);
242insert into t1 values(1,43), (2,43), (3, 43);
243insert into t1 values(1,42), (2,42), (3, 42);
244insert into t1 values(1,41), (2,41), (3, 41);
245insert into t1 values(1,40), (2,40), (3, 40);
246insert into t1 values(1,39), (2,39), (3, 39);
247insert into t1 values(1,38), (2,38), (3, 38);
248insert into t1 values(1,37), (2,37), (3, 37);
249insert into t1 values(1,36), (2,36), (3, 36);
250insert into t1 values(1,35), (2,35), (3, 35);
251insert into t1 values(1,34), (2,34), (3, 34);
252insert into t1 values(1,33), (2,33), (3, 33);
253insert into t1 values(1,32), (2,32), (3, 32);
254insert into t1 values(1,31), (2,31), (3, 31);
255insert into t1 values(1,30), (2,30), (3, 30);
256insert into t1 values(1,29), (2,29), (3, 29);
257insert into t1 values(1,28), (2,28), (3, 28);
258insert into t1 values(1,27), (2,27), (3, 27);
259insert into t1 values(1,26), (2,26), (3, 26);
260insert into t1 values(1,25), (2,25), (3, 25);
261insert into t1 values(1,24), (2,24), (3, 24);
262insert into t1 values(1,23), (2,23), (3, 23);
263insert into t1 values(1,22), (2,22), (3, 22);
264insert into t1 values(1,21), (2,21), (3, 21);
265insert into t1 values(1,20), (2,20), (3, 20);
266insert into t1 values(1,19), (2,19), (3, 19);
267insert into t1 values(1,18), (2,18), (3, 18);
268insert into t1 values(1,17), (2,17), (3, 17);
269insert into t1 values(1,16), (2,16), (3, 16);
270insert into t1 values(1,15), (2,15), (3, 15);
271insert into t1 values(1,14), (2,14), (3, 14);
272insert into t1 values(1,13), (2,13), (3, 13);
273insert into t1 values(1,12), (2,12), (3, 12);
274insert into t1 values(1,11), (2,11), (3, 11);
275insert into t1 values(1,10), (2,10), (3, 10);
276insert into t1 values(1,9), (2,9), (3, 9);
277insert into t1 values(1,8), (2,8), (3, 8);
278insert into t1 values(1,7), (2,7), (3, 7);
279insert into t1 values(1,6), (2,6), (3, 6);
280insert into t1 values(1,5), (2,5), (3, 5);
281insert into t1 values(1,4), (2,4), (3, 4);
282insert into t1 values(1,3), (2,3), (3, 3);
283insert into t1 values(1,2), (2,2), (3, 2);
284insert into t1 values(1,1), (2,1), (3, 1);
285commit;
286set autocommit=1;
287alter table t1 add unique (a,b), add key (b);
288show keys from t1;
289Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
290t1 0 a 1 a A 300 NULL NULL YES BTREE
291t1 0 a 2 b A 300 NULL NULL YES BTREE
292t1 1 b 1 b A 300 NULL NULL YES BTREE
293analyze table t1;
294Table Op Msg_type Msg_text
295test.t1 analyze status OK
296show keys from t1;
297Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
298t1 0 a 1 a A 300 NULL NULL YES BTREE
299t1 0 a 2 b A 300 NULL NULL YES BTREE
300t1 1 b 1 b A 300 NULL NULL YES BTREE
301drop table t1;
302CREATE TEMPORARY TABLE t1 (
303Host varchar(16) binary NOT NULL default '',
304User varchar(16) binary NOT NULL default '',
305PRIMARY KEY (Host,User),
306KEY (Host)
307) ENGINE=MyISAM;
308ALTER TABLE t1 DISABLE KEYS;
309SHOW INDEX FROM t1;
310Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
311t1 0 PRIMARY 1 Host A NULL NULL NULL BTREE
312t1 0 PRIMARY 2 User A 0 NULL NULL BTREE
313t1 1 Host 1 Host A NULL NULL NULL BTREE disabled
314INSERT INTO t1 VALUES ('localhost','root'),('localhost','');
315SHOW INDEX FROM t1;
316Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
317t1 0 PRIMARY 1 Host A NULL NULL NULL BTREE
318t1 0 PRIMARY 2 User A 2 NULL NULL BTREE
319t1 1 Host 1 Host A NULL NULL NULL BTREE disabled
320ALTER TABLE t1 ENABLE KEYS;
321SHOW INDEX FROM t1;
322Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
323t1 0 PRIMARY 1 Host A NULL NULL NULL BTREE
324t1 0 PRIMARY 2 User A 2 NULL NULL BTREE
325t1 1 Host 1 Host A NULL NULL NULL BTREE
326CHECK TABLES t1;
327Table Op Msg_type Msg_text
328test.t1 check status OK
329ALTER TABLE t1 RENAME t2;
330select * from t2;
331Host User
332localhost
333localhost root
334DROP TABLE t2;
335create table t1 (a int);
336alter table t1 rename to ``;
337ERROR 42000: Incorrect table name ''
338rename table t1 to ``;
339ERROR 42000: Incorrect table name ''
340drop table t1;
341drop table if exists t1;
342Warnings:
343Note 1051 Unknown table 't1'
344create TEMPORARY table t1 ( a varchar(10) not null primary key ) engine=myisam;
345flush tables;
346alter table t1 modify a varchar(10);
347flush tables;
348alter table t1 modify a varchar(10) not null;
349drop table if exists t1;
350create TEMPORARY table t1 (a int, b int, c int, d int, e int, f int, g int, h int,i int, primary key (a,b,c,d,e,f,g,i,h)) engine=MyISAM;
351insert into t1 (a,b,c,d,e,f,g,h,i) values(1,1,1,1,1,1,1,1,1);
352show table status like 't1';
353Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
354alter table t1 modify a int;
355show table status like 't1';
356Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
357drop table t1;
358create TEMPORARY table t1 (a int not null default 0, b int not null default 0, c int not null default 0, d int not null default 0, e int not null default 0, f int not null default 0, g int not null default 0, h int not null default 0,i int not null default 0, primary key (a,b,c,d,e,f,g,i,h)) engine=MyISAM;
359insert into t1 (a) values(1);
360show table status like 't1';
361Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
362drop table t1;
363CREATE TABLE t1 (a int PRIMARY KEY, b INT UNIQUE);
364ALTER TABLE t1 DROP PRIMARY KEY;
365SHOW CREATE TABLE t1;
366Table Create Table
367t1 CREATE TABLE `t1` (
368 `a` int NOT NULL,
369 `b` int DEFAULT NULL,
370 UNIQUE KEY `b` (`b`)
371) ENGINE=DEFAULT
372ALTER TABLE t1 DROP PRIMARY KEY;
373ERROR 42000: Can't DROP 'PRIMARY'; check that column/key exists
374DROP TABLE t1;
375create table t1 (a int, b int, key(a));
376insert into t1 values (1,1), (2,2);
377alter table t1 drop key no_such_key;
378ERROR 42000: Can't DROP 'no_such_key'; check that column/key exists
379alter table t1 drop key a;
380drop table t1;
381CREATE TEMPORARY TABLE T12207(a int) ENGINE=MYISAM;
382ALTER TABLE T12207 DISCARD TABLESPACE;
383ERROR HY000: Table storage engine for 'T12207' doesn't have this option
384DROP TABLE T12207;
385create table t1 ( a timestamp );
386alter table t1 add unique ( a(1) );
387ERROR HY000: Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys
388drop table t1;
389drop table if exists t1;
390create table t1 (a int, key(a));
391show indexes from t1;
392Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
393t1 1 a 1 a A 0 NULL NULL YES BTREE
394"this used not to disable the index"
395alter table t1 modify a int;
396show indexes from t1;
397Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
398t1 1 a 1 a A 0 NULL NULL YES BTREE
399alter table t1 enable keys;
400Warnings:
401Note 1031 Table storage engine for 't1' doesn't have this option
402show indexes from t1;
403Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
404t1 1 a 1 a A 0 NULL NULL YES BTREE
405alter table t1 modify a bigint;
406show indexes from t1;
407Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
408t1 1 a 1 a A 0 NULL NULL YES BTREE
409alter table t1 enable keys;
410Warnings:
411Note 1031 Table storage engine for 't1' doesn't have this option
412show indexes from t1;
413Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
414t1 1 a 1 a A 0 NULL NULL YES BTREE
415alter table t1 add b char(10);
416show indexes from t1;
417Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
418t1 1 a 1 a A 0 NULL NULL YES BTREE
419alter table t1 add c decimal(10,2);
420show indexes from t1;
421Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
422t1 1 a 1 a A 0 NULL NULL YES BTREE
423"this however did"
424alter table t1;
425show indexes from t1;
426Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
427t1 1 a 1 a A 0 NULL NULL YES BTREE
428desc t1;
429Field Type Null Key Default Extra
430a bigint YES MUL NULL
431b varchar(10) YES NULL
432c decimal(10,2) YES NULL
433alter table t1 add d decimal(15,5);
434"The key should still be disabled"
435show indexes from t1;
436Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
437t1 1 a 1 a A 0 NULL NULL YES BTREE
438drop table t1;
439"Now will test with one unique index"
440create table t1(a int, b char(10), unique(a));
441show indexes from t1;
442Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
443t1 0 a 1 a A 0 NULL NULL YES BTREE
444alter table t1;
445show indexes from t1;
446Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
447t1 0 a 1 a A 0 NULL NULL YES BTREE
448alter table t1 enable keys;
449Warnings:
450Note 1031 Table storage engine for 't1' doesn't have this option
451"If no copy on noop change, this won't touch the data file"
452"Unique index, no change"
453alter table t1 modify a int;
454show indexes from t1;
455Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
456t1 0 a 1 a A 0 NULL NULL YES BTREE
457"Change the type implying data copy"
458"Unique index, no change"
459alter table t1 modify a bigint;
460show indexes from t1;
461Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
462t1 0 a 1 a A 0 NULL NULL YES BTREE
463alter table t1 modify a bigint;
464show indexes from t1;
465Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
466t1 0 a 1 a A 0 NULL NULL YES BTREE
467alter table t1 modify a int;
468show indexes from t1;
469Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
470t1 0 a 1 a A 0 NULL NULL YES BTREE
471drop table t1;
472"Now will test with one unique and one non-unique index"
473create table t1(a int, b char(10), unique(a), key(b));
474show indexes from t1;
475Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
476t1 0 a 1 a A 0 NULL NULL YES BTREE
477t1 1 b 1 b A 0 NULL NULL YES BTREE
478alter table t1;
479show indexes from t1;
480Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
481t1 0 a 1 a A 0 NULL NULL YES BTREE
482t1 1 b 1 b A 0 NULL NULL YES BTREE
483alter table t1 enable keys;
484Warnings:
485Note 1031 Table storage engine for 't1' doesn't have this option
486"If no copy on noop change, this won't touch the data file"
487"The non-unique index will be disabled"
488alter table t1 modify a int;
489show indexes from t1;
490Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
491t1 0 a 1 a A 0 NULL NULL YES BTREE
492t1 1 b 1 b A 0 NULL NULL YES BTREE
493alter table t1 enable keys;
494Warnings:
495Note 1031 Table storage engine for 't1' doesn't have this option
496show indexes from t1;
497Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
498t1 0 a 1 a A 0 NULL NULL YES BTREE
499t1 1 b 1 b A 0 NULL NULL YES BTREE
500"Change the type implying data copy"
501"The non-unique index will be disabled"
502alter table t1 modify a bigint;
503show indexes from t1;
504Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
505t1 0 a 1 a A 0 NULL NULL YES BTREE
506t1 1 b 1 b A 0 NULL NULL YES BTREE
507"Change again the type, but leave the indexes as_is"
508alter table t1 modify a int;
509show indexes from t1;
510Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
511t1 0 a 1 a A 0 NULL NULL YES BTREE
512t1 1 b 1 b A 0 NULL NULL YES BTREE
513"Try the same. When data is no copied on similar tables, this is noop"
514alter table t1 modify a int;
515show indexes from t1;
516Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
517t1 0 a 1 a A 0 NULL NULL YES BTREE
518t1 1 b 1 b A 0 NULL NULL YES BTREE
519drop table t1;
520create database mysqltest;
521create table t1 (c1 int);
522alter table t1 rename mysqltest.t1;
523drop table t1;
524ERROR 42S02: Unknown table 't1'
525alter table mysqltest.t1 rename t1;
526drop table t1;
527create table t1 (c1 int);
528use mysqltest;
529drop database mysqltest;
530alter table test.t1 rename t1;
531ERROR 3D000: No database selected
532alter table test.t1 rename test.t1;
533use test;
534drop table t1;
535CREATE TABLE t1(a INT) ROW_FORMAT=FIXED;
536CREATE INDEX i1 ON t1(a);
537SHOW CREATE TABLE t1;
538Table Create Table
539t1 CREATE TABLE `t1` (
540 `a` int DEFAULT NULL,
541 KEY `i1` (`a`)
542) ENGINE=DEFAULT ROW_FORMAT=FIXED
543DROP INDEX i1 ON t1;
544SHOW CREATE TABLE t1;
545Table Create Table
546t1 CREATE TABLE `t1` (
547 `a` int DEFAULT NULL
548) ENGINE=DEFAULT ROW_FORMAT=FIXED
549DROP TABLE t1;
550DROP TABLE IF EXISTS bug24219;
551DROP TABLE IF EXISTS bug24219_2;
552CREATE TABLE bug24219 (a INT, INDEX(a));
553SHOW INDEX FROM bug24219;
554Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
555bug24219 1 a 1 a A 0 NULL NULL YES BTREE
556ALTER TABLE bug24219 RENAME TO bug24219_2, DISABLE KEYS;
557Warnings:
558Note 1031 Table storage engine for 'bug24219' doesn't have this option
559SHOW INDEX FROM bug24219_2;
560Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
561bug24219_2 1 a 1 a A 0 NULL NULL YES BTREE
562DROP TABLE bug24219_2;
563drop table if exists table_24562;
564create table table_24562(
565section int,
566subsection int,
567title varchar(50));
568insert into table_24562 values
569(1, 0, "Introduction"),
570(1, 1, "Authors"),
571(1, 2, "Acknowledgements"),
572(2, 0, "Basics"),
573(2, 1, "Syntax"),
574(2, 2, "Client"),
575(2, 3, "Server"),
576(3, 0, "Intermediate"),
577(3, 1, "Complex queries"),
578(3, 2, "Stored Procedures"),
579(3, 3, "Stored Functions"),
580(4, 0, "Advanced"),
581(4, 1, "Replication"),
582(4, 2, "Load balancing"),
583(4, 3, "High availability"),
584(5, 0, "Conclusion");
585select * from table_24562;
586section subsection title
5871 0 Introduction
5881 1 Authors
5891 2 Acknowledgements
5902 0 Basics
5912 1 Syntax
5922 2 Client
5932 3 Server
5943 0 Intermediate
5953 1 Complex queries
5963 2 Stored Procedures
5973 3 Stored Functions
5984 0 Advanced
5994 1 Replication
6004 2 Load balancing
6014 3 High availability
6025 0 Conclusion
603alter table table_24562 add column reviewer varchar(20),
604order by title;
605select * from table_24562;
606section subsection title reviewer
6071 2 Acknowledgements NULL
6084 0 Advanced NULL
6091 1 Authors NULL
6102 0 Basics NULL
6112 2 Client NULL
6123 1 Complex queries NULL
6135 0 Conclusion NULL
6144 3 High availability NULL
6153 0 Intermediate NULL
6161 0 Introduction NULL
6174 2 Load balancing NULL
6184 1 Replication NULL
6192 3 Server NULL
6203 3 Stored Functions NULL
6213 2 Stored Procedures NULL
6222 1 Syntax NULL
623update table_24562 set reviewer="Me" where section=2;
624update table_24562 set reviewer="You" where section=3;
625alter table table_24562
626order by section ASC, subsection DESC;
627select * from table_24562;
628section subsection title reviewer
6291 2 Acknowledgements NULL
6301 1 Authors NULL
6311 0 Introduction NULL
6322 3 Server Me
6332 2 Client Me
6342 1 Syntax Me
6352 0 Basics Me
6363 3 Stored Functions You
6373 2 Stored Procedures You
6383 1 Complex queries You
6393 0 Intermediate You
6404 3 High availability NULL
6414 2 Load balancing NULL
6424 1 Replication NULL
6434 0 Advanced NULL
6445 0 Conclusion NULL
645alter table table_24562
646order by table_24562.subsection ASC, table_24562.section DESC;
647select * from table_24562;
648section subsection title reviewer
6495 0 Conclusion NULL
6504 0 Advanced NULL
6513 0 Intermediate You
6522 0 Basics Me
6531 0 Introduction NULL
6544 1 Replication NULL
6553 1 Complex queries You
6562 1 Syntax Me
6571 1 Authors NULL
6584 2 Load balancing NULL
6593 2 Stored Procedures You
6602 2 Client Me
6611 2 Acknowledgements NULL
6624 3 High availability NULL
6633 3 Stored Functions You
6642 3 Server Me
665alter table table_24562 order by 12;
666ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '12' at line 1
667alter table table_24562 order by (section + 12);
668ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '(section + 12)' at line 1
669alter table table_24562 order by length(title);
670ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '(title)' at line 1
671alter table table_24562 order by no_such_col;
672ERROR 42S22: Unknown column 'no_such_col' in 'order clause'
673drop table table_24562;
674create table t1 (mycol int not null);
675alter table t1 alter column mycol set default 0;
676desc t1;
677Field Type Null Key Default Extra
678mycol int NO 0
679drop table t1;
680create TEMPORARY table t1(id int primary key auto_increment) engine=heap;
681insert into t1 values (null);
682insert into t1 values (null);
683select * from t1;
684id
6851
6862
687alter table t1 auto_increment = 50;
688alter table t1 engine = myisam;
689insert into t1 values (null);
690select * from t1;
691id
6921
6932
69450
695alter table t1 engine = heap;
696insert into t1 values (null);
697select * from t1;
698id
6991
7002
70150
70251
703drop table t1;
704create table t1 (v varchar(32));
705insert into t1 values ('def'),('abc'),('hij'),('3r4f');
706select * from t1;
707v
708def
709abc
710hij
7113r4f
712alter table t1 change v v2 varchar(32);
713select * from t1;
714v2
715def
716abc
717hij
7183r4f
719alter table t1 change v2 v varchar(64);
720select * from t1;
721v
722def
723abc
724hij
7253r4f
726update t1 set v = 'lmn' where v = 'hij';
727select * from t1;
728v
729def
730abc
7313r4f
732lmn
733alter table t1 add i int auto_increment not null primary key first;
734select * from t1;
735i v
7361 def
7372 abc
7383 3r4f
7394 lmn
740update t1 set i=5 where i=3;
741select * from t1;
742i v
7431 def
7442 abc
7454 lmn
7465 3r4f
747alter table t1 change i i bigint;
748select * from t1;
749i v
7501 def
7512 abc
7524 lmn
7535 3r4f
754alter table t1 add unique key (i, v);
755select * from t1 where i between 2 and 4 and v in ('def','3r4f','lmn');
756i v
7574 lmn
758drop table t1;
759create TEMPORARY table t1 (t varchar(255) default null, key t (t(80))) engine=myisam;
760alter table t1 change t t text;
761drop table t1;
762CREATE TABLE t1 (s CHAR(8) BINARY);
763INSERT INTO t1 VALUES ('test');
764SELECT LENGTH(s) FROM t1;
765LENGTH(s)
7664
767ALTER TABLE t1 MODIFY s CHAR(10) BINARY;
768SELECT LENGTH(s) FROM t1;
769LENGTH(s)
7704
771DROP TABLE t1;
772CREATE TABLE t1 (s varbinary(8));
773INSERT INTO t1 VALUES ('test');
774SELECT LENGTH(s) FROM t1;
775LENGTH(s)
7764
777SELECT HEX(s) FROM t1;
778HEX(s)
77974657374
780ALTER TABLE t1 MODIFY s varbinary(10);
781SELECT HEX(s) FROM t1;
782HEX(s)
78374657374
784SELECT LENGTH(s) FROM t1;
785LENGTH(s)
7864
787DROP TABLE t1;
788CREATE TABLE t1 (v VARCHAR(3), b INT);
789INSERT INTO t1 VALUES ('abc', 5);
790SELECT * FROM t1;
791v b
792abc 5
793ALTER TABLE t1 MODIFY COLUMN v VARCHAR(4);
794SELECT * FROM t1;
795v b
796abc 5
797DROP TABLE t1;
798End of 5.0 tests
799DROP TABLE IF EXISTS `t+1`, `t+2`;
800CREATE TABLE `t+1` (c1 INT);
801ALTER TABLE `t+1` RENAME `t+2`;
802CREATE TABLE `t+1` (c1 INT);
803ALTER TABLE `t+1` RENAME `t+2`;
804ERROR 42S01: Table 't+2' already exists
805DROP TABLE `t+1`, `t+2`;
806CREATE TEMPORARY TABLE `tt+1` (c1 INT);
807ALTER TABLE `tt+1` RENAME `tt+2`;
808CREATE TEMPORARY TABLE `tt+1` (c1 INT);
809ALTER TABLE `tt+1` RENAME `tt+2`;
810ERROR 42S01: Table 'tt+2' already exists
811SHOW CREATE TABLE `tt+1`;
812Table Create Table
813tt+1 CREATE TEMPORARY TABLE `tt+1` (
814 `c1` int DEFAULT NULL
815) ENGINE=DEFAULT
816SHOW CREATE TABLE `tt+2`;
817Table Create Table
818tt+2 CREATE TEMPORARY TABLE `tt+2` (
819 `c1` int DEFAULT NULL
820) ENGINE=DEFAULT
821DROP TABLE `tt+1`, `tt+2`;
822CREATE TEMPORARY TABLE `#sql1` (c1 INT);
823CREATE TEMPORARY TABLE `@0023sql2` (c1 INT);
824SHOW TABLES;
825Tables_in_test
826ALTER TABLE `#sql1` RENAME `@0023sql1`;
827ALTER TABLE `@0023sql2` RENAME `#sql2`;
828SHOW TABLES;
829Tables_in_test
830INSERT INTO `#sql2` VALUES (1);
831INSERT INTO `@0023sql1` VALUES (2);
832SHOW CREATE TABLE `#sql2`;
833Table Create Table
834#sql2 CREATE TEMPORARY TABLE `#sql2` (
835 `c1` int DEFAULT NULL
836) ENGINE=DEFAULT
837SHOW CREATE TABLE `@0023sql1`;
838Table Create Table
839@0023sql1 CREATE TEMPORARY TABLE `@0023sql1` (
840 `c1` int DEFAULT NULL
841) ENGINE=DEFAULT
842DROP TABLE `#sql2`, `@0023sql1`;
843DROP TABLE IF EXISTS t1;
844DROP TABLE IF EXISTS t2;
845CREATE TABLE t1 (
846int_field INTEGER NOT NULL,
847char_field CHAR(10),
848INDEX(`int_field`)
849);
850DESCRIBE t1;
851Field Type Null Key Default Extra
852int_field int NO MUL NULL
853char_field varchar(10) YES NULL
854SHOW INDEXES FROM t1;
855Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
856t1 1 int_field 1 int_field A 0 NULL NULL BTREE
857INSERT INTO t1 VALUES (1, "edno"), (1, "edno"), (2, "dve"), (3, "tri"), (5, "pet");
858"Non-copy data change - new frm, but old data and index files"
859ALTER TABLE t1 CHANGE int_field unsigned_int_field INTEGER NOT NULL, RENAME t2;
860SELECT * FROM t1 ORDER BY int_field;
861ERROR 42S02: Table 'test.t1' doesn't exist
862SELECT * FROM t2 ORDER BY unsigned_int_field;
863unsigned_int_field char_field
8641 edno
8651 edno
8662 dve
8673 tri
8685 pet
869DESCRIBE t2;
870Field Type Null Key Default Extra
871unsigned_int_field int NO MUL NULL
872char_field varchar(10) YES NULL
873DESCRIBE t2;
874Field Type Null Key Default Extra
875unsigned_int_field int NO MUL NULL
876char_field varchar(10) YES NULL
877ALTER TABLE t2 MODIFY unsigned_int_field BIGINT NOT NULL;
878DESCRIBE t2;
879Field Type Null Key Default Extra
880unsigned_int_field bigint NO MUL NULL
881char_field varchar(10) YES NULL
882DROP TABLE t2;
883CREATE TABLE t1 (f1 INT, f2 INT, f3 INT);
884INSERT INTO t1 VALUES (1, 2, NULL);
885SELECT * FROM t1;
886f1 f2 f3
8871 2 NULL
888ALTER TABLE t1 MODIFY COLUMN f3 INT AFTER f1;
889SELECT * FROM t1;
890f1 f3 f2
8911 NULL 2
892ALTER TABLE t1 MODIFY COLUMN f3 INT AFTER f2;
893SELECT * FROM t1;
894f1 f2 f3
8951 2 NULL
896DROP TABLE t1;
0897
=== added file 'tests/r/pbxt/auto_increment.result'
--- tests/r/pbxt/auto_increment.result 1970-01-01 00:00:00 +0000
+++ tests/r/pbxt/auto_increment.result 2010-04-05 20:27:29 +0000
@@ -0,0 +1,361 @@
1drop table if exists t1;
2drop table if exists t2;
3SET SQL_WARNINGS=1;
4create TEMPORARY table t1 (a int not null auto_increment,b int, primary key (a)) engine=myisam auto_increment=3;
5insert into t1 values (1,1),(NULL,3),(NULL,4);
6delete from t1 where a=4;
7insert into t1 values (NULL,5),(NULL,6);
8select * from t1;
9a b
101 1
113 3
125 5
136 6
14delete from t1 where a=6;
15replace t1 values (3,1);
16ALTER TABLE t1 add c int;
17replace t1 values (3,3,3);
18insert into t1 values (NULL,7,7);
19update t1 set a=8,b=b+1,c=c+1 where a=7;
20insert into t1 values (NULL,9,9);
21select * from t1;
22a b c
231 1 NULL
243 3 3
255 5 NULL
268 8 8
279 9 9
28drop table t1;
29create table t1 (
30skey int NOT NULL auto_increment PRIMARY KEY,
31sval char(20)
32);
33insert into t1 values (NULL, "hello");
34insert into t1 values (NULL, "hey");
35select * from t1;
36skey sval
371 hello
382 hey
39select _rowid,t1._rowid,skey,sval from t1;
40_rowid _rowid skey sval
411 1 1 hello
422 2 2 hey
43drop table t1;
44create table t1 (a int not null primary key auto_increment);
45insert into t1 values (0);
46update t1 set a=0;
47select * from t1;
48a
490
50check table t1;
51Table Op Msg_type Msg_text
52test.t1 check status OK
53drop table t1;
54create table t1 (a int not null auto_increment primary key);
55insert into t1 values (NULL);
56insert into t1 values (-1);
57select last_insert_id();
58last_insert_id()
591
60insert into t1 values (NULL);
61select * from t1;
62a
63-1
641
652
66drop table t1;
67create temporary table t1 (a int not null auto_increment primary key) /*!40102 engine=heap */;
68insert into t1 values (NULL);
69insert into t1 values (-1);
70select last_insert_id();
71last_insert_id()
721
73insert into t1 values (NULL);
74select * from t1;
75a
761
77-1
782
79drop table t1;
80create table t1 (i int not null auto_increment, key (i));
81insert into t1 set i = 254;
82insert into t1 set i = null;
83select last_insert_id();
84last_insert_id()
85255
86insert into t1 set i = null;
87select last_insert_id();
88last_insert_id()
89256
90drop table t1;
91create table t1 (i int not null auto_increment primary key, b int, unique (b));
92insert into t1 values (NULL, 10);
93select last_insert_id();
94last_insert_id()
951
96insert into t1 values (NULL, 15);
97select last_insert_id();
98last_insert_id()
992
100insert into t1 values (NULL, 10);
101ERROR 23000: Duplicate entry '10' for key 'b'
102select last_insert_id();
103last_insert_id()
1042
105drop table t1;
106create table t1(a int auto_increment,b int null,primary key(a));
107insert into t1(a,b)values(NULL,1);
108insert into t1(a,b)values(200,2);
109insert into t1(a,b)values(0,3);
110insert into t1(b)values(4);
111insert into t1(b)values(5);
112insert into t1(b)values(6);
113insert into t1(b)values(7);
114select * from t1 order by b;
115a b
1161 1
117200 2
1180 3
119201 4
120202 5
121203 6
122204 7
123alter table t1 modify b int;
124select * from t1 order by b;
125a b
1261 1
127200 2
1280 3
129201 4
130202 5
131203 6
132204 7
133create table t2 (a int);
134insert t2 values (1),(2);
135alter table t2 add b int auto_increment primary key;
136select * from t2;
137a b
1381 1
1392 2
140drop table t2;
141delete from t1 where a=0;
142update t1 set a=0 where b=5;
143select * from t1 order by b;
144a b
1451 1
146200 2
147201 4
1480 5
149203 6
150204 7
151delete from t1 where a=0;
152update t1 set a=NULL where b=6;
153ERROR 23000: Column 'a' cannot be null
154update t1 set a=300 where b=7;
155insert into t1(a,b)values(NULL,8);
156insert into t1(a,b)values(400,9);
157insert into t1(a,b)values(0,10);
158insert into t1(b)values(11);
159insert into t1(b)values(12);
160insert into t1(b)values(13);
161insert into t1(b)values(14);
162select * from t1 order by b;
163a b
1641 1
165200 2
166201 4
167203 6
168300 7
169301 8
170400 9
1710 10
172401 11
173402 12
174403 13
175404 14
176delete from t1 where a=0;
177update t1 set a=0 where b=12;
178select * from t1 order by b;
179a b
1801 1
181200 2
182201 4
183203 6
184300 7
185301 8
186400 9
187401 11
1880 12
189403 13
190404 14
191delete from t1 where a=0;
192update t1 set a=NULL where b=13;
193ERROR 23000: Column 'a' cannot be null
194update t1 set a=500 where b=14;
195select * from t1 order by b;
196a b
1971 1
198200 2
199201 4
200203 6
201300 7
202301 8
203400 9
204401 11
205403 13
206500 14
207drop table t1;
208create table t1 (a bigint);
209insert into t1 values (1), (2), (3), (NULL), (NULL);
210alter table t1 modify a bigint not null auto_increment primary key;
211select * from t1;
212a
2131
2142
2153
2164
2175
218drop table t1;
219create table t1 (a bigint);
220insert into t1 values (1), (2), (3), (0), (0);
221alter table t1 modify a bigint not null auto_increment primary key;
222ERROR 23000: ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '0' for key 'PRIMARY'
223select * from t1;
224a
2251
2262
2273
2280
2290
230drop table t1;
231create table t1 (a bigint);
232insert into t1 values (0), (1), (2), (3);
233alter table t1 modify a bigint not null auto_increment primary key;
234select * from t1;
235a
2360
2371
2382
2393
240drop table t1;
241create table t1 (a int auto_increment primary key , b int null);
242insert into t1 values (0,1),(1,2),(2,3);
243select * from t1;
244a b
2450 1
2461 2
2472 3
248alter table t1 modify b varchar(255);
249insert into t1 values (0,4);
250ERROR 23000: Duplicate entry '0' for key 'PRIMARY'
251select * from t1;
252a b
2530 1
2541 2
2552 3
256drop table t1;
257CREATE TABLE t1 ( a INT AUTO_INCREMENT, b BLOB, PRIMARY KEY (a,b(10)));
258INSERT INTO t1 (b) VALUES ('aaaa');
259CHECK TABLE t1;
260Table Op Msg_type Msg_text
261test.t1 check status OK
262INSERT INTO t1 (b) VALUES ('');
263CHECK TABLE t1;
264Table Op Msg_type Msg_text
265test.t1 check status OK
266INSERT INTO t1 (b) VALUES ('bbbb');
267CHECK TABLE t1;
268Table Op Msg_type Msg_text
269test.t1 check status OK
270DROP TABLE IF EXISTS t1;
271CREATE TABLE t1 (
272t1_name VARCHAR(255) DEFAULT NULL,
273t1_id INT not null AUTO_INCREMENT,
274KEY (t1_name),
275PRIMARY KEY (t1_id)
276) AUTO_INCREMENT = 1000;
277INSERT INTO t1 (t1_name) VALUES('MySQL');
278INSERT INTO t1 (t1_name) VALUES('MySQL');
279INSERT INTO t1 (t1_name) VALUES('MySQL');
280SELECT * from t1;
281t1_name t1_id
282MySQL 1000
283MySQL 1001
284MySQL 1002
285SHOW CREATE TABLE `t1`;
286Table Create Table
287t1 CREATE TABLE `t1` (
288 `t1_name` varchar(255) DEFAULT NULL,
289 `t1_id` int NOT NULL AUTO_INCREMENT,
290 PRIMARY KEY (`t1_id`),
291 KEY `t1_name` (`t1_name`)
292) ENGINE=PBXT
293DROP TABLE `t1`;
294create table t1(a int not null auto_increment primary key);
295create table t2(a int not null auto_increment primary key, t1a int);
296insert into t1 values(NULL);
297insert into t2 values (NULL, LAST_INSERT_ID()), (NULL, LAST_INSERT_ID());
298insert into t1 values (NULL);
299insert into t2 values (NULL, LAST_INSERT_ID()), (NULL, LAST_INSERT_ID()),
300(NULL, LAST_INSERT_ID());
301insert into t1 values (NULL);
302insert into t2 values (NULL, LAST_INSERT_ID()), (NULL, LAST_INSERT_ID()),
303(NULL, LAST_INSERT_ID()), (NULL, LAST_INSERT_ID());
304select * from t2;
305a t1a
3061 1
3072 1
3083 2
3094 2
3105 2
3116 3
3127 3
3138 3
3149 3
315drop table t1, t2;
316End of 4.1 tests
317CREATE TABLE t1 ( `a` int NOT NULL auto_increment, `b` int default NULL,PRIMARY KEY (`a`),UNIQUE KEY `b` (`b`));
318insert into t1 (b) values (1);
319replace into t1 (b) values (2), (1), (3);
320select * from t1;
321a b
3222 2
3233 1
3244 3
325truncate table t1;
326insert into t1 (b) values (1);
327replace into t1 (b) values (2);
328replace into t1 (b) values (1);
329replace into t1 (b) values (3);
330select * from t1;
331a b
3322 2
3333 1
3344 3
335drop table t1;
336create table t1 (rowid int not null auto_increment, val int not null,primary
337key (rowid), unique(val));
338replace into t1 (val) values ('1'),('2');
339replace into t1 (val) values ('1'),('2');
340insert into t1 (val) values ('1'),('2');
341ERROR 23000: Duplicate entry '1' for key 'val'
342select * from t1;
343rowid val
3443 1
3454 2
346drop table t1;
347CREATE TABLE t1 (t1 INT PRIMARY KEY, t2 INT);
348INSERT INTO t1 VALUES(0, 0);
349INSERT INTO t1 VALUES(1, 1);
350ALTER TABLE t1 CHANGE t1 t1 INT auto_increment;
351INSERT INTO t1 VALUES(0,0);
352ERROR 23000: Duplicate entry '0' for key 'PRIMARY'
353DROP TABLE t1;
354create table t1 (a int primary key auto_increment, b int, c int, d timestamp default current_timestamp, unique(b),unique(c));
355insert into t1 values(null,1,1,now());
356insert into t1 values(null,0,0,null);
357replace into t1 values(null,1,0,null);
358select last_insert_id();
359last_insert_id()
3603
361drop table t1;
0362
=== added file 'tests/r/pbxt/create.result'
--- tests/r/pbxt/create.result 1970-01-01 00:00:00 +0000
+++ tests/r/pbxt/create.result 2010-04-05 20:27:29 +0000
@@ -0,0 +1,1555 @@
1drop table if exists t1,t2,t3,t4,t5;
2drop database if exists mysqltest;
3create table t1 (b char(0));
4insert into t1 values (""),(null);
5select * from t1;
6b
7
8NULL
9drop table if exists t1;
10create table t1 (b char(0) not null);
11create table if not exists t1 (b char(0) not null);
12Warnings:
13Note 1050 Table 't1' already exists
14insert into t1 values (""),(null);
15ERROR 23000: Column 'b' cannot be null
16select * from t1;
17b
18drop table t1;
19create temporary table t1 (a int not null auto_increment,primary key (a)) engine=heap;
20drop table t1;
21create temporary table t2 engine=heap select * from t1;
22ERROR 42S02: Table 'test.t1' doesn't exist
23create table t2 select auto+1 from t1;
24ERROR 42S02: Table 'test.t1' doesn't exist
25drop table if exists t1,t2;
26Warnings:
27Note 1051 Unknown table 't1'
28Note 1051 Unknown table 't2'
29create table t1 (b char(0) not null, index(b));
30ERROR 42000: The used storage engine can't index column 'b'
31create temporary table t1 (a int not null,b text) engine=heap;
32ERROR 42000: The used table type doesn't support BLOB/TEXT columns
33drop table if exists t1;
34Warnings:
35Note 1051 Unknown table 't1'
36create temporary table t1 (ordid int not null auto_increment, ord varchar(50) not null, primary key (ord,ordid)) engine=heap;
37ERROR 42000: Incorrect table definition; there can be only one auto column and it must be defined as a key
38create table not_existing_database.test (a int);
39ERROR 42000: Unknown database 'not_existing_database'
40create table `a/a` (a int);
41show create table `a/a`;
42Table Create Table
43a/a CREATE TABLE `a/a` (
44 `a` int DEFAULT NULL
45) ENGINE=DEFAULT
46create table t1 like `a/a`;
47drop table `a/a`;
48drop table `t1`;
49create table `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa int);
50ERROR 42000: Incorrect table name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
51create table a (`aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` int);
52ERROR 42000: Identifier name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' is too long
53create table t1 (a datetime default now());
54ERROR 42000: Invalid default value for 'a'
55create table t1 (a datetime on update now());
56ERROR HY000: Invalid ON UPDATE clause for 'a' column
57create table t1 (a int default 100 auto_increment);
58ERROR 42000: Invalid default value for 'a'
59create table t1 (a varchar(5) default 'abcdef');
60ERROR 42000: Invalid default value for 'a'
61create table t1 (a varchar(5) default 'abcde');
62insert into t1 values();
63select * from t1;
64a
65abcde
66alter table t1 alter column a set default 'abcdef';
67ERROR 42000: Invalid default value for 'a'
68drop table t1;
69create table 1ea10 (1a20 int,1e int);
70insert into 1ea10 values(1,1);
71select 1ea10.1a20,1e+ 1e+10 from 1ea10;
721a20 1e+ 1e+10
731 10000000001
74drop table 1ea10;
75create table t1 (t1.index int);
76drop table t1;
77drop database if exists mysqltest;
78Warnings:
79Note 1008 Can't drop database 'mysqltest'; database doesn't exist
80create database mysqltest;
81create table mysqltest.$test1 (a$1 int, $b int, c$ int);
82insert into mysqltest.$test1 values (1,2,3);
83select a$1, $b, c$ from mysqltest.$test1;
84a$1 $b c$
851 2 3
86create table mysqltest.test2$ (a int);
87drop table mysqltest.test2$;
88drop database mysqltest;
89create table `` (a int);
90ERROR 42000: Incorrect table name ''
91drop table if exists ``;
92ERROR 42000: Incorrect table name ''
93create table t1 (`` int);
94ERROR 42000: Incorrect column name ''
95create table t1 (i int, index `` (i));
96ERROR 42000: Incorrect index name ''
97create table t1 (a int auto_increment not null primary key, B CHAR(20));
98insert into t1 (b) values ("hello"),("my"),("world");
99create table t2 (key (b)) select * from t1;
100explain select * from t2 where b="world";
101id select_type table type possible_keys key key_len ref rows Extra
1021 SIMPLE t2 ref B B 83 const 1 Using where
103select * from t2 where b="world";
104a B
1053 world
106drop table t1,t2;
107create table t1(x varchar(50) );
108create table t2 select x from t1 where 1=2;
109describe t1;
110Field Type Null Key Default Extra
111x varchar(50) YES NULL
112describe t2;
113Field Type Null Key Default Extra
114x varchar(50) YES NULL
115drop table t2;
116create table t2 select now() as a , curdate() as c , 1+1 as d , 1.0 + 1 as e , 33333333333333333 + 3 as f;
117describe t2;
118Field Type Null Key Default Extra
119a datetime YES NULL
120c date NO NULL
121d int NO NULL
122e decimal(3,1) NO NULL
123f bigint NO NULL
124drop table t2;
125create table t2 select CAST("2001-12-29" AS DATE) as d, CAST("2001-12-29 20:45:11" AS DATETIME) as dt;
126describe t2;
127Field Type Null Key Default Extra
128d date YES NULL
129dt datetime YES NULL
130drop table t1,t2;
131create table t1 (a int);
132create table t2 (a int) select * from t1;
133describe t1;
134Field Type Null Key Default Extra
135a int YES NULL
136describe t2;
137Field Type Null Key Default Extra
138a int YES NULL
139drop table if exists t2;
140create table t2 (a int, a float) select * from t1;
141ERROR 42S21: Duplicate column name 'a'
142drop table if exists t2;
143Warnings:
144Note 1051 Unknown table 't2'
145create table t2 (a int) select a as b, a+1 as b from t1;
146ERROR 42S21: Duplicate column name 'b'
147drop table if exists t2;
148Warnings:
149Note 1051 Unknown table 't2'
150create table t2 (b int) select a as b, a+1 as b from t1;
151ERROR 42S21: Duplicate column name 'b'
152drop table if exists t1,t2;
153Warnings:
154Note 1051 Unknown table 't2'
155CREATE TABLE t1 (a int not null);
156INSERT INTO t1 values (1),(2),(1);
157CREATE TABLE t2 (primary key(a)) SELECT * FROM t1;
158ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
159SELECT * from t2;
160ERROR 42S02: Table 'test.t2' doesn't exist
161DROP TABLE t1;
162DROP TABLE IF EXISTS t2;
163Warnings:
164Note 1051 Unknown table 't2'
165create table t1 (a int not null, b int, primary key(a), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b));
166show create table t1;
167Table Create Table
168t1 CREATE TABLE `t1` (
169 `a` int NOT NULL,
170 `b` int DEFAULT NULL,
171 PRIMARY KEY (`a`),
172 KEY `b` (`b`),
173 KEY `b_2` (`b`),
174 KEY `b_3` (`b`),
175 KEY `b_4` (`b`),
176 KEY `b_5` (`b`),
177 KEY `b_6` (`b`),
178 KEY `b_7` (`b`),
179 KEY `b_8` (`b`),
180 KEY `b_9` (`b`),
181 KEY `b_10` (`b`),
182 KEY `b_11` (`b`),
183 KEY `b_12` (`b`),
184 KEY `b_13` (`b`),
185 KEY `b_14` (`b`),
186 KEY `b_15` (`b`),
187 KEY `b_16` (`b`),
188 KEY `b_17` (`b`),
189 KEY `b_18` (`b`),
190 KEY `b_19` (`b`),
191 KEY `b_20` (`b`),
192 KEY `b_21` (`b`),
193 KEY `b_22` (`b`),
194 KEY `b_23` (`b`),
195 KEY `b_24` (`b`),
196 KEY `b_25` (`b`),
197 KEY `b_26` (`b`),
198 KEY `b_27` (`b`),
199 KEY `b_28` (`b`),
200 KEY `b_29` (`b`),
201 KEY `b_30` (`b`),
202 KEY `b_31` (`b`)
203) ENGINE=DEFAULT
204drop table t1;
205create table t1 select if(1,'1','0'), month("2002-08-02");
206drop table t1;
207create table t1 select if('2002'='2002','Y','N');
208select * from t1;
209if('2002'='2002','Y','N')
210Y
211drop table if exists t1;
212SET SESSION storage_engine="heap";
213SELECT @@storage_engine;
214@@storage_engine
215MEMORY
216CREATE TEMPORARY TABLE t1 (a int not null);
217show create table t1;
218Table Create Table
219t1 CREATE TEMPORARY TABLE `t1` (
220 `a` int NOT NULL
221) ENGINE=MEMORY
222drop table t1;
223SET SESSION storage_engine="gemini";
224ERROR 42000: Unknown table engine 'gemini'
225SELECT @@storage_engine;
226@@storage_engine
227MEMORY
228CREATE TEMPORARY TABLE t1 (a int not null);
229show create table t1;
230Table Create Table
231t1 CREATE TEMPORARY TABLE `t1` (
232 `a` int NOT NULL
233) ENGINE=MEMORY
234SET SESSION storage_engine=default;
235drop table t1;
236create table t1 ( k1 varchar(2), k2 int, primary key(k1,k2));
237insert into t1 values ("a", 1), ("b", 2);
238insert into t1 values ("c", NULL);
239ERROR 23000: Column 'k2' cannot be null
240insert into t1 values (NULL, 3);
241ERROR 23000: Column 'k1' cannot be null
242insert into t1 values (NULL, NULL);
243ERROR 23000: Column 'k1' cannot be null
244drop table t1;
245create table t1 select x'4132';
246drop table t1;
247create table t1 select 1,2,3;
248create table if not exists t1 select 1,2;
249ERROR HY000: Field '1' doesn't have a default value
250create table if not exists t1 select 1,2,3,4;
251ERROR 21S01: Column count doesn't match value count at row 1
252create table if not exists t1 select 1;
253ERROR HY000: Field '1' doesn't have a default value
254select * from t1;
2551 2 3
2561 2 3
257drop table t1;
258flush status;
259create table t1 (a int not null, b int, primary key (a));
260insert into t1 values (1,1);
261select * from t1;
262a b
2631 1
264create table if not exists t1 select 3 as 'a',4 as 'b';
265Warnings:
266Note 1050 Table 't1' already exists
267create table if not exists t1 select 3 as 'a',3 as 'b';
268ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
269show warnings;
270Level Code Message
271Note 1050 Table 't1' already exists
272Error 1062 Duplicate entry '3' for key 'PRIMARY'
273show status like "Opened_tables";
274Variable_name Value
275Opened_tables 3
276select * from t1;
277a b
2781 1
2793 4
280drop table t1;
281create table `t1 `(a int);
282ERROR 42000: Incorrect table name 't1 '
283create database `db1 `;
284ERROR 42000: Incorrect database name 'db1 '
285create table t1(`a ` int);
286ERROR 42000: Incorrect column name 'a '
287create table t1 (a int,);
288ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near ')' at line 1
289create table t1 (a int,,b int);
290ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'b int)' at line 1
291create table t1 (,b int);
292ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'b int)' at line 1
293create table t1 (a int, key(a));
294create table t2 (b int, foreign key(b) references t1(a), key(b));
295drop table if exists t1,t2;
296ERROR 23000: Cannot delete or update a parent row: a foreign key constraint fails
297drop table if exists t2,t1;
298Warnings:
299Note 1051 Unknown table 't2'
300create table t1(id int not null, name char(20));
301insert into t1 values(10,'mysql'),(20,'monty- the creator');
302create table t2(id int not null);
303insert into t2 values(10),(20);
304create table t3 like t1;
305show create table t3;
306Table Create Table
307t3 CREATE TABLE `t3` (
308 `id` int NOT NULL,
309 `name` varchar(20) DEFAULT NULL
310) ENGINE=DEFAULT
311select * from t3;
312id name
313create table if not exists t3 like t1;
314Warnings:
315Note 1050 Table 't3' already exists
316select @@warning_count;
317@@warning_count
3181
319create temporary table t3 like t2;
320show create table t3;
321Table Create Table
322t3 CREATE TEMPORARY TABLE `t3` (
323 `id` int NOT NULL
324) ENGINE=DEFAULT
325select * from t3;
326id
327drop table t3;
328show create table t3;
329Table Create Table
330t3 CREATE TABLE `t3` (
331 `id` int NOT NULL,
332 `name` varchar(20) DEFAULT NULL
333) ENGINE=DEFAULT
334select * from t3;
335id name
336drop table t2, t3;
337create database mysqltest;
338create table mysqltest.t3 like t1;
339create temporary table t3 like mysqltest.t3;
340show create table t3;
341Table Create Table
342t3 CREATE TEMPORARY TABLE `t3` (
343 `id` int NOT NULL,
344 `name` varchar(20) DEFAULT NULL
345) ENGINE=DEFAULT
346create table t2 like t3;
347show create table t2;
348Table Create Table
349t2 CREATE TABLE `t2` (
350 `id` int NOT NULL,
351 `name` varchar(20) DEFAULT NULL
352) ENGINE=DEFAULT
353select * from t2;
354id name
355create table t3 like t1;
356create table t3 like mysqltest.t3;
357ERROR 42S01: Table 't3' already exists
358create table non_existing_database.t1 like t1;
359ERROR 42000: Unknown database 'non_existing_database'
360create table t3 like non_existing_table;
361ERROR 42S02: Table 'test.non_existing_table' doesn't exist
362create temporary table t3 like t1;
363ERROR 42S01: Table 't3' already exists
364drop table t1, t2, t3;
365drop table t3;
366drop database mysqltest;
367SET SESSION storage_engine="heap";
368SELECT @@storage_engine;
369@@storage_engine
370MEMORY
371CREATE TEMPORARY TABLE t1 (a int not null);
372show create table t1;
373Table Create Table
374t1 CREATE TEMPORARY TABLE `t1` (
375 `a` int NOT NULL
376) ENGINE=MEMORY
377drop table t1;
378SET SESSION storage_engine="gemini";
379ERROR 42000: Unknown table engine 'gemini'
380SELECT @@storage_engine;
381@@storage_engine
382MEMORY
383CREATE TEMPORARY TABLE t1 (a int not null);
384show create table t1;
385Table Create Table
386t1 CREATE TEMPORARY TABLE `t1` (
387 `a` int NOT NULL
388) ENGINE=MEMORY
389SET SESSION storage_engine=default;
390drop table t1;
391create table t1(a int,b int,c int,d date,e char,f datetime,h blob);
392insert into t1(a)values(1);
393insert into t1(a,b,c,d,e,f,h)
394values(2,-2,2,'1825-12-14','a','2003-01-01 03:02:01','binary data');
395select * from t1;
396a b c d e f h
3971 NULL NULL NULL NULL NULL NULL
3982 -2 2 1825-12-14 a 2003-01-01 03:02:01 binary data
399select a,
400ifnull(b,-7) as b,
401ifnull(c,7) as c,
402ifnull(d,cast('2000-01-01' as date)) as d,
403ifnull(e,cast('b' as char)) as e,
404ifnull(f,cast('2000-01-01' as datetime)) as f,
405ifnull(h,cast('yet another binary data' as binary)) as h
406from t1;
407a b c d e f h
4081 -7 7 2000-01-01 b 2000-01-01 00:00:00 yet another binary data
4092 -2 2 1825-12-14 a 2003-01-01 03:02:01 binary data
410create table t2
411select
412a,
413ifnull(b,-7) as b,
414ifnull(c,7) as c,
415ifnull(d,cast('2000-01-01' as date)) as d,
416ifnull(e,cast('b' as char)) as e,
417ifnull(f,cast('2000-01-01' as datetime)) as f,
418ifnull(h,cast('yet another binary data' as binary)) as h
419from t1;
420explain t2;
421Field Type Null Key Default Extra
422a int YES NULL
423b bigint NO NULL
424c bigint NO NULL
425d date YES NULL
426e varchar(1) YES NULL
427f datetime YES NULL
428h blob YES NULL
429select * from t2;
430a b c d e f h
4311 -7 7 2000-01-01 b 2000-01-01 00:00:00 yet another binary data
4322 -2 2 1825-12-14 a 2003-01-01 03:02:01 binary data
433drop table t1, t2;
434create table t1 (a int, b int, d int, e bigint, f float(3,2), g double(4,3), h decimal(5,4), j date, k timestamp, l datetime, m enum('a','b'), o char(10));
435create table t2 select ifnull(a,a), ifnull(b,b), ifnull(d,d), ifnull(e,e), ifnull(f,f), ifnull(g,g), ifnull(h,h), ifnull(j,j), ifnull(k,k), ifnull(l,l), ifnull(m,m), ifnull(o,o) from t1;
436show create table t2;
437Table Create Table
438t2 CREATE TABLE `t2` (
439 `ifnull(a,a)` int DEFAULT NULL,
440 `ifnull(b,b)` int DEFAULT NULL,
441 `ifnull(d,d)` int DEFAULT NULL,
442 `ifnull(e,e)` bigint DEFAULT NULL,
443 `ifnull(f,f)` double(3,2) DEFAULT NULL,
444 `ifnull(g,g)` double(4,3) DEFAULT NULL,
445 `ifnull(h,h)` decimal(5,4) DEFAULT NULL,
446 `ifnull(j,j)` date DEFAULT NULL,
447 `ifnull(k,k)` timestamp NULL DEFAULT NULL,
448 `ifnull(l,l)` datetime DEFAULT NULL,
449 `ifnull(m,m)` varchar(1) DEFAULT NULL,
450 `ifnull(o,o)` varchar(10) DEFAULT NULL
451) ENGINE=DEFAULT
452drop table t1,t2;
453create table t1(str varchar(10) default 'def',strnull varchar(10),intg int default '10',rel double default '3.14');
454insert into t1 values ('','',0,0.0);
455describe t1;
456Field Type Null Key Default Extra
457str varchar(10) YES def
458strnull varchar(10) YES NULL
459intg int YES 10
460rel double YES 3.14
461create table t2 select default(str) as str, default(strnull) as strnull, default(intg) as intg, default(rel) as rel from t1;
462describe t2;
463Field Type Null Key Default Extra
464str varchar(10) YES NULL
465strnull varchar(10) YES NULL
466intg int YES NULL
467rel double YES NULL
468drop table t1, t2;
469create table t1(name varchar(10), age int default -1);
470describe t1;
471Field Type Null Key Default Extra
472name varchar(10) YES NULL
473age int YES -1
474create table t2(name varchar(10), age int default - 1);
475describe t2;
476Field Type Null Key Default Extra
477name varchar(10) YES NULL
478age int YES -1
479drop table t1, t2;
480create table t1(cenum enum('a'));
481create table t2(cenum enum('a','a'));
482ERROR HY000: Column 'cenum' has duplicated value 'a' in ENUM
483create table t3(cenum enum('a','A','a','c','c'));
484ERROR HY000: Column 'cenum' has duplicated value 'a' in ENUM
485drop table t1;
486create database mysqltest;
487use mysqltest;
488select database();
489database()
490mysqltest
491drop database mysqltest;
492select database();
493database()
494NULL
495use test;
496CREATE TABLE t1(id varchar(10) NOT NULL PRIMARY KEY, dsc longtext);
497INSERT INTO t1 VALUES ('5000000001', NULL),('5000000003', 'Test'),('5000000004', NULL);
498CREATE TABLE t2(id varchar(15) NOT NULL, proc varchar(100) NOT NULL, runID varchar(16) NOT NULL, start datetime NOT NULL, PRIMARY KEY (id,proc,runID,start));
499INSERT INTO t2 VALUES ('5000000001', 'proc01', '20031029090650', '2003-10-29 13:38:40'),('5000000001', 'proc02', '20031029090650', '2003-10-29 13:38:51'),('5000000001', 'proc03', '20031029090650', '2003-10-29 13:38:11'),('5000000002', 'proc09', '20031024013310', '2003-10-24 01:33:11'),('5000000002', 'proc09', '20031024153537', '2003-10-24 15:36:04'),('5000000004', 'proc01', '20031024013641', '2003-10-24 01:37:29'),('5000000004', 'proc02', '20031024013641', '2003-10-24 01:37:39');
500CREATE TABLE t3 SELECT t1.dsc,COUNT(DISTINCT t2.id) AS countOfRuns FROM t1 LEFT JOIN t2 ON (t1.id=t2.id) GROUP BY t1.id;
501SELECT * FROM t3;
502dsc countOfRuns
503NULL 1
504Test 0
505NULL 1
506drop table t1, t2, t3;
507create table t1 (a int);
508create table t1 select * from t1;
509ERROR HY000: You can't specify target table 't1' for update in FROM clause
510flush tables with read lock;
511unlock tables;
512drop table t1;
513create table t1(column.name int);
514ERROR 42000: Incorrect table name 'column'
515create table t1(test.column.name int);
516ERROR 42000: Incorrect table name 'column'
517create table t1(xyz.t1.name int);
518ERROR 42000: Incorrect database name 'xyz'
519create table t1(t1.name int);
520create table t2(test.t2.name int);
521drop table t1,t2;
522CREATE TABLE t1 (f1 VARCHAR(255));
523CREATE TABLE t2 AS SELECT LEFT(f1,171) AS f2 FROM t1 UNION SELECT LEFT(f1,171) AS f2 FROM t1;
524DESC t2;
525Field Type Null Key Default Extra
526f2 varchar(171) YES NULL
527DROP TABLE t1,t2;
528CREATE TABLE t12913 (f1 ENUM ('a','b')) AS SELECT 'a' AS f1;
529SELECT * FROM t12913;
530f1
531a
532DROP TABLE t12913;
533create database mysqltest;
534use mysqltest;
535drop database mysqltest;
536create table test.t1 like x;
537ERROR 3D000: No database selected
538drop table if exists test.t1;
539create database mysqltest;
540create database if not exists mysqltest;
541Warnings:
542Note 1007 Can't create database 'mysqltest'; database exists
543show create database mysqltest;
544Database Create Database
545mysqltest CREATE DATABASE `mysqltest`
546drop database mysqltest;
547use test;
548create table t1 (a int);
549create table if not exists t1 (a int);
550Warnings:
551Note 1050 Table 't1' already exists
552drop table t1;
553create table t1 (
554a varchar(112) collate utf8_bin not null,
555primary key (a)
556) select 'test' as a ;
557show create table t1;
558Table Create Table
559t1 CREATE TABLE `t1` (
560 `a` varchar(112) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
561 PRIMARY KEY (`a`)
562) ENGINE=DEFAULT
563drop table t1;
564CREATE TABLE t2 (
565a int default NULL
566);
567insert into t2 values(111);
568create table t1 (
569a varchar(12) collate utf8_bin not null,
570b int not null, primary key (a)
571) select a, 1 as b from t2 ;
572show create table t1;
573Table Create Table
574t1 CREATE TABLE `t1` (
575 `a` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
576 `b` int NOT NULL,
577 PRIMARY KEY (`a`)
578) ENGINE=DEFAULT
579drop table t1;
580create table t1 (
581a varchar(12) collate utf8_bin not null,
582b int not null, primary key (a)
583) select a, 1 as c from t2 ;
584ERROR HY000: Field 'b' doesn't have a default value
585create table t1 (
586a varchar(12) collate utf8_bin not null,
587b int null, primary key (a)
588) select a, 1 as c from t2 ;
589show create table t1;
590Table Create Table
591t1 CREATE TABLE `t1` (
592 `b` int DEFAULT NULL,
593 `a` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
594 `c` int NOT NULL,
595 PRIMARY KEY (`a`)
596) ENGINE=DEFAULT
597drop table t1;
598create table t1 (
599a varchar(12) collate utf8_bin not null,
600b int not null, primary key (a)
601) select 'a' as a , 1 as b from t2 ;
602show create table t1;
603Table Create Table
604t1 CREATE TABLE `t1` (
605 `a` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
606 `b` int NOT NULL,
607 PRIMARY KEY (`a`)
608) ENGINE=DEFAULT
609drop table t1;
610create table t1 (
611a varchar(12) collate utf8_bin,
612b int not null, primary key (a)
613) select 'a' as a , 1 as b from t2 ;
614show create table t1;
615Table Create Table
616t1 CREATE TABLE `t1` (
617 `a` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
618 `b` int NOT NULL,
619 PRIMARY KEY (`a`)
620) ENGINE=DEFAULT
621drop table t1, t2;
622create table t1 (
623a1 int not null,
624a2 int, a3 int, a4 int, a5 int, a6 int, a7 int, a8 int, a9 int
625);
626insert into t1 values (1,1,1, 1,1,1, 1,1,1);
627create table t2 (
628a1 varchar(12) collate utf8_bin not null,
629a2 int, a3 int, a4 int, a5 int, a6 int, a7 int, a8 int, a9 int,
630primary key (a1)
631) select a1,a2,a3,a4,a5,a6,a7,a8,a9 from t1 ;
632drop table t2;
633create table t2 (
634a1 varchar(12) collate utf8_bin,
635a2 int, a3 int, a4 int, a5 int, a6 int, a7 int, a8 int, a9 int
636) select a1,a2,a3,a4,a5,a6,a7,a8,a9 from t1;
637drop table t1, t2;
638create table t1 (
639a1 int, a2 int, a3 int, a4 int, a5 int, a6 int, a7 int, a8 int, a9 int
640);
641insert into t1 values (1,1,1, 1,1,1, 1,1,1);
642create table t2 (
643a1 varchar(12) collate utf8_bin not null,
644a2 int, a3 int, a4 int, a5 int, a6 int, a7 int, a8 int, a9 int,
645primary key (a1)
646) select a1,a2,a3,a4,a5,a6,a7,a8,a9 from t1 ;
647drop table t2;
648create table t2 ( a int default 3, b int default 3)
649select a1,a2 from t1;
650show create table t2;
651Table Create Table
652t2 CREATE TABLE `t2` (
653 `a` int DEFAULT '3',
654 `b` int DEFAULT '3',
655 `a1` int DEFAULT NULL,
656 `a2` int DEFAULT NULL
657) ENGINE=DEFAULT
658drop table t1, t2;
659create table t1 select * from t2;
660ERROR 42S02: Table 'test.t2' doesn't exist
661create table t1 select * from t1;
662ERROR HY000: You can't specify target table 't1' for update in FROM clause
663create table t1 select coalesce('a' collate utf8_swedish_ci,'b' collate utf8_bin);
664ERROR HY000: Illegal mix of collations (utf8_swedish_ci,EXPLICIT) and (utf8_bin,EXPLICIT) for operation 'coalesce'
665create table t1 (primary key(a)) select "b" as b;
666ERROR 42000: Key column 'a' doesn't exist in table
667create table t1 (primary key (a)) (select 1 as a) union all (select 1 as a);
668ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
669create table t1 (i int);
670create table if not exists t1 select 1 as i;
671Warnings:
672Note 1050 Table 't1' already exists
673select * from t1;
674i
6751
676drop table t1;
677create table t1 select coalesce('a' collate utf8_swedish_ci,'b' collate utf8_bin);
678ERROR HY000: Illegal mix of collations (utf8_swedish_ci,EXPLICIT) and (utf8_bin,EXPLICIT) for operation 'coalesce'
679create temporary table t1 (j int);
680create table if not exists t1 select 1;
681Warnings:
682Note 1050 Table 't1' already exists
683select * from t1;
684j
6851
686drop temporary table t1;
687select * from t1;
688ERROR 42S02: Table 'test.t1' doesn't exist
689drop table t1;
690ERROR 42S02: Unknown table 't1'
691create table t1 (upgrade int);
692drop table t1;
693create table t1 (
694c1 int, c2 int, c3 int, c4 int, c5 int, c6 int, c7 int, c8 int,
695c9 int, c10 int, c11 int, c12 int, c13 int, c14 int, c15 int, c16 int,
696key a001_long_123456789_123456789_123456789_123456789_123456789_1234 (
697c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
698key a002_long_123456789_123456789_123456789_123456789_123456789_1234 (
699c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
700key a003_long_123456789_123456789_123456789_123456789_123456789_1234 (
701c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
702key a004_long_123456789_123456789_123456789_123456789_123456789_1234 (
703c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
704key a005_long_123456789_123456789_123456789_123456789_123456789_1234 (
705c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
706key a006_long_123456789_123456789_123456789_123456789_123456789_1234 (
707c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
708key a007_long_123456789_123456789_123456789_123456789_123456789_1234 (
709c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
710key a008_long_123456789_123456789_123456789_123456789_123456789_1234 (
711c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
712key a009_long_123456789_123456789_123456789_123456789_123456789_1234 (
713c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
714key a010_long_123456789_123456789_123456789_123456789_123456789_1234 (
715c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
716key a011_long_123456789_123456789_123456789_123456789_123456789_1234 (
717c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
718key a012_long_123456789_123456789_123456789_123456789_123456789_1234 (
719c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
720key a013_long_123456789_123456789_123456789_123456789_123456789_1234 (
721c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
722key a014_long_123456789_123456789_123456789_123456789_123456789_1234 (
723c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
724key a015_long_123456789_123456789_123456789_123456789_123456789_1234 (
725c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
726key a016_long_123456789_123456789_123456789_123456789_123456789_1234 (
727c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
728key a017_long_123456789_123456789_123456789_123456789_123456789_1234 (
729c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
730key a018_long_123456789_123456789_123456789_123456789_123456789_1234 (
731c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
732key a019_long_123456789_123456789_123456789_123456789_123456789_1234 (
733c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
734key a020_long_123456789_123456789_123456789_123456789_123456789_1234 (
735c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
736key a021_long_123456789_123456789_123456789_123456789_123456789_1234 (
737c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
738key a022_long_123456789_123456789_123456789_123456789_123456789_1234 (
739c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
740key a023_long_123456789_123456789_123456789_123456789_123456789_1234 (
741c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
742key a024_long_123456789_123456789_123456789_123456789_123456789_1234 (
743c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
744key a025_long_123456789_123456789_123456789_123456789_123456789_1234 (
745c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
746key a026_long_123456789_123456789_123456789_123456789_123456789_1234 (
747c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
748key a027_long_123456789_123456789_123456789_123456789_123456789_1234 (
749c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
750key a028_long_123456789_123456789_123456789_123456789_123456789_1234 (
751c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
752key a029_long_123456789_123456789_123456789_123456789_123456789_1234 (
753c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
754key a030_long_123456789_123456789_123456789_123456789_123456789_1234 (
755c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
756key a031_long_123456789_123456789_123456789_123456789_123456789_1234 (
757c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
758key a032_long_123456789_123456789_123456789_123456789_123456789_1234 (
759c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
760key a033_long_123456789_123456789_123456789_123456789_123456789_1234 (
761c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
762key a034_long_123456789_123456789_123456789_123456789_123456789_1234 (
763c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
764key a035_long_123456789_123456789_123456789_123456789_123456789_1234 (
765c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
766key a036_long_123456789_123456789_123456789_123456789_123456789_1234 (
767c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
768key a037_long_123456789_123456789_123456789_123456789_123456789_1234 (
769c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
770key a038_long_123456789_123456789_123456789_123456789_123456789_1234 (
771c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
772key a039_long_123456789_123456789_123456789_123456789_123456789_1234 (
773c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
774key a040_long_123456789_123456789_123456789_123456789_123456789_1234 (
775c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
776key a041_long_123456789_123456789_123456789_123456789_123456789_1234 (
777c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
778key a042_long_123456789_123456789_123456789_123456789_123456789_1234 (
779c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
780key a043_long_123456789_123456789_123456789_123456789_123456789_1234 (
781c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
782key a044_long_123456789_123456789_123456789_123456789_123456789_1234 (
783c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
784key a045_long_123456789_123456789_123456789_123456789_123456789_1234 (
785c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
786key a046_long_123456789_123456789_123456789_123456789_123456789_1234 (
787c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
788key a047_long_123456789_123456789_123456789_123456789_123456789_1234 (
789c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
790key a048_long_123456789_123456789_123456789_123456789_123456789_1234 (
791c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
792key a049_long_123456789_123456789_123456789_123456789_123456789_1234 (
793c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
794key a050_long_123456789_123456789_123456789_123456789_123456789_1234 (
795c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
796key a051_long_123456789_123456789_123456789_123456789_123456789_1234 (
797c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
798key a052_long_123456789_123456789_123456789_123456789_123456789_1234 (
799c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
800key a053_long_123456789_123456789_123456789_123456789_123456789_1234 (
801c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
802key a054_long_123456789_123456789_123456789_123456789_123456789_1234 (
803c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
804key a055_long_123456789_123456789_123456789_123456789_123456789_1234 (
805c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
806key a056_long_123456789_123456789_123456789_123456789_123456789_1234 (
807c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
808key a057_long_123456789_123456789_123456789_123456789_123456789_1234 (
809c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
810key a058_long_123456789_123456789_123456789_123456789_123456789_1234 (
811c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
812key a059_long_123456789_123456789_123456789_123456789_123456789_1234 (
813c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
814key a060_long_123456789_123456789_123456789_123456789_123456789_1234 (
815c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
816key a061_long_123456789_123456789_123456789_123456789_123456789_1234 (
817c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
818key a062_long_123456789_123456789_123456789_123456789_123456789_1234 (
819c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
820key a063_long_123456789_123456789_123456789_123456789_123456789_1234 (
821c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
822key a064_long_123456789_123456789_123456789_123456789_123456789_1234 (
823c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16)
824);
825show create table t1;
826Table Create Table
827t1 CREATE TABLE `t1` (
828 `c1` int DEFAULT NULL,
829 `c2` int DEFAULT NULL,
830 `c3` int DEFAULT NULL,
831 `c4` int DEFAULT NULL,
832 `c5` int DEFAULT NULL,
833 `c6` int DEFAULT NULL,
834 `c7` int DEFAULT NULL,
835 `c8` int DEFAULT NULL,
836 `c9` int DEFAULT NULL,
837 `c10` int DEFAULT NULL,
838 `c11` int DEFAULT NULL,
839 `c12` int DEFAULT NULL,
840 `c13` int DEFAULT NULL,
841 `c14` int DEFAULT NULL,
842 `c15` int DEFAULT NULL,
843 `c16` int DEFAULT NULL,
844 KEY `a001_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
845 KEY `a002_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
846 KEY `a003_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
847 KEY `a004_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
848 KEY `a005_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
849 KEY `a006_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
850 KEY `a007_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
851 KEY `a008_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
852 KEY `a009_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
853 KEY `a010_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
854 KEY `a011_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
855 KEY `a012_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
856 KEY `a013_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
857 KEY `a014_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
858 KEY `a015_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
859 KEY `a016_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
860 KEY `a017_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
861 KEY `a018_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
862 KEY `a019_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
863 KEY `a020_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
864 KEY `a021_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
865 KEY `a022_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
866 KEY `a023_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
867 KEY `a024_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
868 KEY `a025_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
869 KEY `a026_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
870 KEY `a027_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
871 KEY `a028_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
872 KEY `a029_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
873 KEY `a030_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
874 KEY `a031_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
875 KEY `a032_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
876 KEY `a033_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
877 KEY `a034_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
878 KEY `a035_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
879 KEY `a036_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
880 KEY `a037_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
881 KEY `a038_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
882 KEY `a039_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
883 KEY `a040_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
884 KEY `a041_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
885 KEY `a042_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
886 KEY `a043_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
887 KEY `a044_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
888 KEY `a045_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
889 KEY `a046_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
890 KEY `a047_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
891 KEY `a048_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
892 KEY `a049_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
893 KEY `a050_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
894 KEY `a051_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
895 KEY `a052_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
896 KEY `a053_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
897 KEY `a054_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
898 KEY `a055_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
899 KEY `a056_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
900 KEY `a057_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
901 KEY `a058_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
902 KEY `a059_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
903 KEY `a060_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
904 KEY `a061_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
905 KEY `a062_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
906 KEY `a063_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
907 KEY `a064_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`)
908) ENGINE=DEFAULT
909flush tables;
910show create table t1;
911Table Create Table
912t1 CREATE TABLE `t1` (
913 `c1` int DEFAULT NULL,
914 `c2` int DEFAULT NULL,
915 `c3` int DEFAULT NULL,
916 `c4` int DEFAULT NULL,
917 `c5` int DEFAULT NULL,
918 `c6` int DEFAULT NULL,
919 `c7` int DEFAULT NULL,
920 `c8` int DEFAULT NULL,
921 `c9` int DEFAULT NULL,
922 `c10` int DEFAULT NULL,
923 `c11` int DEFAULT NULL,
924 `c12` int DEFAULT NULL,
925 `c13` int DEFAULT NULL,
926 `c14` int DEFAULT NULL,
927 `c15` int DEFAULT NULL,
928 `c16` int DEFAULT NULL,
929 KEY `a001_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
930 KEY `a002_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
931 KEY `a003_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
932 KEY `a004_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
933 KEY `a005_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
934 KEY `a006_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
935 KEY `a007_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
936 KEY `a008_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
937 KEY `a009_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
938 KEY `a010_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
939 KEY `a011_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
940 KEY `a012_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
941 KEY `a013_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
942 KEY `a014_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
943 KEY `a015_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
944 KEY `a016_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
945 KEY `a017_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
946 KEY `a018_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
947 KEY `a019_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
948 KEY `a020_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
949 KEY `a021_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
950 KEY `a022_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
951 KEY `a023_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
952 KEY `a024_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
953 KEY `a025_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
954 KEY `a026_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
955 KEY `a027_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
956 KEY `a028_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
957 KEY `a029_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
958 KEY `a030_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
959 KEY `a031_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
960 KEY `a032_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
961 KEY `a033_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
962 KEY `a034_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
963 KEY `a035_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
964 KEY `a036_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
965 KEY `a037_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
966 KEY `a038_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
967 KEY `a039_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
968 KEY `a040_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
969 KEY `a041_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
970 KEY `a042_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
971 KEY `a043_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
972 KEY `a044_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
973 KEY `a045_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
974 KEY `a046_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
975 KEY `a047_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
976 KEY `a048_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
977 KEY `a049_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
978 KEY `a050_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
979 KEY `a051_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
980 KEY `a052_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
981 KEY `a053_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
982 KEY `a054_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
983 KEY `a055_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
984 KEY `a056_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
985 KEY `a057_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
986 KEY `a058_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
987 KEY `a059_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
988 KEY `a060_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
989 KEY `a061_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
990 KEY `a062_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
991 KEY `a063_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
992 KEY `a064_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`)
993) ENGINE=DEFAULT
994drop table t1;
995create table t1 (c1 int, c2 int, c3 int, c4 int, c5 int, c6 int, c7 int,
996c8 int, c9 int, c10 int, c11 int, c12 int, c13 int, c14 int, c15 int, c16 int);
997alter table t1
998add key a001_long_123456789_123456789_123456789_123456789_123456789_1234 (
999c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1000add key a002_long_123456789_123456789_123456789_123456789_123456789_1234 (
1001c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1002add key a003_long_123456789_123456789_123456789_123456789_123456789_1234 (
1003c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1004add key a004_long_123456789_123456789_123456789_123456789_123456789_1234 (
1005c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1006add key a005_long_123456789_123456789_123456789_123456789_123456789_1234 (
1007c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1008add key a006_long_123456789_123456789_123456789_123456789_123456789_1234 (
1009c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1010add key a007_long_123456789_123456789_123456789_123456789_123456789_1234 (
1011c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1012add key a008_long_123456789_123456789_123456789_123456789_123456789_1234 (
1013c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1014add key a009_long_123456789_123456789_123456789_123456789_123456789_1234 (
1015c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1016add key a010_long_123456789_123456789_123456789_123456789_123456789_1234 (
1017c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1018add key a011_long_123456789_123456789_123456789_123456789_123456789_1234 (
1019c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1020add key a012_long_123456789_123456789_123456789_123456789_123456789_1234 (
1021c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1022add key a013_long_123456789_123456789_123456789_123456789_123456789_1234 (
1023c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1024add key a014_long_123456789_123456789_123456789_123456789_123456789_1234 (
1025c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1026add key a015_long_123456789_123456789_123456789_123456789_123456789_1234 (
1027c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1028add key a016_long_123456789_123456789_123456789_123456789_123456789_1234 (
1029c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1030add key a017_long_123456789_123456789_123456789_123456789_123456789_1234 (
1031c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1032add key a018_long_123456789_123456789_123456789_123456789_123456789_1234 (
1033c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1034add key a019_long_123456789_123456789_123456789_123456789_123456789_1234 (
1035c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1036add key a020_long_123456789_123456789_123456789_123456789_123456789_1234 (
1037c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1038add key a021_long_123456789_123456789_123456789_123456789_123456789_1234 (
1039c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1040add key a022_long_123456789_123456789_123456789_123456789_123456789_1234 (
1041c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1042add key a023_long_123456789_123456789_123456789_123456789_123456789_1234 (
1043c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1044add key a024_long_123456789_123456789_123456789_123456789_123456789_1234 (
1045c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1046add key a025_long_123456789_123456789_123456789_123456789_123456789_1234 (
1047c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1048add key a026_long_123456789_123456789_123456789_123456789_123456789_1234 (
1049c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1050add key a027_long_123456789_123456789_123456789_123456789_123456789_1234 (
1051c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1052add key a028_long_123456789_123456789_123456789_123456789_123456789_1234 (
1053c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1054add key a029_long_123456789_123456789_123456789_123456789_123456789_1234 (
1055c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1056add key a030_long_123456789_123456789_123456789_123456789_123456789_1234 (
1057c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1058add key a031_long_123456789_123456789_123456789_123456789_123456789_1234 (
1059c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1060add key a032_long_123456789_123456789_123456789_123456789_123456789_1234 (
1061c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1062add key a033_long_123456789_123456789_123456789_123456789_123456789_1234 (
1063c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1064add key a034_long_123456789_123456789_123456789_123456789_123456789_1234 (
1065c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1066add key a035_long_123456789_123456789_123456789_123456789_123456789_1234 (
1067c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1068add key a036_long_123456789_123456789_123456789_123456789_123456789_1234 (
1069c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1070add key a037_long_123456789_123456789_123456789_123456789_123456789_1234 (
1071c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1072add key a038_long_123456789_123456789_123456789_123456789_123456789_1234 (
1073c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1074add key a039_long_123456789_123456789_123456789_123456789_123456789_1234 (
1075c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1076add key a040_long_123456789_123456789_123456789_123456789_123456789_1234 (
1077c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1078add key a041_long_123456789_123456789_123456789_123456789_123456789_1234 (
1079c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1080add key a042_long_123456789_123456789_123456789_123456789_123456789_1234 (
1081c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1082add key a043_long_123456789_123456789_123456789_123456789_123456789_1234 (
1083c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1084add key a044_long_123456789_123456789_123456789_123456789_123456789_1234 (
1085c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1086add key a045_long_123456789_123456789_123456789_123456789_123456789_1234 (
1087c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1088add key a046_long_123456789_123456789_123456789_123456789_123456789_1234 (
1089c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1090add key a047_long_123456789_123456789_123456789_123456789_123456789_1234 (
1091c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1092add key a048_long_123456789_123456789_123456789_123456789_123456789_1234 (
1093c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1094add key a049_long_123456789_123456789_123456789_123456789_123456789_1234 (
1095c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1096add key a050_long_123456789_123456789_123456789_123456789_123456789_1234 (
1097c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1098add key a051_long_123456789_123456789_123456789_123456789_123456789_1234 (
1099c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1100add key a052_long_123456789_123456789_123456789_123456789_123456789_1234 (
1101c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1102add key a053_long_123456789_123456789_123456789_123456789_123456789_1234 (
1103c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1104add key a054_long_123456789_123456789_123456789_123456789_123456789_1234 (
1105c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1106add key a055_long_123456789_123456789_123456789_123456789_123456789_1234 (
1107c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1108add key a056_long_123456789_123456789_123456789_123456789_123456789_1234 (
1109c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1110add key a057_long_123456789_123456789_123456789_123456789_123456789_1234 (
1111c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1112add key a058_long_123456789_123456789_123456789_123456789_123456789_1234 (
1113c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1114add key a059_long_123456789_123456789_123456789_123456789_123456789_1234 (
1115c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1116add key a060_long_123456789_123456789_123456789_123456789_123456789_1234 (
1117c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1118add key a061_long_123456789_123456789_123456789_123456789_123456789_1234 (
1119c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1120add key a062_long_123456789_123456789_123456789_123456789_123456789_1234 (
1121c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1122add key a063_long_123456789_123456789_123456789_123456789_123456789_1234 (
1123c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
1124add key a064_long_123456789_123456789_123456789_123456789_123456789_1234 (
1125c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16);
1126show create table t1;
1127Table Create Table
1128t1 CREATE TABLE `t1` (
1129 `c1` int DEFAULT NULL,
1130 `c2` int DEFAULT NULL,
1131 `c3` int DEFAULT NULL,
1132 `c4` int DEFAULT NULL,
1133 `c5` int DEFAULT NULL,
1134 `c6` int DEFAULT NULL,
1135 `c7` int DEFAULT NULL,
1136 `c8` int DEFAULT NULL,
1137 `c9` int DEFAULT NULL,
1138 `c10` int DEFAULT NULL,
1139 `c11` int DEFAULT NULL,
1140 `c12` int DEFAULT NULL,
1141 `c13` int DEFAULT NULL,
1142 `c14` int DEFAULT NULL,
1143 `c15` int DEFAULT NULL,
1144 `c16` int DEFAULT NULL,
1145 KEY `a001_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1146 KEY `a002_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1147 KEY `a003_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1148 KEY `a004_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1149 KEY `a005_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1150 KEY `a006_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1151 KEY `a007_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1152 KEY `a008_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1153 KEY `a009_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1154 KEY `a010_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1155 KEY `a011_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1156 KEY `a012_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1157 KEY `a013_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1158 KEY `a014_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1159 KEY `a015_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1160 KEY `a016_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1161 KEY `a017_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1162 KEY `a018_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1163 KEY `a019_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1164 KEY `a020_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1165 KEY `a021_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1166 KEY `a022_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1167 KEY `a023_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1168 KEY `a024_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1169 KEY `a025_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1170 KEY `a026_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1171 KEY `a027_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1172 KEY `a028_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1173 KEY `a029_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1174 KEY `a030_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1175 KEY `a031_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1176 KEY `a032_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1177 KEY `a033_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1178 KEY `a034_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1179 KEY `a035_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1180 KEY `a036_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1181 KEY `a037_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1182 KEY `a038_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1183 KEY `a039_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1184 KEY `a040_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1185 KEY `a041_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1186 KEY `a042_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1187 KEY `a043_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1188 KEY `a044_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1189 KEY `a045_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1190 KEY `a046_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1191 KEY `a047_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1192 KEY `a048_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1193 KEY `a049_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1194 KEY `a050_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1195 KEY `a051_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1196 KEY `a052_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1197 KEY `a053_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1198 KEY `a054_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1199 KEY `a055_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1200 KEY `a056_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1201 KEY `a057_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1202 KEY `a058_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1203 KEY `a059_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1204 KEY `a060_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1205 KEY `a061_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1206 KEY `a062_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1207 KEY `a063_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1208 KEY `a064_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`)
1209) ENGINE=DEFAULT
1210flush tables;
1211show create table t1;
1212Table Create Table
1213t1 CREATE TABLE `t1` (
1214 `c1` int DEFAULT NULL,
1215 `c2` int DEFAULT NULL,
1216 `c3` int DEFAULT NULL,
1217 `c4` int DEFAULT NULL,
1218 `c5` int DEFAULT NULL,
1219 `c6` int DEFAULT NULL,
1220 `c7` int DEFAULT NULL,
1221 `c8` int DEFAULT NULL,
1222 `c9` int DEFAULT NULL,
1223 `c10` int DEFAULT NULL,
1224 `c11` int DEFAULT NULL,
1225 `c12` int DEFAULT NULL,
1226 `c13` int DEFAULT NULL,
1227 `c14` int DEFAULT NULL,
1228 `c15` int DEFAULT NULL,
1229 `c16` int DEFAULT NULL,
1230 KEY `a001_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1231 KEY `a002_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1232 KEY `a003_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1233 KEY `a004_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1234 KEY `a005_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1235 KEY `a006_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1236 KEY `a007_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1237 KEY `a008_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1238 KEY `a009_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1239 KEY `a010_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1240 KEY `a011_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1241 KEY `a012_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1242 KEY `a013_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1243 KEY `a014_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1244 KEY `a015_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1245 KEY `a016_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1246 KEY `a017_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1247 KEY `a018_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1248 KEY `a019_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1249 KEY `a020_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1250 KEY `a021_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1251 KEY `a022_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1252 KEY `a023_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1253 KEY `a024_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1254 KEY `a025_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1255 KEY `a026_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1256 KEY `a027_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1257 KEY `a028_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1258 KEY `a029_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1259 KEY `a030_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1260 KEY `a031_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1261 KEY `a032_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1262 KEY `a033_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1263 KEY `a034_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1264 KEY `a035_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1265 KEY `a036_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1266 KEY `a037_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1267 KEY `a038_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1268 KEY `a039_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1269 KEY `a040_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1270 KEY `a041_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1271 KEY `a042_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1272 KEY `a043_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1273 KEY `a044_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1274 KEY `a045_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1275 KEY `a046_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1276 KEY `a047_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1277 KEY `a048_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1278 KEY `a049_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1279 KEY `a050_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1280 KEY `a051_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1281 KEY `a052_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1282 KEY `a053_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1283 KEY `a054_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1284 KEY `a055_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1285 KEY `a056_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1286 KEY `a057_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1287 KEY `a058_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1288 KEY `a059_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1289 KEY `a060_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1290 KEY `a061_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1291 KEY `a062_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1292 KEY `a063_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`),
1293 KEY `a064_long_123456789_123456789_123456789_123456789_123456789_1234` (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`)
1294) ENGINE=DEFAULT
1295alter table t1 add key
1296a065_long_123456789_123456789_123456789_123456789_123456789_1234 (
1297c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16);
1298ERROR 42000: Too many keys specified; max 64 keys allowed
1299drop table t1;
1300create table t1 (c1 int, c2 int, c3 int, c4 int, c5 int, c6 int, c7 int,
1301c8 int, c9 int, c10 int, c11 int, c12 int, c13 int, c14 int, c15 int,
1302c16 int, c17 int);
1303alter table t1 add key i1 (
1304c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16, c17);
1305ERROR 42000: Too many key parts specified; max 16 parts allowed
1306alter table t1 add key
1307a001_long_123456789_123456789_123456789_123456789_123456789_12345 (c1);
1308ERROR 42000: Identifier name 'a001_long_123456789_123456789_123456789_123456789_123456789_12345' is too long
1309show create table t1;
1310Table Create Table
1311t1 CREATE TABLE `t1` (
1312 `c1` int DEFAULT NULL,
1313 `c2` int DEFAULT NULL,
1314 `c3` int DEFAULT NULL,
1315 `c4` int DEFAULT NULL,
1316 `c5` int DEFAULT NULL,
1317 `c6` int DEFAULT NULL,
1318 `c7` int DEFAULT NULL,
1319 `c8` int DEFAULT NULL,
1320 `c9` int DEFAULT NULL,
1321 `c10` int DEFAULT NULL,
1322 `c11` int DEFAULT NULL,
1323 `c12` int DEFAULT NULL,
1324 `c13` int DEFAULT NULL,
1325 `c14` int DEFAULT NULL,
1326 `c15` int DEFAULT NULL,
1327 `c16` int DEFAULT NULL,
1328 `c17` int DEFAULT NULL
1329) ENGINE=DEFAULT
1330drop table t1;
1331
1332Bug #26104 Bug on foreign key class constructor
1333
1334Check that ref_columns is initalized correctly in the constructor
1335and semantic checks in mysql_prepare_table work.
1336
1337We do not need a storage engine that supports foreign keys
1338for this test, as the checks are purely syntax-based, and the
1339syntax is supported for all engines.
1340
1341drop table if exists t1,t2;
1342create table t1(a int not null, b int not null, primary key (a, b));
1343create table t2(a int not null, b int not null, c int not null, primary key (a),
1344foreign key fk_bug26104 (b,c) references t1(a));
1345ERROR 42000: Incorrect foreign key definition for 'fk_bug26104': Key reference and table reference don't match
1346drop table t1;
1347create table t1(f1 int,f2 int);
1348insert into t1 value(1,1),(1,2),(1,3),(2,1),(2,2),(2,3);
1349flush status;
1350create table t2 select sql_big_result f1,count(f2) from t1 group by f1;
1351show status like 'handler_read%';
1352Variable_name Value
1353Handler_read_first 0
1354Handler_read_key 0
1355Handler_read_next 0
1356Handler_read_prev 0
1357Handler_read_rnd 0
1358Handler_read_rnd_next 0
1359drop table t1,t2;
1360CREATE TABLE t1(c1 VARCHAR(33), KEY USING BTREE (c1));
1361DROP TABLE t1;
1362CREATE TABLE t1(c1 VARCHAR(33), KEY (c1) USING BTREE);
1363DROP TABLE t1;
1364CREATE TEMPORARY TABLE t1(c1 VARCHAR(33), KEY USING BTREE (c1) USING HASH) ENGINE=MEMORY;
1365SHOW INDEX FROM t1;
1366Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
1367t1 1 c1 1 c1 NULL 0 NULL NULL YES HASH
1368DROP TABLE t1;
1369CREATE TEMPORARY TABLE t1(c1 VARCHAR(33), KEY USING HASH (c1) USING BTREE) ENGINE=MEMORY;
1370SHOW INDEX FROM t1;
1371Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_Comment
1372t1 1 c1 1 c1 A NULL NULL NULL YES BTREE
1373DROP TABLE t1;
1374End of 5.0 tests
1375CREATE TABLE t1 (a int, b int);
1376insert into t1 values (1,1),(1,2);
1377CREATE TABLE t2 (primary key (a)) select * from t1;
1378ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
1379drop table if exists t2;
1380Warnings:
1381Note 1051 Unknown table 't2'
1382CREATE TEMPORARY TABLE t2 (primary key (a)) select * from t1;
1383ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
1384drop table if exists t2;
1385Warnings:
1386Note 1051 Unknown table 't2'
1387CREATE TEMPORARY TABLE t2 (a int, b int, primary key (a));
1388CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) select * from t1;
1389ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
1390SELECT * from t2;
1391a b
1392TRUNCATE table t2;
1393INSERT INTO t2 select * from t1;
1394ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
1395SELECT * from t2;
1396a b
1397drop table t1,t2;
1398CREATE DATABASE aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
1399ERROR 42000: Incorrect database name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
1400DROP DATABASE aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
1401ERROR 42000: Incorrect database name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
1402USE aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
1403ERROR 42000: Incorrect database name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
1404SHOW CREATE DATABASE aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
1405ERROR 42000: Incorrect database name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
1406create database им�_базы_в_кодировке_утф8_длиной_больше_чем_45;
1407use им�_базы_в_кодировке_утф8_длиной_больше_чем_45;
1408select database();
1409database()
1410им�_базы_в_кодировке_утф8_длиной_больше_чем_45
1411use test;
1412select SCHEMA_NAME from information_schema.schemata
1413where schema_name='им�_базы_в_кодировке_утф8_длиной_больше_чем_45';
1414SCHEMA_NAME
1415им�_базы_в_кодировке_утф8_длиной_больше_чем_45
1416drop database им�_базы_в_кодировке_утф8_длиной_больше_чем_45;
1417create table им�_таблицы_в_кодировке_утф8_длиной_больше_чем_48
1418(
1419им�_пол�_в_кодировке_утф8_длиной_больше_чем_45 int,
1420index им�_индек�а_в_кодировке_утф8_длиной_больше_чем_48 (им�_пол�_в_кодировке_утф8_длиной_больше_чем_45)
1421);
1422select * from им�_таблицы_в_кодировке_утф8_длиной_больше_чем_48;
1423им�_пол�_в_кодировке_утф8_длиной_больше_чем_45
1424select TABLE_NAME from information_schema.tables where
1425table_schema='test';
1426TABLE_NAME
1427им�_таблицы_в_кодировке_утф8_длиной_больше_чем_48
1428select COLUMN_NAME from information_schema.columns where
1429table_schema='test';
1430COLUMN_NAME
1431им�_пол�_в_кодировке_утф8_длиной_больше_чем_45
1432select INDEX_NAME from information_schema.statistics where
1433table_schema='test';
1434INDEX_NAME
1435им�_индек�а_в_кодировке_утф8_длиной_больше_чем_48
1436show create table им�_таблицы_в_кодировке_утф8_длиной_больше_чем_48;
1437Table Create Table
1438им�_таблицы_в_кодировке_утф8_длиной_больше_чем_48 CREATE TABLE `им�_таблицы_в_кодировке_утф8_длиной_больше_чем_48` (
1439 `им�_пол�_в_кодировке_утф8_длиной_больше_чем_45` int DEFAULT NULL,
1440 KEY `им�_индек�а_в_кодировке_утф8_длиной_больше_чем_48` (`им�_пол�_в_кодировке_утф8_длиной_больше_чем_45`)
1441) ENGINE=DEFAULT
1442drop table им�_таблицы_в_кодировке_утф8_длиной_больше_чем_48;
1443create table t1 like information_schema.processlist;
1444show create table t1;
1445Table Create Table
1446t1 CREATE TABLE `t1` (
1447 `ID` bigint NOT NULL DEFAULT '0',
1448 `USER` varchar(16) NOT NULL DEFAULT '',
1449 `HOST` varchar(64) NOT NULL DEFAULT '',
1450 `DB` varchar(64) DEFAULT NULL,
1451 `COMMAND` varchar(16) NOT NULL DEFAULT '',
1452 `TIME` bigint NOT NULL DEFAULT '0',
1453 `STATE` varchar(64) DEFAULT NULL,
1454 `INFO` text
1455) ENGINE=MyISAM
1456drop table t1;
1457create temporary table t1 like information_schema.processlist;
1458show create table t1;
1459Table Create Table
1460t1 CREATE TEMPORARY TABLE `t1` (
1461 `ID` bigint NOT NULL DEFAULT '0',
1462 `USER` varchar(16) NOT NULL DEFAULT '',
1463 `HOST` varchar(64) NOT NULL DEFAULT '',
1464 `DB` varchar(64) DEFAULT NULL,
1465 `COMMAND` varchar(16) NOT NULL DEFAULT '',
1466 `TIME` bigint NOT NULL DEFAULT '0',
1467 `STATE` varchar(64) DEFAULT NULL,
1468 `INFO` text
1469) ENGINE=MyISAM
1470drop table t1;
1471
1472# --
1473# -- Bug#21380: DEFAULT definition not always transfered by CREATE
1474# -- TABLE/SELECT to the new table.
1475# --
1476
1477DROP TABLE IF EXISTS t1;
1478DROP TABLE IF EXISTS t2;
1479
1480CREATE TABLE t1(
1481c1 INT DEFAULT 12 COMMENT 'column1',
1482c2 INT NULL COMMENT 'column2',
1483c3 INT NOT NULL COMMENT 'column3',
1484c4 VARCHAR(255) NOT NULL DEFAULT 'a',
1485c5 VARCHAR(255) COLLATE utf8_unicode_ci NULL DEFAULT 'b',
1486c6 VARCHAR(255))
1487COLLATE utf8_bin;
1488
1489SHOW CREATE TABLE t1;
1490Table Create Table
1491t1 CREATE TABLE `t1` (
1492 `c1` int DEFAULT '12' COMMENT 'column1',
1493 `c2` int DEFAULT NULL COMMENT 'column2',
1494 `c3` int NOT NULL COMMENT 'column3',
1495 `c4` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT 'a',
1496 `c5` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT 'b',
1497 `c6` varchar(255) COLLATE utf8_bin DEFAULT NULL
1498) ENGINE=DEFAULT
1499
1500CREATE TABLE t2 AS SELECT * FROM t1;
1501
1502SHOW CREATE TABLE t2;
1503Table Create Table
1504t2 CREATE TABLE `t2` (
1505 `c1` int DEFAULT '12' COMMENT 'column1',
1506 `c2` int DEFAULT NULL COMMENT 'column2',
1507 `c3` int NOT NULL COMMENT 'column3',
1508 `c4` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'a',
1509 `c5` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT 'b',
1510 `c6` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL
1511) ENGINE=DEFAULT
1512
1513DROP TABLE t2;
1514
1515# -- End of test case for Bug#21380.
1516
1517# --
1518# -- Bug#18834: ALTER TABLE ADD INDEX on table with two timestamp fields
1519# --
1520
1521DROP TABLE IF EXISTS t1;
1522DROP TABLE IF EXISTS t2;
1523DROP TABLE IF EXISTS t3;
1524
1525CREATE TABLE t1(c1 TIMESTAMP, c2 TIMESTAMP);
1526
1527
1528CREATE TABLE t2(c1 TIMESTAMP, c2 TIMESTAMP NULL);
1529drop table t2;
1530CREATE TABLE t2(c1 TIMESTAMP, c2 TIMESTAMP DEFAULT '1982-01-29');
1531drop table t2;
1532
1533CREATE TABLE t2(c1 TIMESTAMP, c2 TIMESTAMP);
1534drop table t2;
1535
1536# -- Check that NULL column still can be created.
1537CREATE TABLE t2(c1 TIMESTAMP NULL);
1538
1539# -- Check ALTER TABLE.
1540ALTER TABLE t1 ADD INDEX(c1);
1541
1542# -- Check DATETIME.
1543
1544CREATE TABLE t3(c1 DATETIME NOT NULL);
1545INSERT INTO t3 VALUES (0);
1546ERROR HY000: Received an invalid datetime value '0'.
1547
1548ALTER TABLE t3 ADD INDEX(c1);
1549
1550# -- Cleanup.
1551DROP TABLE t1;
1552DROP TABLE t2;
1553DROP TABLE t3;
1554
1555# -- End of Bug#18834.
01556
=== added file 'tests/r/pbxt/csv.result'
--- tests/r/pbxt/csv.result 1970-01-01 00:00:00 +0000
+++ tests/r/pbxt/csv.result 2010-04-05 20:27:29 +0000
@@ -0,0 +1,5112 @@
1drop table if exists t1,t2,t3,t4;
2CREATE TEMPORARY TABLE t1 (
3Period int DEFAULT 0 NOT NULL,
4Varor_period int DEFAULT 0 NOT NULL
5) ENGINE = CSV;
6INSERT INTO t1 VALUES (9410,9412);
7select period from t1;
8period
99410
10select * from t1;
11Period Varor_period
129410 9412
13select t1.* from t1;
14Period Varor_period
159410 9412
16CREATE TEMPORARY TABLE t2 (
17auto int not null,
18fld1 int DEFAULT 0 NOT NULL,
19companynr int DEFAULT 0 NOT NULL,
20fld3 char(30) DEFAULT '' NOT NULL,
21fld4 char(35) DEFAULT '' NOT NULL,
22fld5 char(35) DEFAULT '' NOT NULL,
23fld6 char(4) DEFAULT '' NOT NULL
24) ENGINE = CSV;
25select t2.fld3 from t2 where companynr = 58 and fld3 like "%imaginable%";
26fld3
27imaginable
28select fld3 from t2 where fld3 like "%cultivation" ;
29fld3
30cultivation
31select t2.fld3,companynr from t2 where companynr = 57+1 order by fld3;
32fld3 companynr
33concoct 58
34druggists 58
35engrossing 58
36Eurydice 58
37exclaimers 58
38ferociousness 58
39hopelessness 58
40Huey 58
41imaginable 58
42judges 58
43merging 58
44ostrich 58
45peering 58
46Phelps 58
47presumes 58
48Ruth 58
49sentences 58
50Shylock 58
51straggled 58
52synergy 58
53thanking 58
54tying 58
55unlocks 58
56select fld3,companynr from t2 where companynr = 58 order by fld3;
57fld3 companynr
58concoct 58
59druggists 58
60engrossing 58
61Eurydice 58
62exclaimers 58
63ferociousness 58
64hopelessness 58
65Huey 58
66imaginable 58
67judges 58
68merging 58
69ostrich 58
70peering 58
71Phelps 58
72presumes 58
73Ruth 58
74sentences 58
75Shylock 58
76straggled 58
77synergy 58
78thanking 58
79tying 58
80unlocks 58
81select fld3 from t2 order by fld3 desc limit 10;
82fld3
83youthfulness
84yelped
85Wotan
86workers
87Witt
88witchcraft
89Winsett
90Willy
91willed
92wildcats
93select fld3 from t2 order by fld3 desc limit 5;
94fld3
95youthfulness
96yelped
97Wotan
98workers
99Witt
100select fld3 from t2 order by fld3 desc limit 5,5;
101fld3
102witchcraft
103Winsett
104Willy
105willed
106wildcats
107UPDATE t2 SET fld3="foo" WHERE fld3="b%";
108select fld3 from t2;
109fld3
110Omaha
111breaking
112Romans
113intercepted
114bewilderingly
115astound
116admonishing
117sumac
118flanking
119combed
120subjective
121scatterbrain
122Eulerian
123dubbed
124Kane
125overlay
126perturb
127goblins
128annihilates
129Wotan
130snatching
131concludes
132laterally
133yelped
134grazing
135Baird
136celery
137misunderstander
138handgun
139foldout
140mystic
141succumbed
142Nabisco
143fingerings
144aging
145afield
146ammonium
147boat
148intelligibility
149Augustine
150teethe
151dreaded
152scholastics
153audiology
154wallet
155parters
156eschew
157quitter
158neat
159Steinberg
160jarring
161tinily
162balled
163persist
164attainments
165fanatic
166measures
167rightfulness
168capably
169impulsive
170starlet
171terminators
172untying
173announces
174featherweight
175pessimist
176daughter
177decliner
178lawgiver
179stated
180readable
181attrition
182cascade
183motors
184interrogate
185pests
186stairway
187dopers
188testicle
189Parsifal
190leavings
191postulation
192squeaking
193contrasted
194leftover
195whiteners
196erases
197Punjab
198Merritt
199Quixotism
200sweetish
201dogging
202scornfully
203bellow
204bills
205cupboard
206sureties
207puddings
208tapestry
209fetters
210bivalves
211incurring
212Adolph
213pithed
214emergency
215Miles
216trimmings
217tragedies
218skulking
219flint
220flopping
221relaxing
222offload
223suites
224lists
225animized
226multilayer
227standardizes
228Judas
229vacuuming
230dentally
231humanness
232inch
233Weissmuller
234irresponsibly
235luckily
236culled
237medical
238bloodbath
239subschema
240animals
241Micronesia
242repetitions
243Antares
244ventilate
245pityingly
246interdependent
247Graves
248neonatal
249scribbled
250chafe
251honoring
252realtor
253elite
254funereal
255abrogating
256sorters
257Conley
258lectured
259Abraham
260Hawaii
261cage
262hushes
263Simla
264reporters
265Dutchman
266descendants
267groupings
268dissociate
269coexist
270Beebe
271Taoism
272Connally
273fetched
274checkpoints
275rusting
276galling
277obliterates
278traitor
279resumes
280analyzable
281terminator
282gritty
283firearm
284minima
285Selfridge
286disable
287witchcraft
288betroth
289Manhattanize
290imprint
291peeked
292swelling
293interrelationships
294riser
295Gandhian
296peacock
297bee
298kanji
299dental
300scarf
301chasm
302insolence
303syndicate
304alike
305imperial
306convulsion
307railway
308validate
309normalizes
310comprehensive
311chewing
312denizen
313schemer
314chronicle
315Kline
316Anatole
317partridges
318brunch
319recruited
320dimensions
321Chicana
322announced
323praised
324employing
325linear
326quagmire
327western
328relishing
329serving
330scheduling
331lore
332eventful
333arteriole
334disentangle
335cured
336Fenton
337avoidable
338drains
339detectably
340husky
341impelling
342undoes
343evened
344squeezes
345destroyer
346rudeness
347beaner
348boorish
349Everhart
350encompass
351mushrooms
352Alison
353externally
354pellagra
355cult
356creek
357Huffman
358Majorca
359governing
360gadfly
361reassigned
362intentness
363craziness
364psychic
365squabbled
366burlesque
367capped
368extracted
369DiMaggio
370exclamation
371subdirectory
372fangs
373buyer
374pithing
375transistorizing
376nonbiodegradable
377dislocate
378monochromatic
379batting
380postcondition
381catalog
382Remus
383devices
384bike
385qualify
386detained
387commended
388civilize
389Elmhurst
390anesthetizing
391deaf
392Brigham
393title
394coarse
395combinations
396grayness
397innumerable
398Caroline
399fatty
400eastbound
401inexperienced
402hoarder
403scotch
404passport
405strategic
406gated
407flog
408Pipestone
409Dar
410Corcoran
411flyers
412competitions
413suppliers
414skips
415institutes
416troop
417connective
418denies
419polka
420observations
421askers
422homeless
423Anna
424subdirectories
425decaying
426outwitting
427Harpy
428crazed
429suffocate
430provers
431technically
432Franklinizations
433considered
434tinnily
435uninterruptedly
436whistled
437automate
438gutting
439surreptitious
440Choctaw
441cooks
442millivolt
443counterpoise
444Gothicism
445feminine
446metaphysically
447sanding
448contributorily
449receivers
450adjourn
451straggled
452druggists
453thanking
454ostrich
455hopelessness
456Eurydice
457excitation
458presumes
459imaginable
460concoct
461peering
462Phelps
463ferociousness
464sentences
465unlocks
466engrossing
467Ruth
468tying
469exclaimers
470synergy
471Huey
472merging
473judges
474Shylock
475Miltonism
476hen
477honeybee
478towers
479dilutes
480numerals
481democracy
482Ibero-
483invalids
484behavior
485accruing
486relics
487rackets
488Fischbein
489phony
490cross
491cleanup
492conspirator
493label
494university
495cleansed
496ballgown
497starlet
498aqueous
499portrayal
500despising
501distort
502palmed
503faced
504silverware
505assessor
506spiders
507artificially
508reminiscence
509Mexican
510obnoxious
511fragile
512apprehensible
513births
514garages
515panty
516anteater
517displacement
518drovers
519patenting
520far
521shrieks
522aligning
523pragmatism
524fevers
525reexamines
526occupancies
527sweats
528modulators
529demand
530Madeira
531Viennese
532chillier
533wildcats
534gentle
535Angles
536accuracies
537toggle
538Mendelssohn
539behaviorally
540Rochford
541mirror
542Modula
543clobbering
544chronography
545Eskimoizeds
546British
547pitfalls
548verify
549scatter
550Aztecan
551acuity
552sinking
553beasts
554Witt
555physicists
556folksong
557strokes
558crowder
559merry
560cadenced
561alimony
562principled
563golfing
564undiscovered
565irritates
566patriots
567rooms
568towering
569displease
570photosensitive
571inking
572gainers
573leaning
574hydrant
575preserve
576blinded
577interactions
578Barry
579whiteness
580pastimes
581Edenization
582Muscat
583assassinated
584labeled
585glacial
586implied
587bibliographies
588Buchanan
589forgivably
590innuendo
591den
592submarines
593mouthful
594expiring
595unfulfilled
596precession
597nullified
598affects
599Cynthia
600Chablis
601betterments
602advertising
603rubies
604southwest
605superstitious
606tabernacle
607silk
608handsomest
609Persian
610analog
611complex
612Taoist
613suspend
614relegated
615awesome
616Bruxelles
617imprecisely
618televise
619braking
620true
621disappointing
622navally
623circus
624beetles
625trumps
626fourscore
627Blackfoots
628Grady
629quiets
630floundered
631profundity
632Garrisonian
633Strauss
634cemented
635contrition
636mutations
637exhibits
638tits
639mate
640arches
641Moll
642ropers
643bombast
644difficultly
645adsorption
646definiteness
647cultivation
648heals
649Heusen
650target
651cited
652congresswoman
653Katherine
654titter
655aspire
656Mardis
657Nadia
658estimating
659stuck
660fifteenth
661Colombo
662survey
663staffing
664obtain
665loaded
666slaughtered
667lights
668circumference
669dull
670weekly
671wetness
672visualized
673Tannenbaum
674moribund
675demultiplex
676lockings
677thugs
678unnerves
679abut
680Chippewa
681stratifications
682signaled
683Italianizes
684algorithmic
685paranoid
686camping
687signifying
688Patrice
689search
690Angeles
691semblance
692taxed
693Beatrice
694retrace
695lockout
696grammatic
697helmsman
698uniform
699hamming
700disobedience
701captivated
702transferals
703cartographer
704aims
705Pakistani
706burglarized
707saucepans
708lacerating
709corny
710megabytes
711chancellor
712bulk
713commits
714meson
715deputies
716northeaster
717dipole
718machining
719therefore
720Telefunken
721salvaging
722Corinthianizes
723restlessly
724bromides
725generalized
726mishaps
727quelling
728spiritual
729beguiles
730Trobriand
731fleeing
732Armour
733chin
734provers
735aeronautic
736voltage
737sash
738anaerobic
739simultaneous
740accumulating
741Medusan
742shouted
743freakish
744index
745commercially
746mistiness
747endpoint
748straight
749flurried
750denotative
751coming
752commencements
753gentleman
754gifted
755Shanghais
756sportswriting
757sloping
758navies
759leaflet
760shooter
761Joplin
762babies
763subdivision
764burstiness
765belted
766assails
767admiring
768swaying
769Goldstine
770fitting
771Norwalk
772weakening
773analogy
774deludes
775cokes
776Clayton
777exhausts
778causality
779sating
780icon
781throttles
782communicants
783dehydrate
784priceless
785publicly
786incidentals
787commonplace
788mumbles
789furthermore
790cautioned
791parametrized
792registration
793sadly
794positioning
795babysitting
796eternal
797hoarder
798congregates
799rains
800workers
801sags
802unplug
803garage
804boulder
805hollowly
806specifics
807Teresa
808Winsett
809convenient
810buckboards
811amenities
812resplendent
813priding
814configurations
815untidiness
816Brice
817sews
818participated
819Simon
820certificates
821Fitzpatrick
822Evanston
823misted
824textures
825save
826count
827rightful
828chaperone
829Lizzy
830clenched
831effortlessly
832accessed
833beaters
834Hornblower
835vests
836indulgences
837infallibly
838unwilling
839excrete
840spools
841crunches
842overestimating
843ineffective
844humiliation
845sophomore
846star
847rifles
848dialysis
849arriving
850indulge
851clockers
852languages
853Antarctica
854percentage
855ceiling
856specification
857regimented
858ciphers
859pictures
860serpents
861allot
862realized
863mayoral
864opaquely
865hostess
866fiftieth
867incorrectly
868decomposition
869stranglings
870mixture
871electroencephalography
872similarities
873charges
874freest
875Greenberg
876tinting
877expelled
878warm
879smoothed
880deductions
881Romano
882bitterroot
883corset
884securing
885environing
886cute
887Crays
888heiress
889inform
890avenge
891universals
892Kinsey
893ravines
894bestseller
895equilibrium
896extents
897relatively
898pressure
899critiques
900befouled
901rightfully
902mechanizing
903Latinizes
904timesharing
905Aden
906embassies
907males
908shapelessly
909genres
910mastering
911Newtonian
912finishers
913abates
914teem
915kiting
916stodgy
917scalps
918feed
919guitars
920airships
921store
922denounces
923Pyle
924Saxony
925serializations
926Peruvian
927taxonomically
928kingdom
929stint
930Sault
931faithful
932Ganymede
933tidiness
934gainful
935contrary
936Tipperary
937tropics
938theorizers
939renew
940already
941terminal
942Hegelian
943hypothesizer
944warningly
945journalizing
946nested
947Lars
948saplings
949foothill
950labeled
951imperiously
952reporters
953furnishings
954precipitable
955discounts
956excises
957Stalin
958despot
959ripeness
960Arabia
961unruly
962mournfulness
963boom
964slaughter
965Sabine
966handy
967rural
968organizer
969shipyard
970civics
971inaccuracy
972rules
973juveniles
974comprised
975investigations
976stabilizes
977seminaries
978Hunter
979sporty
980test
981weasels
982CERN
983tempering
984afore
985Galatean
986techniques
987error
988veranda
989severely
990Cassites
991forthcoming
992guides
993vanish
994lied
995sawtooth
996fated
997gradually
998widens
999preclude
1000Jobrel
1001hooker
1002rainstorm
1003disconnects
1004cruelty
1005exponentials
1006affective
1007arteries
1008Crosby
1009acquaint
1010evenhandedly
1011percentage
1012disobedience
1013humility
1014gleaning
1015petted
1016bloater
1017minion
1018marginal
1019apiary
1020measures
1021precaution
1022repelled
1023primary
1024coverings
1025Artemia
1026navigate
1027spatial
1028Gurkha
1029meanwhile
1030Melinda
1031Butterfield
1032Aldrich
1033previewing
1034glut
1035unaffected
1036inmate
1037mineral
1038impending
1039meditation
1040ideas
1041miniaturizes
1042lewdly
1043title
1044youthfulness
1045creak
1046Chippewa
1047clamored
1048freezes
1049forgivably
1050reduce
1051McGovern
1052Nazis
1053epistle
1054socializes
1055conceptions
1056Kevin
1057uncovering
1058chews
1059appendixes
1060appendixes
1061appendixes
1062appendixes
1063appendixes
1064appendixes
1065raining
1066infest
1067compartment
1068minting
1069ducks
1070roped
1071waltz
1072Lillian
1073repressions
1074chillingly
1075noncritical
1076lithograph
1077spongers
1078parenthood
1079posed
1080instruments
1081filial
1082fixedly
1083relives
1084Pandora
1085watering
1086ungrateful
1087secures
1088chastisers
1089icon
1090reuniting
1091imagining
1092abiding
1093omnisciently
1094Britannic
1095scholastics
1096mechanics
1097humidly
1098masterpiece
1099however
1100Mendelian
1101jarred
1102scolds
1103infatuate
1104willed
1105joyfully
1106Microsoft
1107fibrosities
1108Baltimorean
1109equestrian
1110Goodrich
1111apish
1112Adlerian
1113Tropez
1114nouns
1115distracting
1116mutton
1117bridgeable
1118stickers
1119transcontinental
1120amateurish
1121Gandhian
1122stratified
1123chamberlains
1124creditably
1125philosophic
1126ores
1127Carleton
1128tape
1129afloat
1130goodness
1131welcoming
1132Pinsky
1133halting
1134bibliography
1135decoding
1136variance
1137allowed
1138dire
1139dub
1140poisoning
1141Iraqis
1142heaving
1143population
1144bomb
1145Majorca
1146Gershwins
1147explorers
1148libretto
1149occurred
1150Lagos
1151rats
1152bankruptcies
1153crying
1154unexpected
1155accessed
1156colorful
1157versatility
1158cosy
1159Darius
1160mastering
1161Asiaticizations
1162offerers
1163uncles
1164sleepwalk
1165Ernestine
1166checksumming
1167stopped
1168sicker
1169Italianization
1170alphabetic
1171pharmaceutic
1172creator
1173chess
1174charcoal
1175Epiphany
1176bulldozes
1177Pygmalion
1178caressing
1179Palestine
1180regimented
1181scars
1182realest
1183diffusing
1184clubroom
1185Blythe
1186ahead
1187reviver
1188retransmitting
1189landslide
1190Eiffel
1191absentee
1192aye
1193forked
1194Peruvianizes
1195clerked
1196tutor
1197boulevard
1198shuttered
1199quotes
1200Caltech
1201Mossberg
1202kept
1203roundly
1204features
1205imaginable
1206controller
1207racial
1208uprisings
1209narrowed
1210cannot
1211vest
1212famine
1213sugars
1214exterminated
1215belays
1216Hodges
1217translatable
1218duality
1219recording
1220rouses
1221poison
1222attitude
1223dusted
1224encompasses
1225presentation
1226Kantian
1227imprecision
1228saving
1229maternal
1230hewed
1231kerosene
1232Cubans
1233photographers
1234nymph
1235bedlam
1236north
1237Schoenberg
1238botany
1239curs
1240solidification
1241inheritresses
1242stiller
1243t1
1244suite
1245ransomer
1246Willy
1247Rena
1248Seattle
1249relaxes
1250exclaim
1251exclaim
1252implicated
1253distinguish
1254assayed
1255homeowner
1256and
1257stealth
1258coinciding
1259founder
1260environing
1261jewelry
1262lemons
1263brokenness
1264bedpost
1265assurers
1266annoyers
1267affixed
1268warbling
1269seriously
1270boasted
1271Chantilly
1272Iranizes
1273violinist
1274extramarital
1275spates
1276cloakroom
1277gazer
1278hand
1279tucked
1280gems
1281clinker
1282refiner
1283callus
1284leopards
1285comfortingly
1286generically
1287getters
1288sexually
1289spear
1290serums
1291Italianization
1292attendants
1293spies
1294Anthony
1295planar
1296cupped
1297cleanser
1298commuters
1299honeysuckle
1300orphanage
1301skies
1302crushers
1303Puritan
1304squeezer
1305bruises
1306bonfire
1307Colombo
1308nondecreasing
1309UPDATE t2 SET fld3="bar" WHERE fld3="s%";
1310select fld3 from t2;
1311fld3
1312Omaha
1313breaking
1314Romans
1315intercepted
1316bewilderingly
1317astound
1318admonishing
1319sumac
1320flanking
1321combed
1322subjective
1323scatterbrain
1324Eulerian
1325dubbed
1326Kane
1327overlay
1328perturb
1329goblins
1330annihilates
1331Wotan
1332snatching
1333concludes
1334laterally
1335yelped
1336grazing
1337Baird
1338celery
1339misunderstander
1340handgun
1341foldout
1342mystic
1343succumbed
1344Nabisco
1345fingerings
1346aging
1347afield
1348ammonium
1349boat
1350intelligibility
1351Augustine
1352teethe
1353dreaded
1354scholastics
1355audiology
1356wallet
1357parters
1358eschew
1359quitter
1360neat
1361Steinberg
1362jarring
1363tinily
1364balled
1365persist
1366attainments
1367fanatic
1368measures
1369rightfulness
1370capably
1371impulsive
1372starlet
1373terminators
1374untying
1375announces
1376featherweight
1377pessimist
1378daughter
1379decliner
1380lawgiver
1381stated
1382readable
1383attrition
1384cascade
1385motors
1386interrogate
1387pests
1388stairway
1389dopers
1390testicle
1391Parsifal
1392leavings
1393postulation
1394squeaking
1395contrasted
1396leftover
1397whiteners
1398erases
1399Punjab
1400Merritt
1401Quixotism
1402sweetish
1403dogging
1404scornfully
1405bellow
1406bills
1407cupboard
1408sureties
1409puddings
1410tapestry
1411fetters
1412bivalves
1413incurring
1414Adolph
1415pithed
1416emergency
1417Miles
1418trimmings
1419tragedies
1420skulking
1421flint
1422flopping
1423relaxing
1424offload
1425suites
1426lists
1427animized
1428multilayer
1429standardizes
1430Judas
1431vacuuming
1432dentally
1433humanness
1434inch
1435Weissmuller
1436irresponsibly
1437luckily
1438culled
1439medical
1440bloodbath
1441subschema
1442animals
1443Micronesia
1444repetitions
1445Antares
1446ventilate
1447pityingly
1448interdependent
1449Graves
1450neonatal
1451scribbled
1452chafe
1453honoring
1454realtor
1455elite
1456funereal
1457abrogating
1458sorters
1459Conley
1460lectured
1461Abraham
1462Hawaii
1463cage
1464hushes
1465Simla
1466reporters
1467Dutchman
1468descendants
1469groupings
1470dissociate
1471coexist
1472Beebe
1473Taoism
1474Connally
1475fetched
1476checkpoints
1477rusting
1478galling
1479obliterates
1480traitor
1481resumes
1482analyzable
1483terminator
1484gritty
1485firearm
1486minima
1487Selfridge
1488disable
1489witchcraft
1490betroth
1491Manhattanize
1492imprint
1493peeked
1494swelling
1495interrelationships
1496riser
1497Gandhian
1498peacock
1499bee
1500kanji
1501dental
1502scarf
1503chasm
1504insolence
1505syndicate
1506alike
1507imperial
1508convulsion
1509railway
1510validate
1511normalizes
1512comprehensive
1513chewing
1514denizen
1515schemer
1516chronicle
1517Kline
1518Anatole
1519partridges
1520brunch
1521recruited
1522dimensions
1523Chicana
1524announced
1525praised
1526employing
1527linear
1528quagmire
1529western
1530relishing
1531serving
1532scheduling
1533lore
1534eventful
1535arteriole
1536disentangle
1537cured
1538Fenton
1539avoidable
1540drains
1541detectably
1542husky
1543impelling
1544undoes
1545evened
1546squeezes
1547destroyer
1548rudeness
1549beaner
1550boorish
1551Everhart
1552encompass
1553mushrooms
1554Alison
1555externally
1556pellagra
1557cult
1558creek
1559Huffman
1560Majorca
1561governing
1562gadfly
1563reassigned
1564intentness
1565craziness
1566psychic
1567squabbled
1568burlesque
1569capped
1570extracted
1571DiMaggio
1572exclamation
1573subdirectory
1574fangs
1575buyer
1576pithing
1577transistorizing
1578nonbiodegradable
1579dislocate
1580monochromatic
1581batting
1582postcondition
1583catalog
1584Remus
1585devices
1586bike
1587qualify
1588detained
1589commended
1590civilize
1591Elmhurst
1592anesthetizing
1593deaf
1594Brigham
1595title
1596coarse
1597combinations
1598grayness
1599innumerable
1600Caroline
1601fatty
1602eastbound
1603inexperienced
1604hoarder
1605scotch
1606passport
1607strategic
1608gated
1609flog
1610Pipestone
1611Dar
1612Corcoran
1613flyers
1614competitions
1615suppliers
1616skips
1617institutes
1618troop
1619connective
1620denies
1621polka
1622observations
1623askers
1624homeless
1625Anna
1626subdirectories
1627decaying
1628outwitting
1629Harpy
1630crazed
1631suffocate
1632provers
1633technically
1634Franklinizations
1635considered
1636tinnily
1637uninterruptedly
1638whistled
1639automate
1640gutting
1641surreptitious
1642Choctaw
1643cooks
1644millivolt
1645counterpoise
1646Gothicism
1647feminine
1648metaphysically
1649sanding
1650contributorily
1651receivers
1652adjourn
1653straggled
1654druggists
1655thanking
1656ostrich
1657hopelessness
1658Eurydice
1659excitation
1660presumes
1661imaginable
1662concoct
1663peering
1664Phelps
1665ferociousness
1666sentences
1667unlocks
1668engrossing
1669Ruth
1670tying
1671exclaimers
1672synergy
1673Huey
1674merging
1675judges
1676Shylock
1677Miltonism
1678hen
1679honeybee
1680towers
1681dilutes
1682numerals
1683democracy
1684Ibero-
1685invalids
1686behavior
1687accruing
1688relics
1689rackets
1690Fischbein
1691phony
1692cross
1693cleanup
1694conspirator
1695label
1696university
1697cleansed
1698ballgown
1699starlet
1700aqueous
1701portrayal
1702despising
1703distort
1704palmed
1705faced
1706silverware
1707assessor
1708spiders
1709artificially
1710reminiscence
1711Mexican
1712obnoxious
1713fragile
1714apprehensible
1715births
1716garages
1717panty
1718anteater
1719displacement
1720drovers
1721patenting
1722far
1723shrieks
1724aligning
1725pragmatism
1726fevers
1727reexamines
1728occupancies
1729sweats
1730modulators
1731demand
1732Madeira
1733Viennese
1734chillier
1735wildcats
1736gentle
1737Angles
1738accuracies
1739toggle
1740Mendelssohn
1741behaviorally
1742Rochford
1743mirror
1744Modula
1745clobbering
1746chronography
1747Eskimoizeds
1748British
1749pitfalls
1750verify
1751scatter
1752Aztecan
1753acuity
1754sinking
1755beasts
1756Witt
1757physicists
1758folksong
1759strokes
1760crowder
1761merry
1762cadenced
1763alimony
1764principled
1765golfing
1766undiscovered
1767irritates
1768patriots
1769rooms
1770towering
1771displease
1772photosensitive
1773inking
1774gainers
1775leaning
1776hydrant
1777preserve
1778blinded
1779interactions
1780Barry
1781whiteness
1782pastimes
1783Edenization
1784Muscat
1785assassinated
1786labeled
1787glacial
1788implied
1789bibliographies
1790Buchanan
1791forgivably
1792innuendo
1793den
1794submarines
1795mouthful
1796expiring
1797unfulfilled
1798precession
1799nullified
1800affects
1801Cynthia
1802Chablis
1803betterments
1804advertising
1805rubies
1806southwest
1807superstitious
1808tabernacle
1809silk
1810handsomest
1811Persian
1812analog
1813complex
1814Taoist
1815suspend
1816relegated
1817awesome
1818Bruxelles
1819imprecisely
1820televise
1821braking
1822true
1823disappointing
1824navally
1825circus
1826beetles
1827trumps
1828fourscore
1829Blackfoots
1830Grady
1831quiets
1832floundered
1833profundity
1834Garrisonian
1835Strauss
1836cemented
1837contrition
1838mutations
1839exhibits
1840tits
1841mate
1842arches
1843Moll
1844ropers
1845bombast
1846difficultly
1847adsorption
1848definiteness
1849cultivation
1850heals
1851Heusen
1852target
1853cited
1854congresswoman
1855Katherine
1856titter
1857aspire
1858Mardis
1859Nadia
1860estimating
1861stuck
1862fifteenth
1863Colombo
1864survey
1865staffing
1866obtain
1867loaded
1868slaughtered
1869lights
1870circumference
1871dull
1872weekly
1873wetness
1874visualized
1875Tannenbaum
1876moribund
1877demultiplex
1878lockings
1879thugs
1880unnerves
1881abut
1882Chippewa
1883stratifications
1884signaled
1885Italianizes
1886algorithmic
1887paranoid
1888camping
1889signifying
1890Patrice
1891search
1892Angeles
1893semblance
1894taxed
1895Beatrice
1896retrace
1897lockout
1898grammatic
1899helmsman
1900uniform
1901hamming
1902disobedience
1903captivated
1904transferals
1905cartographer
1906aims
1907Pakistani
1908burglarized
1909saucepans
1910lacerating
1911corny
1912megabytes
1913chancellor
1914bulk
1915commits
1916meson
1917deputies
1918northeaster
1919dipole
1920machining
1921therefore
1922Telefunken
1923salvaging
1924Corinthianizes
1925restlessly
1926bromides
1927generalized
1928mishaps
1929quelling
1930spiritual
1931beguiles
1932Trobriand
1933fleeing
1934Armour
1935chin
1936provers
1937aeronautic
1938voltage
1939sash
1940anaerobic
1941simultaneous
1942accumulating
1943Medusan
1944shouted
1945freakish
1946index
1947commercially
1948mistiness
1949endpoint
1950straight
1951flurried
1952denotative
1953coming
1954commencements
1955gentleman
1956gifted
1957Shanghais
1958sportswriting
1959sloping
1960navies
1961leaflet
1962shooter
1963Joplin
1964babies
1965subdivision
1966burstiness
1967belted
1968assails
1969admiring
1970swaying
1971Goldstine
1972fitting
1973Norwalk
1974weakening
1975analogy
1976deludes
1977cokes
1978Clayton
1979exhausts
1980causality
1981sating
1982icon
1983throttles
1984communicants
1985dehydrate
1986priceless
1987publicly
1988incidentals
1989commonplace
1990mumbles
1991furthermore
1992cautioned
1993parametrized
1994registration
1995sadly
1996positioning
1997babysitting
1998eternal
1999hoarder
2000congregates
2001rains
2002workers
2003sags
2004unplug
2005garage
2006boulder
2007hollowly
2008specifics
2009Teresa
2010Winsett
2011convenient
2012buckboards
2013amenities
2014resplendent
2015priding
2016configurations
2017untidiness
2018Brice
2019sews
2020participated
2021Simon
2022certificates
2023Fitzpatrick
2024Evanston
2025misted
2026textures
2027save
2028count
2029rightful
2030chaperone
2031Lizzy
2032clenched
2033effortlessly
2034accessed
2035beaters
2036Hornblower
2037vests
2038indulgences
2039infallibly
2040unwilling
2041excrete
2042spools
2043crunches
2044overestimating
2045ineffective
2046humiliation
2047sophomore
2048star
2049rifles
2050dialysis
2051arriving
2052indulge
2053clockers
2054languages
2055Antarctica
2056percentage
2057ceiling
2058specification
2059regimented
2060ciphers
2061pictures
2062serpents
2063allot
2064realized
2065mayoral
2066opaquely
2067hostess
2068fiftieth
2069incorrectly
2070decomposition
2071stranglings
2072mixture
2073electroencephalography
2074similarities
2075charges
2076freest
2077Greenberg
2078tinting
2079expelled
2080warm
2081smoothed
2082deductions
2083Romano
2084bitterroot
2085corset
2086securing
2087environing
2088cute
2089Crays
2090heiress
2091inform
2092avenge
2093universals
2094Kinsey
2095ravines
2096bestseller
2097equilibrium
2098extents
2099relatively
2100pressure
2101critiques
2102befouled
2103rightfully
2104mechanizing
2105Latinizes
2106timesharing
2107Aden
2108embassies
2109males
2110shapelessly
2111genres
2112mastering
2113Newtonian
2114finishers
2115abates
2116teem
2117kiting
2118stodgy
2119scalps
2120feed
2121guitars
2122airships
2123store
2124denounces
2125Pyle
2126Saxony
2127serializations
2128Peruvian
2129taxonomically
2130kingdom
2131stint
2132Sault
2133faithful
2134Ganymede
2135tidiness
2136gainful
2137contrary
2138Tipperary
2139tropics
2140theorizers
2141renew
2142already
2143terminal
2144Hegelian
2145hypothesizer
2146warningly
The diff has been truncated for viewing.