Update the implementation of ".testctrl" in the command-line shell to use
a look-up table rather than a long sequence of if-elses. Shorten source
code lines of shell.c to 80 characters or less.
check-in: 54bacb95 user: drh tags: trunk

Allow multiplex file names to be preceeded by prefix of the form ":multiplex:chunksize:maxchunks:"
Still work to be done, though it compiles and prefixes are ignored.
check-in: cfa4a2f7 user: shaneh tags: multiplex-enhancements

Add the new optional "unix-excl" VFS. This VFS grabs an exclusive lock on
the database preventing other processes from accessing it, but continues to
allow other database connections from the same process.
check-in: 00051c32 user: drh tags: unix-excl

Backport a fix from [6b0cabd017ed25] (version 3.6.16 - 2009-03-05) to the
3.6.1 branch, a fix that prevents a null pointer deref if one of the
column access routines such as sqlite3_column_int() is called with a
NULL first parameter.
check-in: df343640 user: drh tags: branch-3.6.1

Fix all known instances of signed-integer overflow. Within SQL expressions,
integer overflow now forces coercion to floating point. The shift operators
work with any integer right-hand operand with negative values reversing
the direction of the shift.
check-in: abf21394 user: drh tags: trunk

Make sure the rtreenode() testing and analysis routine in the RTREE extension
can handle 64-bit rowids. This fix is in response to a message on the
mailing list.
check-in: 24602557 user: drh tags: trunk

Log all error from close() in os_unix.c to sqlite3_log() but do not attempt to
report errors back up to the application. Update the unix error logging to
put the most important information earlier in the message.
check-in: 7b6e30e6 user: drh tags: trunk

When a stale schema-cookie is seen, expire only the one statement that
encountered the bad cookie, not every statement on the database
connection. Ticket [b72787b1a7cea1f]check-in: 1bca0a7e user: drh tags: trunk

Do not report the database corruption if the the db size header field is
greater than the file size on disk unless the two change-counter header
fields are identical. Fix for ticket [89b8c9ac54]. Backport by cherrypick
of [00c4596f0b270].
check-in: e2616004 user: drh tags: branch-3.7.4

Make sure the change-counter and SQLite-version fields of the header are
set correctly even after vacuuming. This is a backport of changes
[0be92a7576] and [04fa1e1690] to address ticket [5d863f876ee].
check-in: 442be135 user: drh tags: branch-3.7.4

Do not raise an SQLITE_CORRUPT error in Recoverymode if the database size
in the header is larger than the physical file size. This is a cherrypick
of checkin [114640d920e16c8]
check-in: 7701b077 user: drh tags: branch-3.7.4

Backport the changes of checkin [cf86affcb7d308949]
("Make wal_checkpoint a no-op if a prior checkpoint has already copied
all WAL content into the database.") to the 3.7.4 release.
check-in: e6e540ab user: drh tags: branch-3.7.4

Fix problems in the backport, reducing the number of errors in the TCL tests
to just a few dozen. Most of the remaining errors seem to be real and
desirable changes of behavior.
check-in: 9d2b0af2 user: drh tags: branch-3.7.2

This is the beginning of an attempt to backport recent query planner
enhancements to version 3.7.2. The code in this version builds and runs and
seems to give correct answers, but it generates suboptimal query plans and
hence many of the test cases fail. The test script gives up after 1000 errors.
check-in: e72cf118 user: drh tags: branch-3.7.2

Fix a bug in the new WHERE-clause processing that tries to use an
index to resolve IS NOT NULL constraints when SQLITE_ENABLE_STAT2 is
defined. The bug could cause memory overruns and segfaults. The bug
was new to the code and has not appeared in an official release.
Found during structural testing.
check-in: a5c36b9f user: drh tags: trunk

Prevent a segfault when automatic indices try to use a column with an
unknown collating function. Ticket [77aa3b1e6592582e38605d36]. This
check-in also removes some stray \r characters unrelated to the problem.
check-in: f01030a0 user: drh tags: trunk