]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When the sqlite_stat1 data is missing for some indexes of a table but is
authordrh <drh@noemail.net>
Thu, 28 May 2020 00:45:16 +0000 (00:45 +0000)
committerdrh <drh@noemail.net>
Thu, 28 May 2020 00:45:16 +0000 (00:45 +0000)
commit56c65c92cb922039fe3edb4f624a79acdcc7a5c2
tree210c92bce832b11289a9b25c8e5702bd3829a05b
parentb639a2094a39d2e02acb4dbc912d9f3ebd988d09
When the sqlite_stat1 data is missing for some indexes of a table but is
present for the table itself or for other indexes in the same table, then do
not let the estimated number of rows in that table get too small, as
doing so can deceive the query planner into ignoring a perfectly good index.

FossilOrigin-Name: 98d4262018a81a9a36dd8beb4b02ff0e75cdcbb8a121d143157ffb37b228d60d
manifest
manifest.uuid
src/build.c
test/cost.test
test/index7.test