Lines Matching refs:nField
14793 u16 nField; /* Number of key columns in the index */ member
14838 u16 nField; /* Number of entries in apMem[] */ member
18024 i16 nField; /* Number of fields in the header */ member
59730 if( pIdxKey->nField==0 ){
67092 r.nField = pX->nMem;
70733 assert( pRec->pKeyInfo->nField+pRec->pKeyInfo->nXField==nCol );
70749 pRec->nField = p->iVal+1;
71272 int nCol = pRec->pKeyInfo->nField+pRec->pKeyInfo->nXField;
72630 sqlite3XPrintf(&x, "k(%d", pKeyInfo->nField);
72631 for(j=0; j<pKeyInfo->nField; j++){
74855 nByte = ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*(pKeyInfo->nField+1);
74861 p->nField = pKeyInfo->nField + 1;
74899 if( (++u)>=p->nField ) break;
74901 assert( u<=pKeyInfo->nField + 1 );
74902 p->nField = u;
74950 assert( pKeyInfo->nField+pKeyInfo->nXField>=pPKey2->nField || CORRUPT_DB );
74952 assert( pKeyInfo->nField>0 );
74987 }while( idx1<szHdr1 && i<pPKey2->nField );
75026 int nField = 0;
75038 nField++;
75040 assert( nField <= pKeyInfo->nField+pKeyInfo->nXField );
75344 assert( pPKey2->pKeyInfo->nField+pPKey2->pKeyInfo->nXField>=pPKey2->nField
75347 assert( pPKey2->pKeyInfo->nField>0 );
75477 }while( idx1<(unsigned)szHdr1 && i<pPKey2->nField && d1<=(unsigned)nKey1 );
75584 }else if( pPKey2->nField>1 ){
75636 if( pPKey2->nField>1 ){
75680 if( (p->pKeyInfo->nField + p->pKeyInfo->nXField)<=13 ){
75927 static void vdbeFreeUnpacked(sqlite3 *db, int nField, UnpackedRecord *p){
75930 for(i=0; i<nField; i++){
75974 assert( pCsr->nField==pTab->nCol
75975 || (pCsr->nField==pTab->nCol+1 && op==SQLITE_DELETE && iReg==-1)
75984 preupdate.keyinfo.nField = pTab->nCol;
75994 vdbeFreeUnpacked(db, preupdate.keyinfo.nField+1, preupdate.pUnpacked);
75995 vdbeFreeUnpacked(db, preupdate.keyinfo.nField+1, preupdate.pNewUnpacked);
75998 for(i=0; i<pCsr->nField; i++){
77660 memset(pRet->aMem, 0, sizeof(Mem)*(pKeyInfo->nField+1));
77684 if( iIdx>=p->pCsr->nField || iIdx<0 ){
77712 }else if( iIdx>=p->pUnpacked->nField ){
77733 return (p ? p->keyinfo.nField : 0);
77772 if( iIdx>=p->pCsr->nField || iIdx<0 ){
77795 }else if( iIdx>=pUnpack->nField ){
77806 p->aNew = (Mem *)sqlite3DbMallocZero(db, sizeof(Mem) * p->pCsr->nField);
77812 assert( iIdx>=0 && iIdx<p->pCsr->nField );
78285 int nField, /* Number of fields in the table or index */
78312 ROUND8(sizeof(VdbeCursor)) + 2*sizeof(u32)*nField +
78325 pCx->nField = nField;
78326 pCx->aOffset = &pCx->aType[nField];
78329 &pMem->z[ROUND8(sizeof(VdbeCursor))+2*sizeof(u32)*nField];
80401 assert( i<pKeyInfo->nField );
80674 assert( p2<pC->nField );
80942 int nField; /* Number of fields in the record */
80967 nField = pOp->p1;
80969 assert( nField>0 && pOp->p2>0 && pOp->p2+nField<=(p->nMem+1 - p->nCursor)+1 );
80970 pData0 = &aMem[nField];
80971 nField = pOp->p2;
80972 pLast = &pData0[nField-1];
80998 while( (pLast->flags & MEM_Null)!=0 && nField>pOp->p5 ){
81000 nField--;
81608 int nField;
81639 nField = 0;
81676 nField = pKeyInfo->nField+pKeyInfo->nXField;
81678 nField = pOp->p4.i;
81681 assert( nField>=0 );
81682 testcase( nField==0 ); /* Table with INTEGER PRIMARY KEY and nothing else */
81683 pCur = allocateCursor(p, pOp->p1, nField, iDb, CURTYPE_BTREE);
81988 int nField; /* Number of columns or fields in the key */
82076 nField = pOp->p4.i;
82078 assert( nField>0 );
82080 r.nField = (u16)nField;
82097 { int i; for(i=0; i<r.nField; i++) assert( memIsValid(&r.aMem[i]) ); }
82235 r.nField = (u16)pOp->p4.i;
82238 for(ii=0; ii<r.nField; ii++){
82259 for(ii=0; ii<pIdxKey->nField; ii++){
83377 r.nField = (u16)pOp->p3;
83536 r.nField = (u16)pOp->p4.i;
83546 { int i; for(i=0; i<r.nField; i++) assert( memIsValid(&r.aMem[i]) ); }
85428 p->iOffset = pC->aType[p->iCol + pC->nField];
86678 if( pTask->pSorter->pKeyInfo->nField>1 ){
86748 if( pTask->pSorter->pKeyInfo->nField>1 ){
86781 int nField, /* Number of key fields in each record */
86816 szKeyInfo = sizeof(KeyInfo) + (pCsr->pKeyInfo->nField-1)*sizeof(CollSeq*);
86827 if( nField && nWorker==0 ){
86828 pKeyInfo->nXField += (pKeyInfo->nField - nField);
86829 pKeyInfo->nField = nField;
86869 if( (pKeyInfo->nField+pKeyInfo->nXField)<13
87184 pTask->pUnpacked->nField = pTask->pSorter->pKeyInfo->nField;
88586 r2->nField = nKeyCol;
88588 assert( r2->nField==nKeyCol );
116816 memset(pKI->aSortOrder, 0, pKI->nField); /* Makes OP_Jump below testable */
117289 p->nField = (u16)N;
130874 int nField; /* Number of fields in pRec */
130882 assert( pRec->nField>0 && pRec->nField<=pIdx->nSampleCol );
130928 nField = pRec->nField;
130930 iSample = pIdx->nSample * nField;
130936 iSamp = iTest / nField;
130941 for(n=(iTest % nField) + 1; n<nField; n++){
130948 pRec->nField = n;
130953 }else if( res==0 && n<nField ){
130962 i = iSample / nField;
130972 assert( iCol==nField-1 );
130973 pRec->nField = nField;
130982 pRec->nField = iCol+1;
130992 pRec->nField = iCol;
130997 pRec->nField = nField;
131007 assert( iCol==nField-1 );
131036 pRec->nField = nField;
131274 testcase( pRec->nField!=pBuilder->nRecValid );
131275 pRec->nField = pBuilder->nRecValid;