mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 2fdb556e04
			
		
	
	
	2fdb556e04
	
	
	
		
			
			This patch changes the main name of 3 byte character set from utf8 to utf8mb3. New old_mode UTF8_IS_UTF8MB3 is added and set TRUE by default, so that utf8 would mean utf8mb3. If not set, utf8 would mean utf8mb4.
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			504 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			504 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #
 | |
| # Tests for innodb that requires not default character sets
 | |
| #
 | |
| 
 | |
| --source include/have_innodb.inc
 | |
| let collation=utf8mb3_unicode_ci;
 | |
| --source include/have_collation.inc
 | |
| 
 | |
| # Setup
 | |
| --disable_warnings
 | |
| drop table if exists t1;
 | |
| --enable_warnings
 | |
| 
 | |
| #
 | |
| # Bug #26835: table corruption after delete+insert
 | |
| #
 | |
| 
 | |
| CREATE TABLE t1 (a VARCHAR(5) COLLATE utf8_unicode_ci PRIMARY KEY)
 | |
| ENGINE=InnoDB;
 | |
| INSERT INTO t1 VALUES (0xEFBCA4EFBCA4EFBCA4);
 | |
| DELETE FROM t1;
 | |
| INSERT INTO t1 VALUES ('DDD');
 | |
| SELECT * FROM t1;
 | |
| DROP TABLE t1;
 |