mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
3615debeb1
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)
10 lines
208 B
Text
10 lines
208 B
Text
<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'
|