~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to mysql-test/t/innodb_bug44369.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This is the test for bug 44369. We should
2
 
# block table creation with columns match
3
 
# some innodb internal reserved key words,
4
 
# both case sensitively and insensitely.
5
 
 
6
 
--source include/have_innodb.inc
7
 
 
8
 
# This create table operation should fail.
9
 
--error ER_CANT_CREATE_TABLE
10
 
create table bug44369 (DB_ROW_ID int) engine=innodb;
11
 
 
12
 
# This create should fail as well
13
 
--error ER_CANT_CREATE_TABLE
14
 
create table bug44369 (db_row_id int) engine=innodb;
15
 
 
16
 
show warnings;
17
 
 
18
 
--error ER_CANT_CREATE_TABLE
19
 
create table bug44369 (db_TRX_Id int) engine=innodb;
20
 
 
21
 
show warnings;