Searched refs:nOrderBy (Results 1 – 4 of 4) sorted by relevance
7126 int nOrderBy; /* Number of terms in the ORDER BY clause */ member
7439 int nOrderBy; /* Number of terms in the ORDER BY clause */ member136245 int nOrderBy = ALWAYS(pOrderBy!=0) ? pOrderBy->nExpr : 0;136247 KeyInfo *pRet = sqlite3KeyInfoAlloc(db, nOrderBy+nExtra, 1);136250 for(i=0; i<nOrderBy; i++){137189 int nOrderBy; /* Number of terms in the ORDER BY clause */137208 nOrderBy = pOrderBy->nExpr;137217 for(j=0, pItem=pOrderBy->a; j<nOrderBy; j++, pItem++){137222 if( j==nOrderBy ){137228 if( pOrderBy ) pOrderBy->a[nOrderBy++].u.x.iOrderByCol = (u16)i;137240 aPermute = sqlite3DbMallocRawNN(db, sizeof(u32)*(nOrderBy + 1));[all …]
5891 if( pIdxInfo->nOrderBy==1 ){ in seriesBestIndex()9745 for(i=pIdxInfo->nOrderBy-1; i>=0; i--){ in expertBestIndex()11508 if( pTab->bPtr==0 && pIdx->nOrderBy && pIdx->aOrderBy[0].desc==0 ){ in dbdataBestIndex()11510 if( pIdx->nOrderBy==1 ){ in dbdataBestIndex()11512 }else if( pIdx->nOrderBy==2 && pIdx->aOrderBy[1].desc==0 && iCol==0 ){ in dbdataBestIndex()
82771 + if( pIdxInfo->nOrderBy>=1 && pIdxInfo->aOrderBy[0].iColumn==0 ){86594 - if( pIdxInfo->nOrderBy==1 ){91392 +** sort order defined by the "nOrderBy" and "aOrderBy" fields of the103859 nOrderBy = pOrderBy->nExpr;107172 for(i=0; i<p->nOrderBy; i++){107422 int nOrderBy;107520 nOrderBy = n;107533 - + sizeof(*pIdxOrderBy)*nOrderBy + sizeof(*pHidden) );107534 + + sizeof(*pIdxOrderBy)*nOrderBy + sizeof(*pHidden)107544 pUsage = (struct sqlite3_index_constraint_usage*)&pIdxOrderBy[nOrderBy];[all …]