mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 acf9b1f346
			
		
	
	acf9b1f346
	
	
	
		
			
			a SELECT doesn't cause ROLLBACK of statem". The idea of the fix is to ensure that we always commit the current statement at the end of dispatch_command(). In order to not issue redundant disc syncs, an optimization of the two-phase commit protocol is implemented to bypass the two phase commit if the transaction is read-only.
		
			
				
	
	
		
			7 lines
		
	
	
		
			127 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			127 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| -- source include/have_log_bin.inc
 | |
| -- source include/have_innodb.inc
 | |
| 
 | |
| let $engine_type = InnoDB;
 | |
| 
 | |
| -- source include/commit.inc
 |