mirror of
https://github.com/MariaDB/server.git
synced 2025-11-22 17:44:29 +03:00
12 lines
492 B
Plaintext
12 lines
492 B
Plaintext
# This is the test for bug #54044. Special handle MYSQL_TYPE_NULL type
|
|
# during create table, so it will not trigger assertion failure.
|
|
|
|
|
|
# This 'create table' operation no longer uses the NULL datatype.
|
|
|
|
CREATE TEMPORARY TABLE table_54044 ENGINE = INNODB
|
|
AS SELECT IF(NULL IS NOT NULL, NULL, NULL);
|
|
SHOW CREATE TABLE table_54044;
|
|
CREATE TEMPORARY TABLE tmp1 ENGINE = INNODB AS SELECT COALESCE(NULL, NULL, NULL);
|
|
CREATE TEMPORARY TABLE tmp2 ENGINE = INNODB AS SELECT GREATEST(NULL, NULL);
|