Skip to content

Merge upstream - #50

Closed
otoolep wants to merge 40 commits into
masterfrom
merge-upstream
Closed

otoolep wants to merge 40 commits into
masterfrom
merge-upstream

Conversation

@otoolep

@otoolep otoolep commented Aug 20, 2026

Copy link
Copy Markdown
Member

No description provided.

mattn added 30 commits July 29, 2026 01:58
Release vtable and cursor handles when SQLite destroys them
Do not clobber SQLite's default cost estimates in BestIndex
Translate SQL NULL filter arguments to nil like goVUpdate
Identify updated row by argv 0 in goVUpdate
Ignore Used for constraints SQLite marked not usable
Reject nil module and nil BestIndex result
Fail upgrade tool on download and write errors
Fix off-by-one truncating SQL in fuzz target
Fix wrong results and cursor state sharing in series example
Use the table name from xCreate args in vtable example
mattn and others added 10 commits July 29, 2026 07:02
Close prepared statement and fail if limit is not enforced in limit example
Handle NULL and BLOB values in json example Scan
Add workflow to create releases on tag push
SQLite retains p->pVtab when xDestroy returns an error and later calls
xDisconnect on the same object (during sqlite3VtabUnlock or close).
Deleting the Go-side handle on the xDestroy error path made that later
xDisconnect panic with a nil type assertion in goVRelease.

Release the handle only after a successful xDestroy (or any xDisconnect,
where SQLite always discards the object). Found in the 0xCarbon fork's
SQLCipher sync; regression test panics on the previous code.
fix: keep vtab handle registered when xDestroy fails
@otoolep otoolep closed this Aug 25, 2026
@otoolep
otoolep deleted the merge-upstream branch August 25, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants