From 42569f8939a947c0c1ae36a89c08fb97d04e9ff8 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Fri, 20 Oct 2023 03:48:45 +0700 Subject: [PATCH] Adding shared memory and named pipe imports for Microsoft SQL Server driver --- drivers/sqlserver/sqlserver.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/sqlserver/sqlserver.go b/drivers/sqlserver/sqlserver.go index 45d43e66d8e..e88ffad911e 100644 --- a/drivers/sqlserver/sqlserver.go +++ b/drivers/sqlserver/sqlserver.go @@ -12,9 +12,13 @@ import ( "strings" sqlserver "github.com/microsoft/go-mssqldb" // DRIVER - _ "github.com/microsoft/go-mssqldb/azuread" // needed for azuresql authentication "github.com/xo/usql/drivers" "github.com/xo/usql/drivers/metadata" + + // needed for azuresql authentication, named pipes, and shared memory transport protocols + _ "github.com/microsoft/go-mssqldb/azuread" + _ "github.com/microsoft/go-mssqldb/namedpipe" + _ "github.com/microsoft/go-mssqldb/sharedmemory" ) func init() {