diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-09-03 14:04:17 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-09-12 17:51:50 +0200 |
commit | ece01ef3dc89d20198efbaec40e7114fdb515338 (patch) | |
tree | 7f3c1f1ee812b8bf8fa98fee94103dae4d7afa0d /mysys/my_static.c | |
parent | 12067633fb44205777e2e9f401bbcb3242bafd66 (diff) | |
download | mariadb-git-ece01ef3dc89d20198efbaec40e7114fdb515338.tar.gz |
After-review changes
* remove redundant code
* fix tests
* move declarations and defines where they belong
Diffstat (limited to 'mysys/my_static.c')
-rw-r--r-- | mysys/my_static.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 }; |