]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Do not use the one-pass optimization on an UPDATE if there is a subquery
authordrh <>
Thu, 16 Mar 2023 10:21:52 +0000 (10:21 +0000)
committerdrh <>
Thu, 16 Mar 2023 10:21:52 +0000 (10:21 +0000)
commita0e71193e58a929fb31090fb15923e4629cc941f
tree4bef670c095e8f7318983f9d2197f1d7e0af72ed
parent9f773bfde608fa20f27b5bbfaaba32f8148eb6fe
Do not use the one-pass optimization on an UPDATE if there is a subquery
in the WHERE clause, since if the subquery is hidden behind a short-circuit
operator, the subquery might not be evaluated until after one or more rows
have been updated.

FossilOrigin-Name: b5d8a9a6a58b4eb81a663192f578e0fbed72e8155bc7e1100ece04e8394a1984
manifest
manifest.uuid
src/update.c
test/corruptL.test
test/delete.test
test/update.test