mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	All statements executed by mysql_upgrade are binlogged and then are replicated to slave. This will result in some errors. The report of this bug has demonstrated some examples. Master and slave should be upgraded separately. All statements executed by mysql_upgrade will not be binlogged. --write-binlog and --skip-write-binlog options are added into mysql_upgrade. These options control whether sql statements are binlogged or not.
		
			
				
	
	
		
			5 lines
		
	
	
		
			134 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			134 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
--require r/have_mysql_upgrade.result
 | 
						|
--disable_query_log
 | 
						|
select LENGTH("$MYSQL_UPGRADE")>0 as have_mysql_upgrade;
 | 
						|
--enable_query_log
 |