Enhancements to the Lemon parser generator
so that it creates a smaller and faster SQL parser.
Only create master journal files if two or more attached databases are all
modified, do not have PRAGMA synchronous set to OFF, and
do not have the journal_mode set to OFF, MEMORY, or WAL.
The query planner is able to optimize IN operators on virtual tables
even if the xBestIndex method does not set the
sqlite3_index_constraint_usage.omit flag of the
virtual table column to the left of the IN operator.
The query planner now does a better job of optimizing virtual table
accesses in a 3-way or higher join where constraints on the virtual
table are split across two or more other tables of the join.
More efficient handling of application-defined SQL functions, especially
in cases where the application defines hundreds or thousands of
custom functions.
The query planner considers the LIMIT clause when estimating the cost
of ORDER BY.
The configure script (on unix) automatically detects
pread() and pwrite() and sets compile-time options to use those OS
interfaces if they are available.
Reduce the amount of memory needed to hold the schema.
Other miscellaneous micro-optimizations for improved performance and reduced
memory usage.
Enhanced the ".stats" command in the command-line shell to show more
information about I/O performance obtained from /proc, when available.
Bug fixes:
Make sure the sqlite3_set_auxdata() values from multiple triggers
within a single statement do not interfere with one another.
Ticket dc9b1c91.
Fix the code generator for expressions of the form "x IN (SELECT...)" where
the SELECT statement on the RHS is a correlated subquery.
Ticket 5e3c886796e5512e.