mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 72ba96a48e
			
		
	
	
	72ba96a48e
	
	
	
		
			
			Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
		
			
				
	
	
		
			40 lines
		
	
	
	
		
			850 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			850 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # view-protocol doesn't support multi-statements
 | |
| -- source include/no_view_protocol.inc
 | |
| 
 | |
| # PS doesn't support multi-statements
 | |
| --disable_ps_protocol
 | |
| 
 | |
| --disable_warnings
 | |
| DROP TABLE IF EXISTS t1;
 | |
| --enable_warnings
 | |
| 
 | |
| select 1;
 | |
| delimiter ||||;
 | |
| select 2;
 | |
| select 3;
 | |
| select 4||||
 | |
| delimiter 'abcd'||||
 | |
| select 5;
 | |
| select 6;
 | |
| select 50, 'abc';'abcd'
 | |
| select "abcd'";'abcd'select "'abcd";'abcd'
 | |
| select 5'abcd'
 | |
| delimiter ;'abcd'
 | |
| select 'finish';
 | |
| 
 | |
| # Bug #8475: Make sure every statement that is a slow query in
 | |
| # a multi-statement query gets logged as a slow query.
 | |
| flush status;
 | |
| delimiter ||||;
 | |
| create table t1 (i int);
 | |
| insert into t1 values (1);
 | |
| select * from t1 where i = 1;
 | |
| insert into t1 values (2),(3),(4);
 | |
| select * from t1 where i = 2;
 | |
| select * from t1 where i = 3||||
 | |
| show status like 'Slow_queries'||||
 | |
| drop table t1||||
 | |
| 
 | |
| delimiter ;||||
 | |
| 
 | |
| # End of 4.1 tests
 |