Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions sharedmemory/sharedmemory.go

This file was deleted.

3 changes: 3 additions & 0 deletions sharedmemory/sharedmemory_others.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//go:build !windows || !(amd64 || 386)

package sharedmemory
10 changes: 10 additions & 0 deletions sharedmemory/sharedmemory_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build windows && (amd64 || 386)

package sharedmemory

import (
Expand All @@ -11,6 +13,8 @@ import (
"github.com/microsoft/go-mssqldb/msdsn"
)

type sharedMemoryDialer struct{}

func (n sharedMemoryDialer) ParseServer(server string, p *msdsn.Config) error {
if p.Port > 0 {
return fmt.Errorf("Shared memory disallowed due to port being specified")
Expand Down Expand Up @@ -67,3 +71,9 @@ func (n sharedMemoryDialer) DialConnection(ctx context.Context, p *msdsn.Config)
func (n sharedMemoryDialer) CallBrowser(p *msdsn.Config) bool {
return false
}

func init() {
dialer := sharedMemoryDialer{}
msdsn.ProtocolParsers = append(msdsn.ProtocolParsers, dialer)
msdsn.ProtocolDialers["lpc"] = dialer
}
37 changes: 0 additions & 37 deletions sharedmemory/stub.go

This file was deleted.

2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "fmt"

// Update this variable with the release tag before pushing the tag
// This value is written to the prelogin and login7 packets during a new connection
const driverVersion = "v1.9.4"
const driverVersion = "v1.9.5"
Copy link
Collaborator

@shueybubbles shueybubbles Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v1.9.5"

i may merge another PR or two before pushing this tag #Resolved

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, as you like. It would be perfect for us to get a release before Dec 3rd to include the feature into our release but it's not a must...


func getDriverVersion(ver string) uint32 {
var majorVersion uint32
Expand Down
Loading