2009-10-16 17:28:02 +05:30
|
|
|
# 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.
|
|
|
|
|
|
|
|
--source include/have_innodb.inc
|
|
|
|
|
|
|
|
# This create table operation should fail.
|
|
|
|
--error ER_CANT_CREATE_TABLE
|
|
|
|
create table bug44369 (DB_ROW_ID int) engine=innodb;
|
|
|
|
|
|
|
|
# This create should fail as well
|
|
|
|
--error ER_CANT_CREATE_TABLE
|
|
|
|
create table bug44369 (db_row_id int) engine=innodb;
|
|
|
|
|
2009-11-05 17:23:50 +04:00
|
|
|
show warnings;
|
2009-10-16 17:28:02 +05:30
|
|
|
|
|
|
|
--error ER_CANT_CREATE_TABLE
|
|
|
|
create table bug44369 (db_TRX_Id int) engine=innodb;
|
|
|
|
|
2009-11-05 17:23:50 +04:00
|
|
|
show warnings;
|