forked from forgejo/forgejo
Enables mssql support (#383)
* 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>
This commit is contained in:
parent
f2ff0ee846
commit
25b5ffb6af
44 changed files with 69268 additions and 14 deletions
11
vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3pre.go
generated
vendored
Normal file
11
vendor/github.com/denisenkom/go-mssqldb/mssql_go1.3pre.go
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// +build !go1.3
|
||||
|
||||
package mssql
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
func createDialer(p *connectParams) *net.Dialer {
|
||||
return &net.Dialer{Timeout: p.dial_timeout}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue