Make sure the affinity and datatype of sub-subqueries are initialized
prior to subqueries as the latter relies on the former.
FossilOrigin-Name: 39b4e6ff9316cc78ea88349091e195b8104d1e9e
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 3722041..876629a 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2588,6 +2588,7 @@
int (*xSelectCallback)(Walker*,Select*); /* Callback for SELECTs */
Parse *pParse; /* Parser context. */
int walkerDepth; /* Number of subqueries */
+ u8 bSelectDepthFirst; /* Do subqueries first */
union { /* Extra data for callback */
NameContext *pNC; /* Naming context */
int i; /* Integer value */