mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	around the original functions. These will ensure that error message is always in unique form, reduce code and print the right alternatives automatically in an error case. client/mysql.cc: Changed find_type to find_type_or_exit client/mysqladmin.cc: Changed find_type to find_type_or_exit client/mysqlbinlog.cc: Changed find_type to find_type_or_exit client/mysqlcheck.c: Changed find_type to find_type_or_exit client/mysqldump.c: Changed find_type to find_type_or_exit client/mysqlimport.c: Changed find_type to find_type_or_exit client/mysqlshow.c: Changed find_type to find_type_or_exit client/mysqlslap.c: Changed find_type to find_type_or_exit include/typelib.h: Added find_type_or_exit mysql-test/r/mysql_protocols.result: Fixed result. mysys/typelib.c: Added find_type_or_exit sql/mysqld.cc: Added use of find_type_or_exit and find_bit_type_or_exit Fixed a missing break; from an option handling. (Bug in --tc-heuristic-recover)
		
			
				
	
	
		
			11 lines
		
	
	
		
			208 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			208 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <default>
 | |
|  ok
 | |
| TCP
 | |
|  ok
 | |
| SOCKET
 | |
|  ok
 | |
| ERROR 2047 (HY000): Wrong or unknown protocol
 | |
| ERROR 2047 (HY000): Wrong or unknown protocol
 | |
| Unknown option to protocol: NullS
 | |
| Alternatives are: 'TCP','SOCKET','PIPE','MEMORY'
 |