mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +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.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| CREATE DATABASE test1;
 | |
| CREATE PROCEDURE test1.sp3() BEGIN END;
 | |
| SHOW PROCEDURE STATUS WHERE Db <> 'sys';
 | |
| Db	Name	Type	Definer	Modified	Created	Security_type	Comment	character_set_client	collation_connection	Database Collation
 | |
| mtr	add_suppression	PROCEDURE	root@localhost	#	#	DEFINER		utf8mb3	utf8mb3_general_ci	latin1_swedish_ci
 | |
| mtr	check_testcase	PROCEDURE	root@localhost	#	#	DEFINER		utf8mb3	utf8mb3_general_ci	latin1_swedish_ci
 | |
| mtr	check_warnings	PROCEDURE	root@localhost	#	#	DEFINER		utf8mb3	utf8mb3_general_ci	latin1_swedish_ci
 | |
| mysql	AddGeometryColumn	PROCEDURE	mariadb.sys@localhost	#	#	INVOKER		latin1	latin1_swedish_ci	latin1_swedish_ci
 | |
| mysql	DropGeometryColumn	PROCEDURE	mariadb.sys@localhost	#	#	INVOKER		latin1	latin1_swedish_ci	latin1_swedish_ci
 | |
| test	sp2	PROCEDURE	root@localhost	#	#	DEFINER		latin1	latin1_swedish_ci	latin1_swedish_ci
 | |
| test1	sp1	PROCEDURE	root@localhost	#	#	DEFINER		latin1	latin1_swedish_ci	latin1_swedish_ci
 | |
| test1	sp3	PROCEDURE	root@localhost	#	#	DEFINER		latin1	latin1_swedish_ci	latin1_swedish_ci
 | |
| DROP PROCEDURE sp2;
 | |
| DROP DATABASE test1;
 | |
| select count(*) from mysql.event;
 | |
| count(*)
 | |
| 416
 | |
| flush tables;
 | |
| show events;
 | |
| truncate table mysql.event;
 |