mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 21:06:08 +01:00
25b5ffb6af
* Enables mssql support Port of dlobs work in gogs. Enables options in index.js Enables MSSQL as a database option in go. Sets ID to 0 on initial migration. Required for MSSQL insert statements. Signed-off-by: Beau Trepp <beautrepp@gmail.com> * Vendors in denisenkom/go-mssqldb Includes golang.org/x/crypto/md4 as this is required by go-msssqldb Signed-off-by: Beau Trepp <beautrepp@gmail.com>
12 lines
171 B
Go
12 lines
171 B
Go
// +build go1.3
|
|
|
|
package mssql
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
func createDialer(p connectParams) *net.Dialer {
|
|
return &net.Dialer{Timeout: p.dial_timeout, KeepAlive: p.keepAlive}
|
|
}
|