Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid.
Fix a harmless compiler warning in the command-line shell code.
Add tests for the invalid file handle detection logic in the winLock() function.
Add extra checking of the database extended error code.
Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid.
Fix a compile of harmless static analyzer warnings.
Fix a harmless "scan-build" compiler warning in the command-line shell.
Add the "valgrind-nolookaside" permutation to permutations.test.
Fix the query planner so that it once again knows that queries without a
FROM clause will never return more than one row and hence do not require
sorting.
Fix a typo in a requirements mark comment in a test script.  No changes to
code.
Remove the WHERE_LIKELIHOOD bit, as it does not seem to effect any result.
Add a test to double-check that [1cbe7a0883] did not affect anything.
Avoid closing a pseudo-table associated with sorting in a co-routine since
that pseudo-table might be used again in an outer loop.
Merge the 3.8.5 release candidate changes into the sessions branch.