mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	(and to follow the naming conventons). keep old debug variable, but mark it as deprecated.
		
			
				
	
	
		
			20 lines
		
	
	
		
			610 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			610 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| --source include/have_debug.inc
 | |
| 
 | |
| --disable_warnings
 | |
| drop table if exists t1;
 | |
| --enable_warnings
 | |
| 
 | |
| create table t1 (a int primary key) engine=innodb;
 | |
| 
 | |
| # Test that warnings produced during autocommit (after calling
 | |
| # set_ok_status()) are still reported to the client.
 | |
| SET SESSION debug_dbug="+d,warn_during_ha_commit_trans";
 | |
| INSERT INTO t1 VALUES (1);
 | |
| # The warning will be shown automatically by mysqltest; there was a bug where
 | |
| # this didn't happen because the warning was not counted when sending result
 | |
| # packet. Show the warnings manually also.
 | |
| SHOW WARNINGS;
 | |
| 
 | |
| drop table t1;
 |