summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb_bug44369.test
blob: f5d85cd5815acb326a1b3185d34710af8df5a481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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_WRONG_COLUMN_NAME
create table bug44369 (DB_ROW_ID int) engine=innodb;

# This create should fail as well
--error ER_WRONG_COLUMN_NAME
create table bug44369 (db_row_id int) engine=innodb;

--error ER_WRONG_COLUMN_NAME
create table bug44369 (db_TRX_Id int) engine=innodb;