mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 11:52:25 -05:00
[chore] bump ncruces/go-sqlite3 to v0.25.0 (#3966)
This commit is contained in:
parent
6473886c8e
commit
db4b857159
36 changed files with 636 additions and 578 deletions
2
vendor/github.com/ncruces/go-sqlite3/util/sql3util/sql3util.go
generated
vendored
2
vendor/github.com/ncruces/go-sqlite3/util/sql3util/sql3util.go
generated
vendored
|
|
@ -5,5 +5,5 @@ package sql3util
|
|||
//
|
||||
// https://sqlite.org/fileformat.html#pages
|
||||
func ValidPageSize(s int) bool {
|
||||
return 512 <= s && s <= 65536 && s&(s-1) == 0
|
||||
return s&(s-1) == 0 && 512 <= s && s <= 65536
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue