summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3.go')
-rw-r--r--vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3.go b/vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3.go
new file mode 100644
index 0000000000..b8cffe9c01
--- /dev/null
+++ b/vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3.go
@@ -0,0 +1,11 @@
+// +build go1.3
+
+package mssql
+
+import (
+ "net"
+)
+
+func createDialer(p connectParams) *net.Dialer {
+ return &net.Dialer{Timeout: p.dial_timeout, KeepAlive: p.keepAlive}
+}