mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix Bug #54044 Create temporary tables and using innodb crashes.
This commit is contained in:
11
mysql-test/suite/innodb_plugin/t/innodb_bug54044.test
Normal file
11
mysql-test/suite/innodb_plugin/t/innodb_bug54044.test
Normal file
@ -0,0 +1,11 @@
|
||||
# This is the test for bug #54044. Special handle MYSQL_TYPE_NULL type
|
||||
# during create table, so it will not trigger assertion failure.
|
||||
|
||||
--source include/have_innodb_plugin.inc
|
||||
|
||||
# This 'create table' operation should fail because of
|
||||
# using NULL datatype
|
||||
--error ER_CANT_CREATE_TABLE
|
||||
CREATE TEMPORARY TABLE TABLE_54044 ENGINE = INNODB
|
||||
AS SELECT IF(NULL IS NOT NULL, NULL, NULL);
|
||||
|
Reference in New Issue
Block a user