Skip to content

Commit

Permalink
Adding shared memory and named pipe imports for Microsoft SQL Server …
Browse files Browse the repository at this point in the history
…driver
  • Loading branch information
kenshaw committed Oct 19, 2023
1 parent 68aab1c commit 42569f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/sqlserver/sqlserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 42569f8

Please sign in to comment.