]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Silently ignore redundant ON CONFLICT clauses in an UPSERT. Only the first
authordrh <>
Fri, 8 Mar 2024 14:01:48 +0000 (14:01 +0000)
committerdrh <>
Fri, 8 Mar 2024 14:01:48 +0000 (14:01 +0000)
commit926fb60b05be799ff6e9f0013d2a0f393cfd380c
treec0da63211be0e1ec778187ea194e0917acccfc43
parentb89aa10cd0d980563df54b5ad0fb2214f06c7c80
Silently ignore redundant ON CONFLICT clauses in an UPSERT.  Only the first
ON CONFLICT for each index is active.  Do not issue an error, since that might
break legacy queries.  But ignore the redundant ON CONFLICT clauses to prevent
problems such as described in [forum:/forumpost/919c6579c8|forum post 919c6579c8].

FossilOrigin-Name: d0ea6b6ba64dba9d68c2b391ccf1171ea96fcdd7409dafdb2b697accb00246b8
manifest
manifest.uuid
src/insert.c
src/sqliteInt.h
src/upsert.c
test/upsert5.test