Lines Matching defs:nRec

40900   int nRec;                   /* Pages journalled since last j-header written */
41645 ** Write the nRec Field - the number of page records that follow this
41651 ** A faster alternative is to write 0xFFFFFFFF to the nRec field. When
41741 u32 *pNRec, /* OUT: Value read from the nRec field */
41775 /* Read the first three 32-bit fields of the journal header: The nRec
42243 pPager->nRec = 0;
42882 ** Call the value from the second bullet "nRec". nRec is the number of
42884 ** value of nRec from the size of the journal file. But if a power
42888 ** the value of nRec computed from the file size would be too large. For
42889 ** that reason, we always use the nRec value in the header.
42891 ** If the nRec value is 0xffffffff it means that nRec should be computed
42916 u32 nRec; /* Number of Records in the journal */
42967 rc = readJournalHdr(pPager, isHot, szJ, &nRec, &mxPg);
42975 /* If nRec is 0xffffffff, then this journal was created by a process
42978 ** the value of nRec based on this assumption.
42980 if( nRec==0xffffffff ){
42982 nRec = (int)((szJ - JOURNAL_HDR_SZ(pPager))/JOURNAL_PG_SZ(pPager));
42985 /* If nRec is 0 and this rollback is of a transaction created by this
42992 ** When rolling back a hot journal, nRec==0 always means that the next
42994 ** when doing a ROLLBACK and the nRec==0 chunk is the last chunk in
42999 if( nRec==0 && !isHot &&
43001 nRec = (int)((szJ - pPager->journalOff) / JOURNAL_PG_SZ(pPager));
43018 for(u=0; u<nRec; u++){
43680 ** database (with some additional information - the nRec field
44293 ** then the nRec field of the most recently written journal header
44306 ** <update nRec field>
44340 ** occurs after nRec is updated but before this connection writes
44361 put32bits(&zHeader[sizeof(aJournalMagic)], pPager->nRec);
44373 /* Write the nRec value into the journal file header. If in
44375 ** all data has really hit the disk before nRec is updated to mark
44380 ** for garbage data to be appended to the file, the nRec field
44407 pPager->nRec = 0;
45786 pPager->nRec = 0;
45983 pPager->nRec++;
46524 ** header with the nRec field set to 0. If such a journal is used as
62110 ** Extract the iCol-th column from the nRec-byte record in pRec. Write
62120 int nRec, /* Size of buffer pRec in bytes */
62135 if( nHdr>nRec || iHdr>=nHdr ) return SQLITE_CORRUPT_BKPT;
62145 testcase( iField==nRec );
62146 testcase( iField==nRec+1 );
62147 if( iField>nRec ) return SQLITE_CORRUPT_BKPT;
75293 u64 nRec = 0; /* Size of record in bytes */
75301 rc = vdbeSorterIterVarint(db, pIter, &nRec);
75303 pIter->nKey = (int)nRec;
75304 rc = vdbeSorterIterRead(db, pIter, (int)nRec, &pIter->aKey);