This repository was archived by the owner on Oct 18, 2023. It is now read-only.
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
Queue write transactions instead of erroring out? #510
Open
Description
@glommer had the idea of queueing write transactions instead of erroring out with SQLITE_BUSY
. We could use the sqlite3_stmt_readonly()
interface to figure out if a statement is a write or read and queue writes to execute them one at a time. However, the tricky bit is interactive transactions where you could first have some reads before a write, which means you'd need to queue transactions in the middle.