Uh oh!
There was an error while loading. Please reload this page.
Bug: The SQLSRV driver ignores the port value from the config. - #6036
Conversation
Signed-off-by: Andrey Pyzhikov <5071@mail.ru>
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Andrey Pyzhikov <5071@mail.ru>
kenjis
commented
May 27, 2022
kenjis
commented
May 27, 2022
This bug was not detected by the existing tests, so tests are not enough. I've confirmed Port 1444 server can be connected with this PR. |
iRedds
commented
May 27, 2022
@kenjis I don't see the point in an additional server. |
kenjis
commented
May 27, 2022
@iRedds Okay, you are correct. |
Description
Fixes#6032
The SQLSRV driver ignores the port value from the config.
This PR fixes a bug.
Also, if a port is already specified in the hostname, the port from the configuration will be ignored.
It seems to me that the default tests are enough, because the database connection settings for the tests use the default port, which was ignored when configuring the connection.
Checklist: