Initial work on isolating usage of the Windows header file.
Correct line-endings in the new header file.
Merge updates from trunk.
Further work on Windows header file reform.
Fix comment.
Enhance the Win32 VFS I/O retry logic.
Merge updates from trunk.
Merge updates from trunk.
Add the SQLITE_RUNTIME_BYTEORDER compile-time option to force SQLite to check
the processor byte-order at run-time.  Add additional compile-time byte order
checks for ARM, PPC, and SPARC.
Clean up the proper-subset cost adjustment logic to make it more compact
and easier to read and so that full branch test coverage is more easily
obtained.
Avoid discarding an ORDER BY clause in the case where an identical GROUP BY clauses uses an index to group, but not sort, the rows. Fix for [b75a9ca6b0].
Comment tweaks on the test case for the [b75a9ca6b0] bug fix.
Changes to the way the planner calculates the costs of various table and index scans. Some test cases still failing.
When VDBE_PROFILE is enabled, ignore negative opcode times, which sometimes
occur, perhaps due to context swaps.
Make sure ORDER BY clauses on joins that involve virtual tables and that
have a DISTINCT clause work correctly.  This is a candidate fix for
ticket [388d01d4bb8f9].  Test cases for that ticket will be checked in
separately.
Store values loaded from the stat1 table as logarithmic values in memory.
Add test cases to ensure correct operation of joins with a virtual table
that include DISTINCT and ORDER BY clauses.  Verification for ticket
[388d01d4bb8f9].
If the user provides likelihood() data for a WHERE clause term used as part of an index key, have the planner use it when calculating the expected number of rows visited by the loop.
Avoid transfering records between tables unless the default values for all columns are the same. Fix for [f67b41381a].
Allow the xfer optimization to proceed if the DEFAULT on the very first
column of the two tables is different.  This is a refinement of the
fix for ticket [f67b41381a].