mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:50:20 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user