Add definitions for the extra locks required for read-only clients to detect whether or not a database is live.
Fix a crash bug found by TH4.
Add the "PRAGMA vdbe_addoptrace" pragma for debugging.
Fix a bug in the IN processing in WHERE clauses.
Fix an unsafe VM register deallocation.
Merge trunk changes into this branch.
Add support for read-only clients reading from dormant databases using the checkpointer lock.
Changes to allow read-only clients to safely work with live databases.
Add a test case for a read-only transaction outlasting an entire read-write session. And a fix.
Instead of locking the CHECKPOINTER byte, have read-only connections take a SHARED lock on the ROTRANS byte when reading from a non-live db. Read-write connections may not recycle space within either the database or log files while such a lock is held, but may perform checkpoint operations.
Add a test to verify that an lsm_close() that disconnects the last connection to a database flushes the in-memory tree regardless of the multi-process or use-log settings.
Merge read-only-clients branch with trunk.
Remove the zeroblob interfaces.
Fix a problem in USE_LOG=0 mode.
Fix the query flattener to avoid an assert in TH4.
Add a summary of locks to lsm.wiki.
Add other notes to lsm.wiki.
Fix over-length source code lines in sqliteInt.h.
Add the "Programmers Introduction To SQLite4" document outlining the
desired API for SQLite4.
Remove the sqlite4_last_insert_rowid() and related infrastructure, since
in SQLite4 we no longer have a rowid.  Other cleanup of the sqlite4.h file.