mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	storage/innobase/handler/handler0alter.cc: for NEWDATE key_type says unsigned, thus col->prtype says unsigned, but field->flags says signed. Use the same flag for value retrieval that was used for value storage.
		
			
				
	
	
		
			18 lines
		
	
	
		
			530 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			530 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| # 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.
 | |
| 
 | |
| 
 | |
| # This create table operation should fail.
 | |
| --error ER_WRONG_COLUMN_NAME
 | |
| create table bug44369 (DB_ROW_ID int) engine=innodb;
 | |
| 
 | |
| # This create should fail as well
 | |
| --error ER_WRONG_COLUMN_NAME
 | |
| create table bug44369 (db_row_id int) engine=innodb;
 | |
| 
 | |
| --error ER_WRONG_COLUMN_NAME
 | |
| create table bug44369 (db_TRX_Id int) engine=innodb;
 |