mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Before this fix, the performance schema tables were defined in UPPERCASE. This was incompatible with the lowercase_table_names option, and caused issues with the install / upgrade process, when changing the lower case table names setting *after* the install or upgrade. With this fix, all performance schema tables are exposed with lowercase names. As a result, the name of the performance schema table is always lowercase, no matter how / if / when the lowercase_table_names setting if changed.
		
			
				
	
	
		
			9 lines
		
	
	
		
			592 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			592 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
alter table performance_schema.setup_instruments add column foo integer;
 | 
						|
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
 | 
						|
truncate table performance_schema.setup_instruments;
 | 
						|
ERROR HY000: Invalid performance_schema usage.
 | 
						|
ALTER TABLE performance_schema.setup_instruments ADD INDEX test_index(NAME);
 | 
						|
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
 | 
						|
CREATE UNIQUE INDEX test_index ON performance_schema.setup_instruments(NAME);
 | 
						|
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
 |