summaryrefslogtreecommitdiff
path: root/mysql-test/r/innodb_bug46000.result
blob: ccf7cc56859f3334f1c2eb6fb7b4fc488b1eb8be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
create table bug46000(`id` int,key `GEN_CLUST_INDEX`(`id`))engine=innodb;
ERROR HY000: Can't create table 'test.bug46000' (errno: -1)
create table bug46000(`id` int, key `GEN_clust_INDEX`(`id`))engine=innodb;
ERROR HY000: Can't create table 'test.bug46000' (errno: -1)
show warnings;
Level	Code	Message
Warning	1005	Cannot Create Index with name 'GEN_CLUST_INDEX'. The name is reserved for the system default primary index.
Error	1005	Can't create table 'test.bug46000' (errno: -1)
create table bug46000(id int) engine=innodb;
create index GEN_CLUST_INDEX on bug46000(id);
ERROR HY000: Can't create table '#sql-temporary' (errno: -1)
show warnings;
Level	Code	Message
Warning	1005	Cannot Create Index with name 'GEN_CLUST_INDEX'. The name is reserved for the system default primary index.
Error	1005	Can't create table '#sql-temporary' (errno: -1)
create index idx on bug46000(id);
drop table bug46000;