From ece01ef3dc89d20198efbaec40e7114fdb515338 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 3 Sep 2016 14:04:17 +0200 Subject: After-review changes * remove redundant code * fix tests * move declarations and defines where they belong --- mysys/my_static.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mysys/my_static.c') diff --git a/mysys/my_static.c b/mysys/my_static.c index 4aca78e30a9..ce9e8831be6 100644 --- a/mysys/my_static.c +++ b/mysys/my_static.c @@ -98,3 +98,10 @@ my_bool my_disable_sync=0; my_bool my_disable_async_io=0; my_bool my_disable_flush_key_blocks=0; my_bool my_disable_symlinks=0; + +/* Typelib by all clients */ +const char *sql_protocol_names_lib[] = +{ "TCP", "SOCKET", "PIPE", "MEMORY", NullS }; + +TYPELIB sql_protocol_typelib ={ array_elements(sql_protocol_names_lib) - 1, "", + sql_protocol_names_lib, NULL }; -- cgit v1.2.1