mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-26 16:38:11 +01:00 
			
		
		
		
	 f3687ccaaf
			
		
	
	
	f3687ccaaf
	
	
	
		
			
			my_getopt compares option names case-sensitively, causing "Unknown option" errors when users type mixed-case options like wsrep_slave_UK_checks in lowercase wsrep_slave_fk_checks. Made the comparison in the getopt_compare_strings() case-insensitive.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| --echo #
 | |
| --echo # MDEV-27126: my_getopt compares option names case sensitively
 | |
| --echo #
 | |
| 
 | |
| --echo # Check if the variable is set correctly from options
 | |
| SELECT @@GLOBAL.slow_query_log;
 | |
| 
 | |
| --echo # End of test.
 |