mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			542 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			542 B
		
	
	
	
		
			Text
		
	
	
	
	
	
# Tests for PERFORMANCE_SCHEMA
 | 
						|
 | 
						|
--source include/not_embedded.inc
 | 
						|
--source include/have_perfschema.inc
 | 
						|
 | 
						|
-- error ER_DBACCESS_DENIED_ERROR
 | 
						|
alter table performance_schema.performance_timers add column foo integer;
 | 
						|
 | 
						|
-- error ER_WRONG_PERFSCHEMA_USAGE
 | 
						|
truncate table performance_schema.performance_timers;
 | 
						|
 | 
						|
-- error ER_DBACCESS_DENIED_ERROR
 | 
						|
ALTER TABLE performance_schema.performance_timers ADD INDEX test_index(TIMER_NAME);
 | 
						|
 | 
						|
-- error ER_DBACCESS_DENIED_ERROR
 | 
						|
CREATE UNIQUE INDEX test_index ON performance_schema.performance_timers(TIMER_NAME);
 | 
						|
 |