Change the type of a variable in struct SrcList so that it fits in a 100 byte lookaside buffer on a 64-bit architecture.
FossilOrigin-Name: 7df43f4892e628ecb8a83c5ed2dce5e24f6dd529
diff --git a/src/select.c b/src/select.c
index 5c5b615..6f64df8 100644
--- a/src/select.c
+++ b/src/select.c
@@ -3765,7 +3765,7 @@
}else{
sqlite3SelectDestInit(&dest, SRT_EphemTab, pItem->iCursor);
assert( pItem->isPopulated==0 );
- explainSetInteger(pItem->iSelectId, pParse->iNextSelectId);
+ explainSetInteger(pItem->iSelectId, (u8)pParse->iNextSelectId);
sqlite3Select(pParse, pSub, &dest);
pItem->isPopulated = 1;
pItem->pTab->nRowEst = (unsigned)pSub->nSelectRow;
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 18ac1d6..6e8b768 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1822,15 +1822,15 @@
u8 isPopulated; /* Temporary table associated with SELECT is populated */
u8 jointype; /* Type of join between this able and the previous */
u8 notIndexed; /* True if there is a NOT INDEXED clause */
+#ifndef SQLITE_OMIT_EXPLAIN
+ u8 iSelectId; /* If pSelect!=0, the id of the sub-select in EQP */
+#endif
int iCursor; /* The VDBE cursor number used to access this table */
Expr *pOn; /* The ON clause of a join */
IdList *pUsing; /* The USING clause of a join */
Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
char *zIndex; /* Identifier from "INDEXED BY <zIndex>" clause */
Index *pIndex; /* Index structure corresponding to zIndex, if any */
-#ifndef SQLITE_OMIT_EXPLAIN
- int iSelectId; /* If pSelect!=0, the id of the sub-select in EQP */
-#endif
} a[1]; /* One entry for each identifier on the list */
};