1919.2.1
by Stewart Smith
add tset for bug673380: CREATE TABLE AS can create a table with a column type of NULL |
1 |
# This is the test for bug #54044. Special handle MYSQL_TYPE_NULL type |
2 |
# during create table, so it will not trigger assertion failure. |
|
3 |
||
4 |
# This 'create table' operation should fail because of |
|
5 |
# using NULL datatype |
|
6 |
--error ER_CANT_CREATE_TABLE
|
|
7 |
CREATE TEMPORARY TABLE TABLE_54044 |
|
8 |
AS SELECT IF(NULL IS NOT NULL, NULL, NULL); |
|
9 |
||
10 |