mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 08:42:14 +01:00
78e5317242
* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
16 lines
357 B
Go
Vendored
16 lines
357 B
Go
Vendored
// +build !go1.9
|
|
|
|
package mssql
|
|
|
|
import (
|
|
"database/sql/driver"
|
|
"fmt"
|
|
)
|
|
|
|
func (s *Stmt) makeParamExtra(val driver.Value) (param, error) {
|
|
return param{}, fmt.Errorf("mssql: unknown type for %T", val)
|
|
}
|
|
|
|
func scanIntoOut(name string, fromServer, scanInto interface{}) error {
|
|
return fmt.Errorf("mssql: unsupported OUTPUT type, use a newer Go version")
|
|
}
|