mssql_go19pre.go 357 B

12345678910111213141516
  1. // +build !go1.9
  2. package mssql
  3. import (
  4. "database/sql/driver"
  5. "fmt"
  6. )
  7. func (s *Stmt) makeParamExtra(val driver.Value) (param, error) {
  8. return param{}, fmt.Errorf("mssql: unknown type for %T", val)
  9. }
  10. func scanIntoOut(name string, fromServer, scanInto interface{}) error {
  11. return fmt.Errorf("mssql: unsupported OUTPUT type, use a newer Go version")
  12. }