From 7c7ec206678d2a7f22cfc3566fe8bdddae965e41 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sat, 16 Nov 2019 19:04:36 +0100 Subject: Replace the windows mysql connector with MariaDB C Connector 3.1.5 / Client Lib 10.4.3 --- src/common/sql.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/sql.c') diff --git a/src/common/sql.c b/src/common/sql.c index 0b5b7fa07..0efc54564 100644 --- a/src/common/sql.c +++ b/src/common/sql.c @@ -94,6 +94,9 @@ static struct Sql *Sql_Malloc(void) { my_bool reconnect = 1; mysql_options(&self->handle, MYSQL_OPT_RECONNECT, &reconnect); +#ifdef WIN32 + mysql_optionsv(&self->handle, MYSQL_PLUGIN_DIR, MARIADB_PLUGINDIR); +#endif } return self; } -- cgit v1.2.3-70-g09d2