mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01:00 
			
		
		
		
	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
		
	
	
	
		
			194 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			194 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#
 | 
						|
# MDEV-27126: my_getopt compares option names case sensitively
 | 
						|
#
 | 
						|
# Check if the variable is set correctly from options
 | 
						|
SELECT @@GLOBAL.slow_query_log;
 | 
						|
@@GLOBAL.slow_query_log
 | 
						|
0
 | 
						|
# End of test.
 |