Lines Matching defs:SortCtx
148820 typedef struct SortCtx SortCtx; typedef
148821 struct SortCtx { struct
148822 ExprList *pOrderBy; /* The ORDER BY (or GROUP BY clause) */
148823 int nOBSat; /* Number of ORDER BY terms satisfied by indices */
148824 int iECursor; /* Cursor number for the sorter */
148825 int regReturn; /* Register holding block-output return address */
148826 int labelBkOut; /* Start label for the block-output subroutine */
148827 int addrSortIndex; /* Address of the OP_SorterOpen or OP_OpenEphemeral */
148828 int labelDone; /* Jump here when done, ex: LIMIT reached */
148829 int labelOBLopt; /* Jump here when sorter is full */
148830 u8 sortFlags; /* Zero or more SORTFLAG_* bits */
148832 u8 nDefer; /* Number of valid entries in aDefer[] */
148833 struct DeferredCsr {
148837 } aDefer[4];
148839 struct RowLoadInfo *pDeferredRowLoad; /* Deferred row loading info or NULL */
148841 int addrPush; /* First instruction to push data into sorter */
148842 int addrPushEnd; /* Last instruction that pushes data into sorter */