Add test cases to cover TPC-H Q8.
Fix harmless compiler warning.
Remove two obsolete fields from the sqlite3 object.
Fix a couple more harmless compiler warnings.
For error log messages generated by the Win32 native allocator, make sure the correct format specifier is used for the value returned by GetLastError().