summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormsvensson@shellback.(none) <>2006-10-03 16:34:44 +0200
committermsvensson@shellback.(none) <>2006-10-03 16:34:44 +0200
commit538e1881ce90aba315ee1f994e3be9120f2769ae (patch)
tree8bfbe27edbbfddd8dacf0440f5637d0b8d138078 /client
parent8f3fbd26259462f2aeab158c5e9fa27b8a9f87e3 (diff)
downloadmariadb-git-538e1881ce90aba315ee1f994e3be9120f2769ae.tar.gz
Fix typo
- Change con_host to ds_connection_name.str
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 623c33d0f4f..d057e7ea4f0 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -3025,7 +3025,7 @@ void do_connect(struct st_command *command)
opt_ssl_capath, opt_ssl_cipher);
#if MYSQL_VERSION_ID >= 50000
/* Turn on ssl_verify_server_cert only if host is "localhost" */
- opt_ssl_verify_server_cert= !strcmp(con_host, "localhost");
+ opt_ssl_verify_server_cert= !strcmp(ds_connection_name.str, "localhost");
mysql_options(&next_con->mysql, MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
&opt_ssl_verify_server_cert);
#endif