diff options
author | Asheraf <acheraf1998@gmail.com> | 2019-11-16 19:04:36 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2019-11-19 22:30:31 +0100 |
commit | 7c7ec206678d2a7f22cfc3566fe8bdddae965e41 (patch) | |
tree | a98b8a8f67c99d441a129ebf36bf02816853932d /src/common | |
parent | 75ae0182f850e213d50832c979312aa560152628 (diff) | |
download | hercules-7c7ec206678d2a7f22cfc3566fe8bdddae965e41.tar.gz hercules-7c7ec206678d2a7f22cfc3566fe8bdddae965e41.tar.bz2 hercules-7c7ec206678d2a7f22cfc3566fe8bdddae965e41.tar.xz hercules-7c7ec206678d2a7f22cfc3566fe8bdddae965e41.zip |
Replace the windows mysql connector with MariaDB C Connector 3.1.5 / Client Lib 10.4.3
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/sql.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |