mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
842c568d2a
Detailed revision comments: r6122 | jyang | 2009-10-30 05:18:38 +0200 (Fri, 30 Oct 2009) | 7 lines branches/5.1: Chnage WARN_LEVEL_ERROR to WARN_LEVEL_WARN for push_warning_printf() call in innodb. Fix Bug#47233: Innodb calls push_warning(MYSQL_ERROR::WARN_LEVEL_ERROR) rb://170 approved by Marko.
17 lines
903 B
Text
17 lines
903 B
Text
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;
|