Searched refs:pOrderBy (Results 1 – 4 of 4) sorted by relevance
33 ExprList *pOrderBy, /* the ORDER BY clause */ in sqliteSelectNew() argument46 sqliteExprListDelete(pOrderBy); in sqliteSelectNew()56 pNew->pOrderBy = pOrderBy; in sqliteSelectNew()297 sqliteExprListDelete(p->pOrderBy); in sqliteSelectDelete()317 static void pushOntoSorter(Parse *pParse, Vdbe *v, ExprList *pOrderBy){ in pushOntoSorter() argument320 zSortOrder = sqliteMalloc( pOrderBy->nExpr + 1 ); in pushOntoSorter()322 for(i=0; i<pOrderBy->nExpr; i++){ in pushOntoSorter()323 int order = pOrderBy->a[i].sortOrder; in pushOntoSorter()331 type = sqliteExprType(pOrderBy->a[i].pExpr); in pushOntoSorter()341 sqliteExprCode(pParse, pOrderBy->a[i].pExpr); in pushOntoSorter()[all …]
218 ExprList *pOrderBy, /* The ORDER BY clause */ in findSortingIndex() argument228 assert( pOrderBy!=0 ); in findSortingIndex()229 assert( pOrderBy->nExpr>0 ); in findSortingIndex()230 sortOrder = pOrderBy->a[0].sortOrder & SQLITE_SO_DIRMASK; in findSortingIndex()231 for(i=0; i<pOrderBy->nExpr; i++){ in findSortingIndex()233 if( (pOrderBy->a[i].sortOrder & SQLITE_SO_DIRMASK)!=sortOrder ){ in findSortingIndex()238 if( (pOrderBy->a[i].sortOrder & SQLITE_SO_TYPEMASK)!=SQLITE_SO_UNK ){ in findSortingIndex()242 p = pOrderBy->a[i].pExpr; in findSortingIndex()256 int nExpr = pOrderBy->nExpr; in findSortingIndex()260 if( j<nExpr && pOrderBy->a[j].pExpr->iColumn==pIdx->aiColumn[i] ){ j++; } in findSortingIndex()[all …]
861 ExprList *pOrderBy; /* The ORDER BY clause */ member
235 pNew->pOrderBy = sqliteExprListDup(p->pOrderBy); in sqliteSelectDup()