Skip to content
Commit Detail

Commit 4e349eb

Author
Kenton Varda <kenton@cloudflare.com> 2024-10-08 16:14:25 -0500
Parents
78b9d98
Tree
e064840
SQLite: Add SqliteDatabase::onRollback().

This registers a callback which will be called if the current transaction scope ends up being rolled back. We'll need this to fix bugs elsewhere.

The implementation requires that we keep track of the transaction stack, which is a bit of a pain. We can discover which statements affect the transaction stack via the authorizor callback.

Files changed

3 files changed~3 modified