Re: [sqlite] Does WAL mode's SQLITE_BUSY special circumstances invoke the busy handler?

2018-05-09 Thread Clemens Ladisch
Donald Shepherd wrote: > The documentation on WAL databases includes a section with caveats re: > SQLITE_BUSY, included below. Do these invoke the busy handler (if > configured) or just return SQLITE_BUSY immediately? In general, SQLite calls the busy handler if there is a chance that the lock

[sqlite] Does WAL mode's SQLITE_BUSY special circumstances invoke the busy handler?

2018-05-08 Thread Donald Shepherd
The documentation on WAL databases includes a section with caveats re: SQLITE_BUSY, included below. Do these invoke the busy handler (if configured) or just return SQLITE_BUSY immediately? Making a valiant attempt to read the code leads me to believe it returns immediately without involving the