]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Cause the ANALYZE command to build sqlite_stat1 table entries for empty tables analyze-empty-tables
authordrh <drh@noemail.net>
Wed, 7 Jun 2017 10:55:02 +0000 (10:55 +0000)
committerdrh <drh@noemail.net>
Wed, 7 Jun 2017 10:55:02 +0000 (10:55 +0000)
commitdd032a73809fb3c3e8136504d5961f1bf38c6fc1
treef2e1d902af841063c3aa2b5f55c0474ec24dc3f0
parentd1417ee1cb250b913db2dd94adc725c2009eae17
Cause the ANALYZE command to build sqlite_stat1 table entries for empty tables
with the assumption that such tables really contain 10 elements.  This gives
better query plans for tables that are truely empty, but is likely to cause
problems in legacy systems, so the change is kept off trunk.  Some TCL tests
fail on this check-in due to the new stat1 entries.

FossilOrigin-Name: c81f260c2d4791e40f74c86927a4e9efb79a9d241a66476e4af35c7bbe37a49c
manifest
manifest.uuid
src/analyze.c
test/analyze.test
test/analyze3.test