diff options
author | Haru <haru@dotalux.com> | 2019-12-15 15:27:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-15 15:27:01 +0100 |
commit | f7dcf124a3115c5398774b80b90d43d650344022 (patch) | |
tree | c96df8e17aa9c3f64382b6425b6011ade6e6ee4a /src/common | |
parent | 3c5540b9e9f09943a8cc2fd294035a5ccaf63f5e (diff) | |
parent | a14968850fb2474b29552db21d63d0bb303e73d1 (diff) | |
download | hercules-f7dcf124a3115c5398774b80b90d43d650344022.tar.gz hercules-f7dcf124a3115c5398774b80b90d43d650344022.tar.bz2 hercules-f7dcf124a3115c5398774b80b90d43d650344022.tar.xz hercules-f7dcf124a3115c5398774b80b90d43d650344022.zip |
Merge pull request #2580 from Asheraf/winmariadbconnector
Replace the windows mysql connector with MariaDB C Connector
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; } |