]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Only use the skip-ahead-distinct optimization if the index has been analyzed
authordrh <drh@noemail.net>
Thu, 13 Apr 2017 13:01:59 +0000 (13:01 +0000)
committerdrh <drh@noemail.net>
Thu, 13 Apr 2017 13:01:59 +0000 (13:01 +0000)
commit839fa6d8144360436c06450a6a0223ad5640bad3
treed5a3068949576a5dfc3c674d5fdec211f4ee5bcb
parent8489bf5aff75791c6426a251c157945f1f858f03
Only use the skip-ahead-distinct optimization if the index has been analyzed
and we know that a skip-head is likely to skip over at least 11 rows.  The
magic number 11 was determined by experimentation.

FossilOrigin-Name: 0cf16decd534bf2d66620c293f8c8987f356305f2d97f8fd12d260bda1571385
manifest
manifest.uuid
src/where.c