]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Ensure that all ON CONFLICT REPLACE indexes are sorted to the end of the list
authordrh <drh@noemail.net>
Sun, 15 Dec 2019 02:49:32 +0000 (02:49 +0000)
committerdrh <drh@noemail.net>
Sun, 15 Dec 2019 02:49:32 +0000 (02:49 +0000)
commitd35bdd6c090ddc4d85213dc0bf8cb432966eb38a
tree36b94aa341359dcce43b46e67c35ad56771fcd42
parent95866af326ad06f6162fc7448100e0162ea2e2e6
Ensure that all ON CONFLICT REPLACE indexes are sorted to the end of the list
of indexes for a table, even for weird cases where the same UNIQUE constraint
occurs twice with the ON CONFLICT REPLACE clause only on the second one.  This
avoids an out-of-order contraint processing problem that can arise due
to the optimization of check-in [469a62ca33081854].

FossilOrigin-Name: 1e3918ca2f2c1cfcfa44249b1d7b847d52cbb8d302a8d4a335c090cfdf22d7a1
manifest
manifest.uuid
src/build.c
src/insert.c
test/conflict.test