1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00
documize/vendor/github.com/denisenkom/go-mssqldb/msdsn/conn_str_go118pre.go
2021-08-19 13:02:56 -04:00

9 lines
337 B
Go

// +build !go1.18
package msdsn
// disableRetryDefault is true for versions of Go less than 1.18. This matches
// the behavior requested in issue #275. A query that fails at the start due to
// a bad connection is not retried. Instead, the detailed error is immediately
// returned to the caller.
const disableRetryDefault bool = true