Increased skygw_query_type_t to 16 bits, and corrected the way how those bit fields are checked. Added tests for cases where autocommit is disabled and corrected old tests.
		
			
				
	
	
		
			7 lines
		
	
	
		
			160 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			160 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
use test; -- in both
 | 
						|
drop table if exists t1;
 | 
						|
create table t1 (id integer);
 | 
						|
insert into t1 values(1); -- in master
 | 
						|
commit;
 | 
						|
select count(*) from t1; -- in slave
 |