summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb_bug44369.test
blob: 495059eb5e6f4d90109c8b7c4dd2df908a658c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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;

show errors;

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

show errors;