]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When computing an expression value for an index-on-expression or a CHECK
authordrh <drh@noemail.net>
Mon, 2 Sep 2019 00:58:44 +0000 (00:58 +0000)
committerdrh <drh@noemail.net>
Mon, 2 Sep 2019 00:58:44 +0000 (00:58 +0000)
commitbffdd636339b32c706253e8c791ccca8b3f88f19
tree0c1aa485d441031c18d5f97078ec42db784223a3
parentcc80db69e9c52304b50209a4aca66b1ae908b602
When computing an expression value for an index-on-expression or a CHECK
constraint and the expressions uses a REAL table column, but the value of
that column is an integer (in other words, when it is using the
store-real-as-integer optimization) be sure to promote the value to real
before evaluating the expression.  Ticket [57af00b6642ecd68].

FossilOrigin-Name: 0658c16e311393c8a347b1bd41fa5dbfd2e184aa75d84c011aa8dbac79b632e9
manifest
manifest.uuid
src/expr.c
test/check.test
test/indexexpr1.test