mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	- Moved writing to binlog_cache from close_thread_tables() to binlog_commit(). - In select_create() delete cached row events instead of flushing them to disk. This was done to avoid possible disk write error in this code.
		
			
				
	
	
		
			37 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
# ==== Purpose ====
 | 
						|
#
 | 
						|
# Execute SHOW BINLOG EVENTS and mask non-deterministic output.
 | 
						|
#
 | 
						|
# ==== Usage ====
 | 
						|
#
 | 
						|
# [--let $binlog_file= [<FILENAME> | LAST]]
 | 
						|
# [--let $binlog_start= <POSITION> ]
 | 
						|
# [--let $binlog_limit= 1, 3 ]
 | 
						|
# [--let $skip_checkpoint_events= 1]
 | 
						|
# --source include/show_binlog_events.inc
 | 
						|
#
 | 
						|
# Parameters:
 | 
						|
#
 | 
						|
#   $binlog_file
 | 
						|
#     Filename for the 'IN' clause of SHOW BINLOG EVENTS. If none
 | 
						|
#     given, no argument is given to SHOW BINLOG EVENTS, meaning that
 | 
						|
#     it uses the first binlog. If you set this to "LAST", it prints
 | 
						|
#     the last binlog (according to SHOW MASTER STATUS).
 | 
						|
#
 | 
						|
#   $binlog_start
 | 
						|
#     Position for the 'FROM' clause of SHOW BINLOG EVENTS. If none
 | 
						|
#     given, starts right after the  Binlog_checkpoint_log_event.
 | 
						|
#
 | 
						|
#   $binlog_limit
 | 
						|
#     Limit for the 'LIMIT' clause of SHOW BINLOG EVENTS, i.e.:
 | 
						|
#       $binlog_limit= 3    -- print three events
 | 
						|
#       $binlog_limit= 4, 3 -- skip four events, print the three next events
 | 
						|
 | 
						|
--let $include_filename= show_binlog_events.inc
 | 
						|
--source include/begin_include_file.inc
 | 
						|
 | 
						|
--let $is_relay_log= 0
 | 
						|
--source include/show_events.inc
 | 
						|
 | 
						|
--let $include_filename= show_binlog_events.inc
 | 
						|
--source include/end_include_file.inc
 |