]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Only run the OP_OpenRead opcodes for a correlated subquery once, on the initial open-only-once
authordrh <drh@noemail.net>
Wed, 26 Feb 2014 19:05:53 +0000 (19:05 +0000)
committerdrh <drh@noemail.net>
Wed, 26 Feb 2014 19:05:53 +0000 (19:05 +0000)
commitcb0540f94a3f6103e5f8fc58fbad25a366c4e2f5
tree72d08b80828f8f715d778d111df4226000b73a91
parent3852b68edd2d378f9f4a4b2377654ecbb6d423c1
Only run the OP_OpenRead opcodes for a correlated subquery once, on the initial
iteration. Keep the cursor open for subsequent runs. This was suppose to be a
performance enhancement, but it is difficult to come up with a query where
is makes a significant difference.  Hence, the change is getting parked
in a branch.

FossilOrigin-Name: 3ad687b7aa908b0e914be48cc8a21af5d07e52d9
manifest
manifest.uuid
src/expr.c
src/select.c
src/sqliteInt.h
src/where.c