diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-08-20 13:06:33 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-08-20 14:11:36 +0100 |
commit | ee98e95e25bc8abe2be61d3449974d8ba078b351 (patch) | |
tree | 6c021088a795b0730ff4741ae30675401382bc4f /tests | |
parent | 4299b82ad813a1ad5dfc84f02415eedfcf731bbc (diff) | |
download | mariadb-git-ee98e95e25bc8abe2be61d3449974d8ba078b351.tar.gz |
MDEV-16536 Remove shared memory transport
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_fw.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/mysql_client_fw.c b/tests/mysql_client_fw.c index 2a529c12c63..c39b5138309 100644 --- a/tests/mysql_client_fw.c +++ b/tests/mysql_client_fw.c @@ -50,9 +50,6 @@ static char *opt_user= 0; static char *opt_password= 0; static char *opt_host= 0; static char *opt_unix_socket= 0; -#ifdef HAVE_SMEM -static char *shared_memory_base_name= 0; -#endif static unsigned int opt_port; static my_bool tty_password= 0, opt_silent= 0; @@ -253,10 +250,6 @@ static void print_st_error(MYSQL_STMT *stmt, const char *msg) static MYSQL *mysql_client_init(MYSQL* con) { MYSQL* res = mysql_init(con); -#ifdef HAVE_SMEM - if (res && shared_memory_base_name) - mysql_options(res, MYSQL_SHARED_MEMORY_BASE_NAME, shared_memory_base_name); -#endif if (res && non_blocking_api_enabled) mysql_options(res, MYSQL_OPT_NONBLOCK, 0); if (opt_plugin_dir && *opt_plugin_dir) @@ -1229,11 +1222,6 @@ static struct my_option client_test_long_options[] = 0, 0, 0, 0, 0, 0}, {"silent", 's', "Be more silent", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, -#ifdef HAVE_SMEM - {"shared-memory-base-name", 'm', "Base name of shared memory.", - &shared_memory_base_name, (uchar**)&shared_memory_base_name, 0, - GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, -#endif {"socket", 'S', "Socket file to use for connection", &opt_unix_socket, &opt_unix_socket, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, |