]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Disallow the one-pass optimization for DELETE if the WHERE clause contains
authordrh <>
Wed, 15 Mar 2023 17:58:51 +0000 (17:58 +0000)
committerdrh <>
Wed, 15 Mar 2023 17:58:51 +0000 (17:58 +0000)
commitffcad5893aa40c52629d02851b05de20cee60f0d
tree47831f5b2c696dac1b080b3cfd7d8596627e1092
parenteb5d71ed58ce1b5b9a68c928f48063e4e3969467
Disallow the one-pass optimization for DELETE if the WHERE clause contains
a subquery.  Fix for the problem reported by
[forum:/forumpost/e61252062c9d286d|forum post e61252062c9d286d].  This fix
is more restrictive than necessary.  It could be relaxed if the subquery does
not involve the table that is the subject of the DELETE.

FossilOrigin-Name: 73f0036f045bf37193b6e87ae45b578c5831614c530488257c69666178da3aa5
manifest
manifest.uuid
src/delete.c
src/resolve.c
src/sqliteInt.h
test/delete.test