mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	Server crashes if a flush commmand is issued and binlog is closed. - added check to prevent binlog access when binlog file isn't opened. sql/sql_parse.cc: - removed deprecated environment consistency check. - added check to prevent binlog access on closed binlog. mysql-test/t/flush2-master.opt: - Added test case (master options) mysql-test/t/flush2.test: - Added test case mysql-test/r/flush2.result: - Added test case (resultfile)
		
			
				
	
	
		
			10 lines
		
	
	
		
			202 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			202 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Bug#17733 Flushing logs causes daily server crash
 | |
| #
 | |
| flush logs;
 | |
| set global expire_logs_days = 3;
 | |
| show variables like 'log%';
 | |
| flush logs;
 | |
| show variables like 'log%';
 | |
| set global expire_logs_days = 0;
 |