Closed shueybubbles closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.53%. Comparing base (
fe7c3d4
) to head (d4192bc
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix for https://github.com/microsoft/go-sqlcmd/issues/506
Sqlcmd converts the named pipe given by the user into its component parts to include in a URL connection string it hands to the driver. When the named pipe path uses
.
as the server name, the driver converts it tolocalhost
so connections to the browser service work. However, for some named pipe SQL connections like those to Windows Internal Database, the reconstructed pipe name has to use.
as the server component.This change preserves
.
in the pipe name while still switching tolocalhost
for the SQL browser calls.Built sqlcmd with a local version of the driver with this fix: