Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d862d3b6
Commit
d862d3b6
authored
Mar 29, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.1-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint
parents
095a80ee
0b72b7f0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
760 additions
and
46 deletions
+760
-46
myisam/mi_open.c
myisam/mi_open.c
+1
-1
mysql-test/r/create.result
mysql-test/r/create.result
+517
-0
mysql-test/r/date_formats.result
mysql-test/r/date_formats.result
+18
-39
mysql-test/t/create.test
mysql-test/t/create.test
+211
-1
sql-common/my_time.c
sql-common/my_time.c
+1
-4
sql/table.cc
sql/table.cc
+12
-1
No files found.
myisam/mi_open.c
View file @
d862d3b6
...
...
@@ -219,7 +219,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
key_parts
+=
fulltext_keys
*
FT_SEGS
;
if
(
share
->
base
.
max_key_length
>
MI_MAX_KEY_BUFF
||
keys
>
MI_MAX_KEY
||
key_parts
>
=
MI_MAX_KEY
*
MI_MAX_KEY_SEG
)
key_parts
>
MI_MAX_KEY
*
MI_MAX_KEY_SEG
)
{
DBUG_PRINT
(
"error"
,(
"Wrong key info: Max_key_length: %d keys: %d key_parts: %d"
,
share
->
base
.
max_key_length
,
keys
,
key_parts
));
my_errno
=
HA_ERR_UNSUPPORTED
;
...
...
mysql-test/r/create.result
View file @
d862d3b6
...
...
@@ -701,3 +701,520 @@ t2 CREATE TABLE `t2` (
drop table t1, t2;
create table t1(a set("a,b","c,d") not null);
ERROR HY000: Illegal set 'a,b' value found during parsing
create table t1 (
c1 char(10), c2 char(10), c3 char(10), c4 char(10),
c5 char(10), c6 char(10), c7 char(10), c8 char(10),
c9 char(10), c10 char(10), c11 char(10), c12 char(10),
c13 char(10), c14 char(10), c15 char(10), c16 char(10),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`)
);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` char(10) default NULL,
`c2` char(10) default NULL,
`c3` char(10) default NULL,
`c4` char(10) default NULL,
`c5` char(10) default NULL,
`c6` char(10) default NULL,
`c7` char(10) default NULL,
`c8` char(10) default NULL,
`c9` char(10) default NULL,
`c10` char(10) default NULL,
`c11` char(10) default NULL,
`c12` char(10) default NULL,
`c13` char(10) default NULL,
`c14` char(10) default NULL,
`c15` char(10) default NULL,
`c16` char(10) default NULL,
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
flush tables;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` char(10) default NULL,
`c2` char(10) default NULL,
`c3` char(10) default NULL,
`c4` char(10) default NULL,
`c5` char(10) default NULL,
`c6` char(10) default NULL,
`c7` char(10) default NULL,
`c8` char(10) default NULL,
`c9` char(10) default NULL,
`c10` char(10) default NULL,
`c11` char(10) default NULL,
`c12` char(10) default NULL,
`c13` char(10) default NULL,
`c14` char(10) default NULL,
`c15` char(10) default NULL,
`c16` char(10) default NULL,
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 (
c1 char(10), c2 char(10), c3 char(10), c4 char(10),
c5 char(10), c6 char(10), c7 char(10), c8 char(10),
c9 char(10), c10 char(10), c11 char(10), c12 char(10),
c13 char(10), c14 char(10), c15 char(10), c16 char(10)
);
alter table t1
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`),
add 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`);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` char(10) default NULL,
`c2` char(10) default NULL,
`c3` char(10) default NULL,
`c4` char(10) default NULL,
`c5` char(10) default NULL,
`c6` char(10) default NULL,
`c7` char(10) default NULL,
`c8` char(10) default NULL,
`c9` char(10) default NULL,
`c10` char(10) default NULL,
`c11` char(10) default NULL,
`c12` char(10) default NULL,
`c13` char(10) default NULL,
`c14` char(10) default NULL,
`c15` char(10) default NULL,
`c16` char(10) default NULL,
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
flush tables;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` char(10) default NULL,
`c2` char(10) default NULL,
`c3` char(10) default NULL,
`c4` char(10) default NULL,
`c5` char(10) default NULL,
`c6` char(10) default NULL,
`c7` char(10) default NULL,
`c8` char(10) default NULL,
`c9` char(10) default NULL,
`c10` char(10) default NULL,
`c11` char(10) default NULL,
`c12` char(10) default NULL,
`c13` char(10) default NULL,
`c14` char(10) default NULL,
`c15` char(10) default NULL,
`c16` char(10) default NULL,
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`),
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`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
alter table t1 add key a065_long_123456789_123456789_123456789_123456789_123456789_1234 (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`);
ERROR 42000: Too many keys specified; max 64 keys allowed
drop table t1;
create table t1 (
c1 char(10), c2 char(10), c3 char(10), c4 char(10),
c5 char(10), c6 char(10), c7 char(10), c8 char(10),
c9 char(10), c10 char(10), c11 char(10), c12 char(10),
c13 char(10), c14 char(10), c15 char(10), c16 char(10),
c17 char(10)
);
alter table t1 add key i1 (`c1`,`c2`,`c3`,`c4`,`c5`,`c6`,`c7`,`c8`,`c9`,`c10`,`c11`,`c12`,`c13`,`c14`,`c15`,`c16`, `c17`);
ERROR 42000: Too many key parts specified; max 16 parts allowed
alter table t1 add key a001_long_123456789_123456789_123456789_123456789_123456789_12345 (`c1`);
ERROR 42000: Identifier name 'a001_long_123456789_123456789_123456789_123456789_123456789_12345' is too long
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` char(10) default NULL,
`c2` char(10) default NULL,
`c3` char(10) default NULL,
`c4` char(10) default NULL,
`c5` char(10) default NULL,
`c6` char(10) default NULL,
`c7` char(10) default NULL,
`c8` char(10) default NULL,
`c9` char(10) default NULL,
`c10` char(10) default NULL,
`c11` char(10) default NULL,
`c12` char(10) default NULL,
`c13` char(10) default NULL,
`c14` char(10) default NULL,
`c15` char(10) default NULL,
`c16` char(10) default NULL,
`c17` char(10) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
End of 4.1 tests
mysql-test/r/date_formats.result
View file @
d862d3b6
...
...
@@ -181,12 +181,12 @@ date format datetime
2003-01-02 02:11:12.12345AM %Y-%m-%d %h:%i:%S.%f %p 2003-01-02 02:11:12.123450
2003-01-02 12:11:12.12345 am %Y-%m-%d %h:%i:%S.%f%p 2003-01-02 00:11:12.123450
2003-01-02 11:11:12Pm %Y-%m-%d %h:%i:%S%p 2003-01-02 23:11:12
10:20:10 %H:%i:%s 0000-00-00
00:00:0
0
10:20:10 %h:%i:%s.%f 0000-00-00
00:00:0
0
10:20:10 %T 0000-00-00
00:00:0
0
10:20:10AM %h:%i:%s%p 0000-00-00
00:00:0
0
10:20:10AM %r 0000-00-00
00:00:0
0
10:20:10.44AM %h:%i:%s.%f%p 0000-00-00
00:00:
00
10:20:10 %H:%i:%s 0000-00-00
10:20:1
0
10:20:10 %h:%i:%s.%f 0000-00-00
10:20:1
0
10:20:10 %T 0000-00-00
10:20:1
0
10:20:10AM %h:%i:%s%p 0000-00-00
10:20:1
0
10:20:10AM %r 0000-00-00
10:20:1
0
10:20:10.44AM %h:%i:%s.%f%p 0000-00-00
10:20:10.4400
00
15-01-2001 12:59:58 %d-%m-%Y %H:%i:%S 2001-01-15 12:59:58
15 September 2001 %d %M %Y 2001-09-15 00:00:00
15 SEPTEMB 2001 %d %M %Y 2001-09-15 00:00:00
...
...
@@ -203,13 +203,6 @@ Tuesday 52 2001 %W %V %X 2002-01-01 00:00:00
15-01-2001 %d-%m-%Y %H:%i:%S 2001-01-15 00:00:00
15-01-20 %d-%m-%y 2020-01-15 00:00:00
15-2001-1 %d-%Y-%c 2001-01-15 00:00:00
Warnings:
Warning 1292 Truncated incorrect datetime value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect datetime value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect datetime value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect datetime value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect datetime value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect datetime value: '0000-00-00 10:20:10.440000'
select date,format,DATE(str_to_date(date, format)) as date2 from t1;
date format date2
2003-01-02 10:11:12 %Y-%m-%d %H:%i:%S 2003-01-02
...
...
@@ -250,12 +243,12 @@ date format time
2003-01-02 02:11:12.12345AM %Y-%m-%d %h:%i:%S.%f %p 02:11:12.123450
2003-01-02 12:11:12.12345 am %Y-%m-%d %h:%i:%S.%f%p 00:11:12.123450
2003-01-02 11:11:12Pm %Y-%m-%d %h:%i:%S%p 23:11:12
10:20:10 %H:%i:%s
NULL
10:20:10 %h:%i:%s.%f
NULL
10:20:10 %T
NULL
10:20:10AM %h:%i:%s%p
NULL
10:20:10AM %r
NULL
10:20:10.44AM %h:%i:%s.%f%p
NULL
10:20:10 %H:%i:%s
10:20:10
10:20:10 %h:%i:%s.%f
10:20:10
10:20:10 %T
10:20:10
10:20:10AM %h:%i:%s%p
10:20:10
10:20:10AM %r
10:20:10
10:20:10.44AM %h:%i:%s.%f%p
10:20:10.440000
15-01-2001 12:59:58 %d-%m-%Y %H:%i:%S 12:59:58
15 September 2001 %d %M %Y 00:00:00
15 SEPTEMB 2001 %d %M %Y 00:00:00
...
...
@@ -272,13 +265,6 @@ Tuesday 52 2001 %W %V %X 00:00:00
15-01-2001 %d-%m-%Y %H:%i:%S 00:00:00
15-01-20 %d-%m-%y 00:00:00
15-2001-1 %d-%Y-%c 00:00:00
Warnings:
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10.440000'
select date,format,concat(TIME(str_to_date(date, format))) as time2 from t1;
date format time2
2003-01-02 10:11:12 %Y-%m-%d %H:%i:%S 10:11:12
...
...
@@ -288,12 +274,12 @@ date format time2
2003-01-02 02:11:12.12345AM %Y-%m-%d %h:%i:%S.%f %p 02:11:12.123450
2003-01-02 12:11:12.12345 am %Y-%m-%d %h:%i:%S.%f%p 00:11:12.123450
2003-01-02 11:11:12Pm %Y-%m-%d %h:%i:%S%p 23:11:12
10:20:10 %H:%i:%s
NULL
10:20:10 %h:%i:%s.%f
NULL
10:20:10 %T
NULL
10:20:10AM %h:%i:%s%p
NULL
10:20:10AM %r
NULL
10:20:10.44AM %h:%i:%s.%f%p
NULL
10:20:10 %H:%i:%s
10:20:10
10:20:10 %h:%i:%s.%f
10:20:10
10:20:10 %T
10:20:10
10:20:10AM %h:%i:%s%p
10:20:10
10:20:10AM %r
10:20:10
10:20:10.44AM %h:%i:%s.%f%p
10:20:10.440000
15-01-2001 12:59:58 %d-%m-%Y %H:%i:%S 12:59:58
15 September 2001 %d %M %Y 00:00:00
15 SEPTEMB 2001 %d %M %Y 00:00:00
...
...
@@ -310,13 +296,6 @@ Tuesday 52 2001 %W %V %X 00:00:00
15-01-2001 %d-%m-%Y %H:%i:%S 00:00:00
15-01-20 %d-%m-%y 00:00:00
15-2001-1 %d-%Y-%c 00:00:00
Warnings:
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10'
Warning 1292 Truncated incorrect time value: '0000-00-00 10:20:10.440000'
select concat('',str_to_date('8:11:2.123456 03-01-02','%H:%i:%S.%f %y-%m-%d'));
concat('',str_to_date('8:11:2.123456 03-01-02','%H:%i:%S.%f %y-%m-%d'))
2003-01-02 08:11:02.123456
...
...
mysql-test/t/create.test
View file @
d862d3b6
...
...
@@ -609,4 +609,214 @@ drop table t1, t2;
--
error
1105
create
table
t1
(
a
set
(
"a,b"
,
"c,d"
)
not
null
);
# End of 4.1 tests
#
# Bug #26642: create index corrupts table definition in .frm
#
# Problem with creating keys with maximum key-parts and maximum name length
# This test is made for a mysql server supporting names up to 64 bytes
# and a maximum of 16 key segements per Key
#
create
table
t1
(
c1
char
(
10
),
c2
char
(
10
),
c3
char
(
10
),
c4
char
(
10
),
c5
char
(
10
),
c6
char
(
10
),
c7
char
(
10
),
c8
char
(
10
),
c9
char
(
10
),
c10
char
(
10
),
c11
char
(
10
),
c12
char
(
10
),
c13
char
(
10
),
c14
char
(
10
),
c15
char
(
10
),
c16
char
(
10
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
),
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`
)
);
# Check that the table is not corrupted
show
create
table
t1
;
flush
tables
;
show
create
table
t1
;
# Repeat test using ALTER to add indexes
drop
table
t1
;
create
table
t1
(
c1
char
(
10
),
c2
char
(
10
),
c3
char
(
10
),
c4
char
(
10
),
c5
char
(
10
),
c6
char
(
10
),
c7
char
(
10
),
c8
char
(
10
),
c9
char
(
10
),
c10
char
(
10
),
c11
char
(
10
),
c12
char
(
10
),
c13
char
(
10
),
c14
char
(
10
),
c15
char
(
10
),
c16
char
(
10
)
);
alter
table
t1
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
),
add
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`
);
show
create
table
t1
;
flush
tables
;
show
create
table
t1
;
# Test the server limits; if any of these pass, all above tests need
# to be rewritten to hit the limit
#
# Ensure limit is really 64 keys
--
error
1069
alter
table
t1
add
key
a065_long_123456789_123456789_123456789_123456789_123456789_1234
(
`c1`
,
`c2`
,
`c3`
,
`c4`
,
`c5`
,
`c6`
,
`c7`
,
`c8`
,
`c9`
,
`c10`
,
`c11`
,
`c12`
,
`c13`
,
`c14`
,
`c15`
,
`c16`
);
drop
table
t1
;
# Ensure limit is really 16 key parts per key
create
table
t1
(
c1
char
(
10
),
c2
char
(
10
),
c3
char
(
10
),
c4
char
(
10
),
c5
char
(
10
),
c6
char
(
10
),
c7
char
(
10
),
c8
char
(
10
),
c9
char
(
10
),
c10
char
(
10
),
c11
char
(
10
),
c12
char
(
10
),
c13
char
(
10
),
c14
char
(
10
),
c15
char
(
10
),
c16
char
(
10
),
c17
char
(
10
)
);
# Get error for max key parts
--
error
1070
alter
table
t1
add
key
i1
(
`c1`
,
`c2`
,
`c3`
,
`c4`
,
`c5`
,
`c6`
,
`c7`
,
`c8`
,
`c9`
,
`c10`
,
`c11`
,
`c12`
,
`c13`
,
`c14`
,
`c15`
,
`c16`
,
`c17`
);
# Get error for max key-name length
--
error
1059
alter
table
t1
add
key
a001_long_123456789_123456789_123456789_123456789_123456789_12345
(
`c1`
);
show
create
table
t1
;
drop
table
t1
;
--
echo
End
of
4.1
tests
sql-common/my_time.c
View file @
d862d3b6
...
...
@@ -350,10 +350,7 @@ str_to_datetime(const char *str, uint length, MYSQL_TIME *l_time,
l_time
->
year
>
9999
||
l_time
->
month
>
12
||
l_time
->
day
>
31
||
l_time
->
hour
>
23
||
l_time
->
minute
>
59
||
l_time
->
second
>
59
||
(
!
(
flags
&
TIME_FUZZY_DATE
)
&&
(
l_time
->
month
==
0
||
l_time
->
day
==
0
))
||
(
l_time
->
year
==
0
&&
l_time
->
month
==
0
&&
l_time
->
day
==
0
&&
(
l_time
->
hour
!=
0
||
l_time
->
minute
!=
0
||
l_time
->
second
!=
0
)))
(
!
(
flags
&
TIME_FUZZY_DATE
)
&&
(
l_time
->
month
==
0
||
l_time
->
day
==
0
)))
{
/* Only give warning for a zero date if there is some garbage after */
if
(
!
not_zero_date
)
/* If zero date */
...
...
sql/table.cc
View file @
d862d3b6
...
...
@@ -1283,7 +1283,18 @@ File create_frm(register my_string name, const char *db, const char *table,
fileinfo
[
3
]
=
(
uchar
)
ha_checktype
(
create_info
->
db_type
);
fileinfo
[
4
]
=
1
;
int2store
(
fileinfo
+
6
,
IO_SIZE
);
/* Next block starts here */
key_length
=
keys
*
(
7
+
NAME_LEN
+
MAX_REF_PARTS
*
9
)
+
16
;
/*
For each key (see unireg.cc::pack_keys()):
8 bytes for the key header
9 bytes for each key-part (MAX_REF_PARTS)
NAME_LEN bytes for the name
1 byte for the NAMES_SEP_CHAR (before the name)
For all keys:
6 bytes for the header
1 byte for the NAMES_SEP_CHAR (after the last name)
9 extra bytes (padding for safety? alignment?)
*/
key_length
=
keys
*
(
8
+
MAX_REF_PARTS
*
9
+
NAME_LEN
+
1
)
+
16
;
length
=
(
ulong
)
next_io_size
((
ulong
)
(
IO_SIZE
+
key_length
+
reclength
));
int4store
(
fileinfo
+
10
,
length
);
if
(
key_length
>
0xffff
)
key_length
=
0xffff
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment