aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-12-12 15:19:18 +0000
committerdrh <drh@noemail.net>2019-12-12 15:19:18 +0000
commit77318a3c3f22f34a3b88e2522f1be966bfb4073b (patch)
treeaf9a1d52c1e30f0be92932d1aa1887152f07517a /src/wherecode.c
parent3ecc05bc3fb414a0a184b4d69d5ecc38ddb24951 (diff)
downloadsqlite-77318a3c3f22f34a3b88e2522f1be966bfb4073b.tar.gz
sqlite-77318a3c3f22f34a3b88e2522f1be966bfb4073b.zip
Factor out the conditional (which is only true for rare errors) from the
notValid() function in resolve.c, for a performance improvement and size reduction. Also cause failures to set the Expr node to a NULL operator so that it does not cause problems later in case PRAGMA writable_schema=ON has been set. Test cases in TH3. FossilOrigin-Name: c6af9f655b73200ecc0c4189698e421af6ca584babdc76e73a36d468b2eea1f9
Diffstat (limited to 'src/wherecode.c')
0 files changed, 0 insertions, 0 deletions