1
0
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. Screen

out NULL type columns, and return without creating the table.

rb://378 approved by Marko
This commit is contained in:
Jimmy Yang
2010-06-22 19:04:31 -07:00
parent d17ee9f8ec
commit 1ac84a45df
3 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,3 @@
CREATE TEMPORARY TABLE TABLE_54044 ENGINE = INNODB
AS SELECT IF(NULL IS NOT NULL, NULL, NULL);
ERROR HY000: Can't create table 'test.TABLE_54044' (errno: -1)