mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 04:46:15 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			605 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			605 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#
 | 
						|
# Bug#17733 Flushing logs causes daily server crash
 | 
						|
#
 | 
						|
 | 
						|
--source include/not_embedded.inc
 | 
						|
 | 
						|
set @save_expire_logs_days=@@global.expire_logs_days;
 | 
						|
 | 
						|
flush logs;
 | 
						|
set global expire_logs_days = 3;
 | 
						|
let $relay_prefix=`select concat(substring_index(@@relay_log,"-",1),"-")`;
 | 
						|
show variables like 'log_bin%';
 | 
						|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR $relay_prefix XXX-
 | 
						|
show variables like 'relay_log%';
 | 
						|
flush logs;
 | 
						|
show variables like 'log_bin%';
 | 
						|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR $relay_prefix XXX-
 | 
						|
show variables like 'relay_log%';
 | 
						|
set global expire_logs_days=@save_expire_logs_days;
 |