Loop through the elements on the RHS of an IN operator in reverse order when
the ORDER BY clauses specifies DESC.
FossilOrigin-Name: f78395c8896666bb1359b83fbcd58d5e3dbc39d3
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index f036970..c58b0af 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1965,6 +1965,7 @@
struct InLoop {
int iCur; /* The VDBE cursor used by this IN operator */
int addrInTop; /* Top of the IN loop */
+ u8 eEndLoopOp; /* IN Loop terminator. OP_Next or OP_Prev */
} *aInLoop; /* Information about each nested IN operator */
} in; /* Used when plan.wsFlags&WHERE_IN_ABLE */
Index *pCovidx; /* Possible covering index for WHERE_MULTI_OR */