Files
PaperClipAI/doc
DottaandClaude Opus 5.5 84732c8f67 fix(db): restart a transaction at the driver instead of running its callback again
When the first statement of a transaction fails with a prepared-statement
error, roll back, begin again with the same options, repeat its SET
TRANSACTION statements, and run the statement unprepared on the same
connection, so the callback runs once and receives the result. Count tagged
statements and savepoint statements toward the transaction's execution order,
restart only when no other statement of the transaction is queued, and never
restart inside a savepoint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:37:38 -06:00
..
…
…
…
…