mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
82bb84e1aa
push_warning(MYSQL_ERROR::WARN_LEVEL_ERROR)). The Signal/Resignal patch changes the push_warning() API: now it silently downgrades WARN_LEVEL_ERROR to WARN_LEVEL_WARN. This patch should be rolled back when Bug#47233 is fixed.
27 lines
780 B
Text
27 lines
780 B
Text
# 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;
|
|
|
|
# TODO: after Bug#47233 is fixed, 'show warning' should be replaced by 'show
|
|
# errors' again.
|
|
# show errors;
|
|
show warnings;
|
|
|
|
--error ER_CANT_CREATE_TABLE
|
|
create table bug44369 (db_TRX_Id int) engine=innodb;
|
|
|
|
# TODO: after Bug#47233 is fixed, 'show warning' should be replaced by 'show
|
|
# errors' again.
|
|
# show errors;
|
|
show warnings;
|