mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	the local tree contains a fix for Bug#32748 "Inconsistent handling of assignments to general_log_file/slow_query_log_file", which changes output of a number of tests.
		
			
				
	
	
		
			20 lines
		
	
	
		
			788 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			788 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
SET @start_value = @@global.slow_query_log_file;
 | 
						|
SELECT @start_value;
 | 
						|
@start_value
 | 
						|
slowtest.log
 | 
						|
'#---------------------FN_DYNVARS_004_01-------------------------#'
 | 
						|
SET @@global.slow_query_log_file = DEFAULT;
 | 
						|
SELECT RIGHT(@@global.slow_query_log_file,15);
 | 
						|
RIGHT(@@global.slow_query_log_file,15)
 | 
						|
master-slow.log
 | 
						|
'#--------------------FN_DYNVARS_004_02------------------------#'
 | 
						|
SET @@global.slow_query_log_file = mytest.log;
 | 
						|
SET @@global.slow_query_log_file = 12;
 | 
						|
ERROR 42000: Incorrect argument type to variable 'slow_query_log_file'
 | 
						|
'#----------------------FN_DYNVARS_004_03------------------------#'
 | 
						|
SELECT @@global.slow_query_log_file = VARIABLE_VALUE 
 | 
						|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
 | 
						|
WHERE VARIABLE_NAME='slow_query_log_file';
 | 
						|
@@global.slow_query_log_file = VARIABLE_VALUE
 | 
						|
1
 |