aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2011-07-08 16:10:54 +0000
committerdan <dan@noemail.net>2011-07-08 16:10:54 +0000
commitda79cf0cc9cc00588782f771b76b087460507586 (patch)
tree4306b571115be02141a1a233c52fe57221a5c9a8 /src/expr.c
parenta9b1b914362d21ab6367294f28a1a625f082b100 (diff)
downloadsqlite-da79cf0cc9cc00588782f771b76b087460507586.tar.gz
sqlite-da79cf0cc9cc00588782f771b76b087460507586.zip
Fix for [54844eea3f]: Do not create automatic indexes on correlated sub-queries.
FossilOrigin-Name: 9f14fa56ba31afe3de8b0cf26ed09573a2cc2283
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c
index be2f4d7c6..ab4547db9 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -902,6 +902,7 @@ SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags){
pNewItem->jointype = pOldItem->jointype;
pNewItem->iCursor = pOldItem->iCursor;
pNewItem->isPopulated = pOldItem->isPopulated;
+ pNewItem->isCorrelated = pOldItem->isCorrelated;
pNewItem->zIndex = sqlite3DbStrDup(db, pOldItem->zIndex);
pNewItem->notIndexed = pOldItem->notIndexed;
pNewItem->pIndex = pOldItem->pIndex;