mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 9f4ba624e2
			
		
	
	
	9f4ba624e2
	
	
	
		
			
			Problem: In regular replication, when master binlogged using statement format slave might not have written an event to its binary log when the Query event aimed at a temporary table. Specifically this was observed with LOAD DATA INFILE. This effect was possible because unlike master slave holds temporary tables in its pool and the master side check of existence of a temporary table at the format bin-logging decision did not apply. Solution: replace THD::has_thd_temporary_tables() with THD::has_temporary_tables which allows to identify temporary table presence on either side. -- Reviewed by Andrei Elkin.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			INI
		
	
	
	
	
	
| !include ../my.cnf
 | |
| 
 | |
| [mysqld.3]
 | |
| log-slave-updates
 | |
| 
 | |
| [ENV]
 | |
| SERVER_MYPORT_3=		@mysqld.3.port
 | |
| SERVER_MYSOCK_3=		@mysqld.3.socket
 |