]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix the LIKE optimization so that it is disabled when the LHS of the
authordrh <drh@noemail.net>
Mon, 10 Sep 2018 12:40:57 +0000 (12:40 +0000)
committerdrh <drh@noemail.net>
Mon, 10 Sep 2018 12:40:57 +0000 (12:40 +0000)
commitb7a002f8367d74c7377a8c70b40c8680009b1b4e
tree3d853ce10826430a81f917916ba972b1f1463147
parenteb3fe0b9d45a70753b6e764f1d67a7eae9d89bdd
Fix the LIKE optimization so that it is disabled when the LHS of the
expression does not have TEXT affinity and the RHS is the pattern '/%'
or the RHS begins with the escape character. Fix for ticket
[c94369cae9b561b1f996d0054b].

FossilOrigin-Name: f191431d63aba187000b5cbaf3e072ff5f1b1eef6a2a407fb4d1629bda4e4e8f
manifest
manifest.uuid
src/whereexpr.c
test/like3.test