mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 cdd5eae9b6
			
		
	
	cdd5eae9b6
	
	
	
		
			
			Bug#34678 @@debug variable's incremental mode The problem is that the per-thread debugging settings stack wasn't being deallocated before the thread termination, leaking the stack memory. The chosen solution is to push a new state if the current is set to the initial settings and pop it (free) once the thread finishes.
		
			
				
	
	
		
			13 lines
		
	
	
		
			130 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			130 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| set debug= 'T';
 | |
| select @@debug;
 | |
| @@debug
 | |
| T
 | |
| set debug= '+P';
 | |
| select @@debug;
 | |
| @@debug
 | |
| P:T
 | |
| set debug= '-P';
 | |
| select @@debug;
 | |
| @@debug
 | |
| T
 |