mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 04:46:15 +01:00 
			
		
		
		
	Constraints processing row_ins_check_foreign_constraint() was not called because row_upd_check_references_constraints() didn't see update as delete: node->is_delete was false. Since MDEV-30378 we check for TRG_EVENT_DELETE to detect versioned delete in ha_innobase::update_row(). Now we can use TRG_EVENT_DELETE to set upd_node->is_delete, so constraints processing is triggered correctly.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			347 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			347 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
--disable_query_log
 | 
						|
--disable_warnings
 | 
						|
drop procedure if exists verify_trt;
 | 
						|
drop procedure if exists verify_trt_dummy;
 | 
						|
drop function if exists current_row;
 | 
						|
drop function if exists check_row;
 | 
						|
drop function if exists check_row_slave;
 | 
						|
drop function if exists current_row_ts;
 | 
						|
drop function if exists check_row_ts;
 | 
						|
--enable_warnings
 | 
						|
--enable_query_log
 |