]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Do not attempt the OR-optimization on conjuncts that contain COLLATE
authordrh <>
Mon, 18 May 2026 14:28:53 +0000 (14:28 +0000)
committerdrh <>
Mon, 18 May 2026 14:28:53 +0000 (14:28 +0000)
commite087d0f266fce5bc1d2ea804a83bad68c427f654
tree0d0657641bf9c3093b9e68cd369507eda9cc99a7
parentb6ea7f05506c278d15200075fad1bc5a1e999521
Do not attempt the OR-optimization on conjuncts that contain COLLATE
operators because (1) such cases are rare and (2) they are tricky to
get right and are thus prone to bugs and hard to test.
[bugs:/forumpost/329521b269|Bugs report 329521b269] is one
such bug that goes back about 20 years and thus demonstrates both
points of the previous sentence.

FossilOrigin-Name: 622882529558b4779dfb7246bd5a9de776555c8f940bb941397fb56fb9f97e43
manifest
manifest.uuid
src/whereexpr.c
test/bestindexC.test
test/where2.test