mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Detailed revision comments: r6122 | jyang | 2009-10-30 05:18:38 +0200 (Fri, 30 Oct 2009) | 7 lines branches/5.1: Chnage WARN_LEVEL_ERROR to WARN_LEVEL_WARN for push_warning_printf() call in innodb. Fix Bug#47233: Innodb calls push_warning(MYSQL_ERROR::WARN_LEVEL_ERROR) rb://170 approved by Marko.
		
			
				
	
	
		
			22 lines
		
	
	
		
			562 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			562 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# This is the test for bug 44369. We should
 | 
						|
# block table creation with columns match
 | 
						|
# some innodb internal reserved key words,
 | 
						|
# both case sensitively and insensitely.
 | 
						|
 | 
						|
--source include/have_innodb.inc
 | 
						|
 | 
						|
# This create table operation should fail.
 | 
						|
--error ER_CANT_CREATE_TABLE
 | 
						|
create table bug44369 (DB_ROW_ID int) engine=innodb;
 | 
						|
 | 
						|
# This create should fail as well
 | 
						|
--error ER_CANT_CREATE_TABLE
 | 
						|
create table bug44369 (db_row_id int) engine=innodb;
 | 
						|
 | 
						|
show warnings;
 | 
						|
 | 
						|
--error ER_CANT_CREATE_TABLE
 | 
						|
create table bug44369 (db_TRX_Id int) engine=innodb;
 | 
						|
 | 
						|
show warnings;
 |