mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			383 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			383 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.
 | 
						|
 | 
						|
--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); 
 | 
						|
 |