mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
2682a280c8
storage/innobase/handler/handler0alter.cc: for NEWDATE key_type says unsigned, thus col->prtype says unsigned, but field->flags says signed. Use the same flag for value retrieval that was used for value storage.
17 lines
530 B
Text
17 lines
530 B
Text
--source include/have_innodb.inc
|
|
# 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.
|
|
|
|
|
|
# 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;
|