2012-02-07 16:22:36 +01:00
|
|
|
--source include/have_innodb.inc
|
2009-10-16 13:58:02 +02:00
|
|
|
# This is the test for bug 44369. We should
|
|
|
|
# block table creation with columns match
|
|
|
|
# some innodb internal reserved key words,
|
|
|
|
# both case sensitively and insensitely.
|
|
|
|
|
|
|
|
|
|
|
|
# This create table operation should fail.
|
2009-12-02 15:00:50 +01:00
|
|
|
--error ER_WRONG_COLUMN_NAME
|
2009-10-16 13:58:02 +02:00
|
|
|
create table bug44369 (DB_ROW_ID int) engine=innodb;
|
|
|
|
|
|
|
|
# This create should fail as well
|
2009-12-02 15:00:50 +01:00
|
|
|
--error ER_WRONG_COLUMN_NAME
|
2009-10-16 13:58:02 +02:00
|
|
|
create table bug44369 (db_row_id int) engine=innodb;
|
|
|
|
|
2009-12-02 15:00:50 +01:00
|
|
|
--error ER_WRONG_COLUMN_NAME
|
2009-10-16 13:58:02 +02:00
|
|
|
create table bug44369 (db_TRX_Id int) engine=innodb;
|