Use default library of given network type in command line receiver. See https://www.heidisql.com/forum.php?t=35656

This commit is contained in:
Ansgar Becker
2020-02-18 20:28:19 +01:00
parent 2626dd470a
commit 54757760f9

View File

@ -2633,6 +2633,8 @@ begin
except
ConnectionParams.NetType := ntMySQL_TCPIP;
end;
// Otherwise default libmariadb.dll would be used for PG and other types
ConnectionParams.LibraryOrProvider := ConnectionParams.DefaultLibrary;
if Host <> '' then ConnectionParams.Hostname := Host;
if User <> '' then ConnectionParams.Username := User;
if Pass <> '' then ConnectionParams.Password := Pass;