Enhancements and updates to the Win32 mutex subsystem.
Merge updates from trunk.
Enhancements and updates to the Win32 mutex subsystem.
Ensure that the correct number of columns in a UNIQUE index are checked for
uniqueness, regardless of whether or not the original table has a ROWID or
if the columns are NOT NULL, etc.  Ticket [9a6daf340df99ba93c].
Merge recent trunk changes, and especially the fix for the CREATE UNIQUE INDEX
problem of ticket [9a6daf340df99ba9].
Mark some invariants in the vdbesort.c logic when SQLITE_MAX_WORKER_THREADS==0.
Add a new sqlite3FaultSim() call to vdbePmaReaderSeek() to facilitate
tests of error handling in the sorter.