]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Do not apply the optimization that omits DISTINCT if all result terms are
authordrh <>
Tue, 6 Apr 2021 23:29:41 +0000 (23:29 +0000)
committerdrh <>
Tue, 6 Apr 2021 23:29:41 +0000 (23:29 +0000)
commit204b6342227c9df463cd23f8ba22972c8800913d
treeade775b63dcbc9b1a3d0c04b2a122976f95bcb4c
parenta74364ae131a5499e836f9b7b1de823802f3d19d
Do not apply the optimization that omits DISTINCT if all result terms are
part of a UNIQUE index if the index is also a partial index.
Fix for the bug reported by
[forum:/forumpost/66954e9ece|forum post 66954e9ece].

FossilOrigin-Name: c2f940b02883e165172a4ca21c7095ffbef84ddc5367853dfeca93fda20d6056
manifest
manifest.uuid
src/where.c
test/distinct.test