Use the padding word in the Mem object as temporary storage for
serial_type value in OP_Record, and thus avoid a redundant computation of
the serial_type for each column.
Optimize a database corruption test inside of the OP_Column opcode.
Make sure new sqlite3_vtab objects created by the xCreate() virtual table
method are initialized by the system, in accordance with the documentation.
Rearrange an expression in vdbemem.c to avoid a (harmless) reference to a possibly unitialized variable.
Add a four-byte prefix to the BtShared.pTmpSpace buffer to avoid reading
before the beginning of an allocation.
Fix a problem causing lock5.test to fail in mmap-mode.
Update releasetest.tcl so that x86-64 runs a superset of the x86 tests.
Update the vdbe-compress.tcl script to account for expressions of the form (123>var), where "var" should be replaced with a reference to a union member.
Changes to work around Win32 and MSVCRT APIs that are not present on Windows CE 200x.
Work around MSVC not being able to deduce that a local variable was initialized in a called function.
Version 3.8.7
Fix a (probably harmless) but in the CSV output mode of the command-line
shell.
If a skip-scan is a proper subset of some other scan, then adjust the
cost of the skip-scan upward so that it is more costly than the other scan.
Such a cost imbalance can arise under STAT4 because of difficulties in getting
an accurate estimate for skip-scans.
Improvements to the WHERETRACE debugging logic.
Further tuning of the cost estimates for skip-scan loops, especially for cases
when skip-scan loops are in competition with regular loops.
Call fsync() right after ftruncate() when in journal_mode=TRUNCATE and
when synchronous=FULL in order to ensure that transactions are durable
across a power loss that happens moments after the commit.  Proposed
fix for [https://bugzilla.mozilla.org/show_bug.cgi?id=1072773].
Take steps to avoid misestimating range query costs based on STAT4 data
due to the roundoff error of converting from integers to LogEst and back
to integers.
Merge latest trunk with this branch.