1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Fix for [54844eea3f]: Do not create automatic indexes on correlated sub-queries.

FossilOrigin-Name: 9f14fa56ba31afe3de8b0cf26ed09573a2cc2283
This commit is contained in:
dan
2011-07-08 16:10:54 +00:00
parent a9b1b91436
commit da79cf0cc9
7 changed files with 99 additions and 11 deletions

View File

@@ -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;