Skip to content

uat/sqlite3: override lend on sqlite3_prepare_v2 and sqlite3_exec (#3374, Eric's ruling: option B) - #3392

Merged
ehartford merged 1 commit into
mainfrom
sqlite3-override-lend
Nov 17, 2026
Merged

ehartford merged 1 commit into
mainfrom
sqlite3-override-lend

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Eric ruled option B on #3374 (2026-11-16); the two lines are his blessed text.

Where sqlite3 is built from source (Windows) the proofs bind, and the proof that each function stores the connection is the back-pointer of the connection's own error value (db->pErr, sqlite3ValueNew: p->db = db). The engine cannot yet show that memory is reachable only through db (#3124, #3175); each override is reported stale and deleted when it can.

Evidence:

  • Mac: with uat sqlite3 passes; the audit reports both overrides stale (no binding proof on a prebuilt package).
  • The Windows proofs placed beside the fetched package on the Mac: without the overrides, the nightly's two errors; with them, with check is ok and audit:contract reports overrides=2 stale-overrides=0.
  • Battery GREEN on 5b0dce4.

Closes #3374 once the dispatched nightly shows the Windows scenario green.

…ic's ruling, #3374 option B). The proof that each stores the connection is the back-pointer of the connection's own error value; where the package is built from source (Windows) the proof binds and refused the scenario
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.

Windows release UAT: the sqlite3 scenario's contract is refused, a proof says sqlite3_prepare_v2 stores param 0 (Windows only)

1 participant