diff options
author | unknown <msvensson@neptunus.(none)> | 2006-04-10 12:23:20 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-04-10 12:23:20 +0200 |
commit | c4c9d4fb8cc4c5114728a150d6a075834f2a050d (patch) | |
tree | de2008dcdcf1fbfa8f8072352bc1e808fc8278f3 /sql-common | |
parent | dc618494f3e84c4d514092571fe27bfb8433918d (diff) | |
download | mariadb-git-c4c9d4fb8cc4c5114728a150d6a075834f2a050d.tar.gz |
Update implementation of new function 'mysql_get_ssl_cipher' after review
client/mysql.cc:
Only call mysql_get_ssl_cipher once, save the result in variable "status"
libmysql/libmysql.def:
Add new function mysql_get_ssl_cipher to exported functions in dll
sql-common/client.c:
Add missing return(DBUG_RETURN)
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 1303b26c325..72745d72b12 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -1552,7 +1552,7 @@ mysql_get_ssl_cipher(MYSQL *mysql) { DBUG_ENTER("mysql_get_ssl_cipher"); if (mysql->net.vio && mysql->net.vio->ssl_arg) - SSL_get_cipher_name((SSL*)mysql->net.vio->ssl_arg); + DBUG_RETURN(SSL_get_cipher_name((SSL*)mysql->net.vio->ssl_arg)); DBUG_RETURN(NULL); } |