Attempt to modify btree.c so that it assumes that calls to sqlite3PagerWrite()
will reallocate the page buffer. As there is not good way to test this
assumption yet, probably a few spots were missed.
check-in: ceee03c7 user: drh tags: experimental-pcache

Make sure to flag benign malloc failures in the Windows VFS as such. Expand use of the DO_OS_MALLOC_TEST to cover the VFS functions that can now return an out of memory error. Support an experimental --match option to the test suite that will run only those tests matching the specified pattern.
Closed-Leaf
check-in: 76dec8aa user: mistachkin tags: winSyscall

Use sqlite3MallocSize() to get the actual size of the memory allocation
used for lookaside cache and increase the size of the cache to use the
full allocation.
check-in: 0e53ecad user: drh tags: experimental-pcache

For the mem1.c system malloc implementation, use the malloc_usable_size()
function if the HAVE_MALLOC_USABLE_SIZE macro is defined. Update autoconf
to look for that function when configuring.
check-in: 2e8ab3ce user: drh tags: experimental-pcache

Change the default file format from 1 to 4. This means that, unless
PRAGMA legacy_file_format=ON is used first,
new databases will not be readable by versions prior to 3.3.0 (2006-01-10).
check-in: a35f52b1 user: drh tags: trunk

Update the xfer optimization code so that the xfer optimization can be used
with INTEGER PRIMARY KEY ON CONFLICT ... as long as the destination table
is initially empty. Improvements to the comments on the xfer optimization.
New test cases added.
check-in: e3f368cd user: drh tags: trunk

Use mkdir() and rmdir() rather than open() and unlink() to create the lock
files with the unix-dotlock VFS. The change is backwards compatible and,
we are told, works better on some network filesystems.
check-in: e2f08426 user: drh tags: trunk

If an error occurs within sqlite3_step() on a statement prepared using sqlite3_prepare_v2(), transfer both the error code and error message to the database handle before sqlite3_step() returns (so that they are available via sqlite3_errcode() and sqlite3_errmsg(). Prior to this commit, only the error code was transfered. The error message was not available until after either sqlite3_reset() or sqlite3_finalize() had been called on the statement handle.
check-in: 8f88cc4e user: dan tags: trunk

If an error occurs while writing to the database file during a VACUUM, discard the contents of the in-memory cache. This is required as if the database is a zipvfs database, the contents of the cache may be inconsistent with respect to the database as stored on disk.
check-in: 07159e84 user: dan tags: trunk

Change the way ^ tokens work in FTS so that the filtering is done as part of reading the FTS index instead of waiting until an entire doclist has been retrieved and then filtering it.
check-in: 9b58c59e user: dan tags: fts4-content

Added the tool/warnings-clang.sh script. Changes so that there are no
warnings with either gcc or clang even including FTS4 and RTREE and
both with and without SQLITE_THREADSAFE=0.
check-in: 39408702 user: drh tags: trunk

Add assert() statements and eliminate needless variable assignments in order
to get the clang scan-build utility to report zero problems against the
SQLite core. Clang's static analysis did find one real problem - but it was
in the command-line shell, not in the SQLite core.
check-in: 60fee957 user: drh tags: trunk

Simplifications to the upper() and lower() SQL functions.
Updates to documentation on sqlite3_bind_text() and sqlite3_result_text()
to make it clear that users should not try to create strings with
embedded NULs and that if they do the result of expression on those strings
is undefined. Ticket [57c971fc74524a]check-in: 9984cc20 user: drh tags: trunk