]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If a skip-scan is a proper subset of some other scan, then adjust the
authordrh <drh@noemail.net>
Tue, 21 Oct 2014 01:05:09 +0000 (01:05 +0000)
committerdrh <drh@noemail.net>
Tue, 21 Oct 2014 01:05:09 +0000 (01:05 +0000)
commitc8bbce1e6a373fa7b74165aeddfc5be999cff8d9
tree764591148d33aac23471771f3b4c448ddff2a9f9
parent40253262e0b3f9bfd79b6a57c891eb0f0459a38f
If a skip-scan is a proper subset of some other scan, then adjust the
cost of the skip-scan upward so that it is more costly than the other scan.
Such a cost imbalance can arise under STAT4 because of difficulties in getting
an accurate estimate for skip-scans.

FossilOrigin-Name: f4b22a2620a5dc48949048c2ecbd226755d4b2c3
manifest
manifest.uuid
src/where.c
src/whereInt.h
test/skipscan6.test [new file with mode: 0644]