mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Bump version to 5.11.0
This commit is contained in:
parent
a32510b8e6
commit
510e1bd0bd
370 changed files with 18825 additions and 5454 deletions
15
vendor/github.com/microsoft/go-mssqldb/version.go
generated
vendored
Normal file
15
vendor/github.com/microsoft/go-mssqldb/version.go
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
package mssql
|
||||
|
||||
import "fmt"
|
||||
|
||||
// Update this variable with the release tag before pushing the tag
|
||||
// This value is written to the prelogin and login7 packets during a new connection
|
||||
const driverVersion = "v1.5.0"
|
||||
|
||||
func getDriverVersion(ver string) uint32 {
|
||||
var majorVersion uint32
|
||||
var minorVersion uint32
|
||||
var rev uint32
|
||||
_, _ = fmt.Sscanf(ver, "v%d.%d.%d", &majorVersion, &minorVersion, &rev)
|
||||
return (majorVersion << 24) | (minorVersion << 16) | rev
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue