Lines Matching defs:SortCtx
48 typedef struct SortCtx SortCtx; typedef
49 struct SortCtx { struct
50 ExprList *pOrderBy; /* The ORDER BY (or GROUP BY clause) */
51 int nOBSat; /* Number of ORDER BY terms satisfied by indices */
52 int iECursor; /* Cursor number for the sorter */
53 int regReturn; /* Register holding block-output return address */
54 int labelBkOut; /* Start label for the block-output subroutine */
55 int addrSortIndex; /* Address of the OP_SorterOpen or OP_OpenEphemeral */
56 int labelDone; /* Jump here when done, ex: LIMIT reached */
57 int labelOBLopt; /* Jump here when sorter is full */
58 u8 sortFlags; /* Zero or more SORTFLAG_* bits */
60 u8 nDefer; /* Number of valid entries in aDefer[] */
61 struct DeferredCsr {
65 } aDefer[4];
67 struct RowLoadInfo *pDeferredRowLoad; /* Deferred row loading info or NULL */