mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +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)
		
			
				
	
	
		
			25 lines
		
	
	
		
			500 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			500 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| flush logs;
 | |
| set global expire_logs_days = 3;
 | |
| show variables like 'log%';
 | |
| Variable_name	Value
 | |
| log	ON
 | |
| log_bin	OFF
 | |
| log_bin_trust_function_creators	ON
 | |
| log_error	
 | |
| log_queries_not_using_indexes	OFF
 | |
| log_slave_updates	OFF
 | |
| log_slow_queries	OFF
 | |
| log_warnings	1
 | |
| flush logs;
 | |
| show variables like 'log%';
 | |
| Variable_name	Value
 | |
| log	ON
 | |
| log_bin	OFF
 | |
| log_bin_trust_function_creators	ON
 | |
| log_error	
 | |
| log_queries_not_using_indexes	OFF
 | |
| log_slave_updates	OFF
 | |
| log_slow_queries	OFF
 | |
| log_warnings	1
 | |
| set global expire_logs_days = 0;
 |