[chore] Update ncruces/go-sqlite3 to 0.21.3

This includes some additional locking fixes for the BSDs.
This commit is contained in:
Daniele Sluijters 2024-12-20 11:49:52 +01:00
commit 3ae7902070
13 changed files with 111 additions and 101 deletions

View file

@ -265,10 +265,11 @@ func (a *arena) mark() (reset func()) {
ptrs := len(a.ptrs)
next := a.next
return func() {
for _, ptr := range a.ptrs[ptrs:] {
rest := a.ptrs[ptrs:]
for _, ptr := range a.ptrs[:ptrs] {
a.sqlt.free(ptr)
}
a.ptrs = a.ptrs[:ptrs]
a.ptrs = rest
a.next = next
}
}