mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 4abafe2617
			
		
	
	4abafe2617
	
	
	
		
			
			Changed thread_handling variable to a global only, read only variable, as it is currently used.
		
			
				
	
	
		
			14 lines
		
	
	
		
			329 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			329 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| select 1+1;
 | |
| 1+1
 | |
| 2
 | |
| select 1+2;
 | |
| 1+2
 | |
| 3
 | |
| SHOW GLOBAL VARIABLES LIKE 'thread_handling';
 | |
| Variable_name	Value
 | |
| thread_handling	no-threads
 | |
| select @@session.thread_handling;
 | |
| ERROR HY000: Variable 'thread_handling' is a GLOBAL variable
 | |
| set GLOBAL thread_handling='one-thread';
 | |
| ERROR HY000: Variable 'thread_handling' is a read only variable
 |