Lines Matching refs:nOrderBy
5419 int nOrderBy; /* Number of terms in the ORDER BY clause */
94531 int nOrderBy; /* Number of terms in the ORDER BY clause */
94554 nOrderBy = pOrderBy->nExpr;
94563 for(j=0, pItem=pOrderBy->a; j<nOrderBy; j++, pItem++){
94567 if( j==nOrderBy ){
94573 pOrderBy->a[nOrderBy++].iCol = (u16)i;
94585 aPermute = sqlite3DbMallocRaw(db, sizeof(int)*nOrderBy);
94588 for(i=0, pItem=pOrderBy->a; i<nOrderBy; i++, pItem++){
94593 sqlite3DbMallocRaw(db, sizeof(*pKeyMerge)+nOrderBy*(sizeof(CollSeq*)+1));
94595 pKeyMerge->aSortOrder = (u8*)&pKeyMerge->aColl[nOrderBy];
94596 pKeyMerge->nField = (u16)nOrderBy;
94598 for(i=0; i<nOrderBy; i++){
94629 assert( nOrderBy>=nExpr || db->mallocFailed );
94807 sqlite3VdbeAddOp4(v, OP_Compare, destA.iMem, destB.iMem, nOrderBy,
94814 sqlite3ReleaseTempRange(pParse, regPrev, nOrderBy+1);
102094 for(i=0; i<p->nOrderBy; i++){
102484 int nOrderBy;
102505 nOrderBy = 0;
102512 nOrderBy = pOrderBy->nExpr;
102520 + sizeof(*pIdxOrderBy)*nOrderBy );
102534 pUsage = (struct sqlite3_index_constraint_usage*)&pIdxOrderBy[nOrderBy];
102536 *(int*)&pIdxInfo->nOrderBy = nOrderBy;
102564 for(i=0; i<nOrderBy; i++){
102652 int nOrderBy;
102724 nOrderBy = pIdxInfo->nOrderBy;
102726 pIdxInfo->nOrderBy = 0;
102766 pIdxInfo->nOrderBy = nOrderBy;
115487 if( pInfo->nOrderBy==1 ){
119208 if( pInfo->nOrderBy==1