mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1482: fix not found plugins by libmariadb, by not setting the MYSQL_PLUGIN_DIR option on Linux
This commit is contained in:
@ -2565,9 +2565,11 @@ begin
|
|||||||
if Parameters.WantSSL then
|
if Parameters.WantSSL then
|
||||||
ClientFlags := ClientFlags or CLIENT_SSL;
|
ClientFlags := ClientFlags or CLIENT_SSL;
|
||||||
|
|
||||||
|
{$IfDef WINDOWS}
|
||||||
// Point libmysql to the folder with client plugins
|
// Point libmysql to the folder with client plugins
|
||||||
PluginDir := AnsiString(ExtractFilePath(ParamStr(0))+'plugins');
|
PluginDir := AnsiString(ExtractFilePath(ParamStr(0))+'plugins');
|
||||||
SetOption(FLib.MYSQL_PLUGIN_DIR, PAnsiChar(PluginDir));
|
SetOption(FLib.MYSQL_PLUGIN_DIR, PAnsiChar(PluginDir));
|
||||||
|
{$EndIf}
|
||||||
|
|
||||||
// Enable cleartext plugin
|
// Enable cleartext plugin
|
||||||
if Parameters.CleartextPluginEnabled then
|
if Parameters.CleartextPluginEnabled then
|
||||||
|
Reference in New Issue
Block a user