]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If a RETURNING clause contains a subquery that references the table that is
authordrh <>
Wed, 24 Apr 2024 16:36:37 +0000 (16:36 +0000)
committerdrh <>
Wed, 24 Apr 2024 16:36:37 +0000 (16:36 +0000)
commit0868d58e2caa16f19e843602bf2ca58653653162
tree5ed978f5b9bf337f5e15fd7d37695ad6d31988ac
parentdfa628915328180a3cbb96d4407c11212258db94
If a RETURNING clause contains a subquery that references the table that is
being updated in the statement that includes the RETURNING clause, then mark
the subquery as correlated sot hat it is recomputed for each result and not
just computed once and reused.  See
[forum:/forumpost/2c83569ce8945d39|forum post 2c83569ce8945d39].

FossilOrigin-Name: 9ea6bcc8fdf6aadb756ec5bcaaa7af314167f8973bdd32fd23f83bd964f0c21e
manifest
manifest.uuid
src/trigger.c
test/returning1.test