]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Make a hard copy of strings in constraint checks prior to applying
authordrh <drh@noemail.net>
Sun, 22 Dec 2019 20:29:25 +0000 (20:29 +0000)
committerdrh <drh@noemail.net>
Sun, 22 Dec 2019 20:29:25 +0000 (20:29 +0000)
commit5d762b2d1d5abc0fe8f438ee7e588bb29f830ab8
tree2684243d88bcc7908c2f3f7e4b6add8e2388afd0
parent6e827fa27de5aa52bff6067e8051f01c019e5d27
Make a hard copy of strings in constraint checks prior to applying
OP_RealAffinity, to avoid problems with a pointer accounting assert.
This change is not strictly necessary - the correct answer is obtained
without it and no UB occurs - however the pointer accounting asserts are
useful to prevent other problems so it is a simple matter to bring this
piece into compliance.  Ticket [5ad2aa6921faa1ee]

FossilOrigin-Name: 89a9dad6330270a4c3b962f86a208088d2ea9883c7d291351a77f058e0ed8b0c
manifest
manifest.uuid
src/expr.c
test/update.test