diff options
author | drh <drh@noemail.net> | 2018-08-14 15:12:52 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-08-14 15:12:52 +0000 |
commit | 8430450674663fc453e10d78d942df9cc851da7f (patch) | |
tree | 751ddcef772d29acc44ae1a17a23574ef47d7e28 /src/expr.c | |
parent | ef52b36a6b7401c44e5031fd14ded929b93076e8 (diff) | |
download | sqlite-8430450674663fc453e10d78d942df9cc851da7f.tar.gz sqlite-8430450674663fc453e10d78d942df9cc851da7f.zip |
Fix UPSERT so that it checks the target-constraint first and fires the
DO UPDATE if that constraint is violated regardless of whether or not
other constraints are in violation. This aligns SQLite behavior with
what PostgreSQL does. Fix for ticket [908f001483982c43cdb476dfb590a1a].
FossilOrigin-Name: 529fb55e3d00472f13446117527b0896827b11e870b581af7fe7cbb7392ef3cd
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions