Skip to content

Commit 75ee9a4

Browse files
committed
Force Freetds to use "SQL Server 2008" version of data access protocol during tests.
1 parent 29ced90 commit 75ee9a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mssql_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func newConnParams() connParams {
5757
params["uid"] = *msuser
5858
params["pwd"] = *mspass
5959
params["port"] = *msport
60+
params["TDS_Version"] = "8.0"
6061
//params["clientcharset"] = "UTF-8"
6162
//params["debugflags"] = "0xffff"
6263
} else {

0 commit comments

Comments
 (0)