changeset 165:0632c2408af3

fix compatiblity with mysql client
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 Jul 2020 12:15:10 +0200
parents 4d32c9c8d6c0
children abba5165f24e
files Framework/MySQL/MySQLDatabase.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/MySQL/MySQLDatabase.cpp	Mon Jul 13 11:59:29 2020 +0200
+++ b/Framework/MySQL/MySQLDatabase.cpp	Tue Jul 21 12:15:10 2020 +0200
@@ -147,7 +147,7 @@
       {
         my_bool verifyCert = 1;
         mysql_options(mysql_, MYSQL_OPT_SSL_VERIFY_SERVER_CERT, (void *) &verifyCert);
-        mysql_optionsv(mysql_, MYSQL_OPT_SSL_CA, (void *)(parameters_.GetSslCaCertificates()));
+        mysql_options(mysql_, MYSQL_OPT_SSL_CA, (void *)(parameters_.GetSslCaCertificates()));
       }
 
       my_bool enforceTls = 1;