summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/innodb_bug46000.result
blob: 86e8766fb8f7a1e3d34d2f62a882752b5889af37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
create table bug46000(`id` int,key `GEN_CLUST_INDEX`(`id`))engine=innodb;
ERROR 42000: Incorrect index name 'GEN_CLUST_INDEX'
create table bug46000(`id` int, key `GEN_clust_INDEX`(`id`))engine=innodb;
ERROR 42000: Incorrect index name 'GEN_CLUST_INDEX'
show warnings;
Level	Code	Message
Warning	1280	Cannot Create Index with name 'GEN_CLUST_INDEX'. The name is reserved for the system default primary index.
Error	1280	Incorrect index name 'GEN_CLUST_INDEX'
Warning	1030	Got error 124 "Wrong index given to a function" from storage engine InnoDB
create table bug46000(id int) engine=innodb;
create index GEN_CLUST_INDEX on bug46000(id);
ERROR 42000: Incorrect index name 'GEN_CLUST_INDEX'
show warnings;
Level	Code	Message
Warning	1280	Cannot Create Index with name 'GEN_CLUST_INDEX'. The name is reserved for the system default primary index.
Error	1280	Incorrect index name 'GEN_CLUST_INDEX'
create index idx on bug46000(id);
drop table bug46000;