]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Make sure that INSERT INTO ... SELECT ... always uses an ephemeral
authordrh <drh@noemail.net>
Fri, 23 Nov 2007 15:02:19 +0000 (15:02 +0000)
committerdrh <drh@noemail.net>
Fri, 23 Nov 2007 15:02:19 +0000 (15:02 +0000)
commit48d1178ad84a80f39c38d56bc5d7371ff3a8c37d
treeee36dbfa6330da589b7991a9d689bac51dbc612b
parentf4ce8ed04889329a74f9114bea50bd91afd6e03c
Make sure that INSERT INTO ... SELECT ... always uses an ephemeral
intermediate table if the SELECT clause refers to the destination table,
even if the SELECT clause is compound or uses the destination table
in a subquery.  This fixes a long-standing bug that can cause an
infinite loop for some SQL statements. (CVS 4552)

FossilOrigin-Name: 492b39b6a8bf4ad8792d7a7949f77827a5047fd8
manifest
manifest.uuid
src/insert.c
test/insert5.test [new file with mode: 0644]