[chore] update go-sqlite3 to v0.19.0 (#3406)

This commit is contained in:
kim 2024-10-08 09:15:09 +00:00 committed by GitHub
commit 2c3f1f4ddb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 274 additions and 171 deletions

View file

@ -284,7 +284,10 @@ func walCallback(ctx context.Context, mod api.Module, _, pDB, zSchema uint32, pa
//
// https://sqlite.org/c3ref/autovacuum_pages.html
func (c *Conn) AutoVacuumPages(cb func(schema string, dbPages, freePages, bytesPerPage uint) uint) error {
funcPtr := util.AddHandle(c.ctx, cb)
var funcPtr uint32
if cb != nil {
funcPtr = util.AddHandle(c.ctx, cb)
}
r := c.call("sqlite3_autovacuum_pages_go", uint64(c.handle), uint64(funcPtr))
return c.error(r)
}