]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix to the optimization of check-in [a47efb7c8520a011] that reads the values
authordrh <drh@noemail.net>
Sun, 22 Dec 2019 18:55:04 +0000 (18:55 +0000)
committerdrh <drh@noemail.net>
Sun, 22 Dec 2019 18:55:04 +0000 (18:55 +0000)
commit6c1c85ca483154aafa41883253a941f196fa6d03
tree894fd0d57c98da083073289cc3618c8f734e2bf0
parentdb1954be0a639168403ec69639b19e955fc2204d
Fix to the optimization of check-in [a47efb7c8520a011] that reads the values
of expressions used in an index-on-expression directly from the index rather
than recomputing the value.  If the expression has a top-level COLLATE or
unlikely() operator, be sure to clear the corresponding flags prior to
converting it into a TK_COLUMN expression.  Failure to do this is most likely
harmless in production, but might cause an assertion fault in debugging builds.
Ticket [b0cb8aff561a6dcd].  Test cases in TH3.

FossilOrigin-Name: 56539e1c132632c075efc217ad5951a35e4459605ac128914aec3a7be1e25718
manifest
manifest.uuid
src/wherecode.c