Lines Matching defs:nRec

37075   int nRec;                   /* Pages journalled since last j-header written */
37794 ** Write the nRec Field - the number of page records that follow this
37800 ** A faster alternative is to write 0xFFFFFFFF to the nRec field. When
37890 u32 *pNRec, /* OUT: Value read from the nRec field */
37924 /* Read the first three 32-bit fields of the journal header: The nRec
38389 pPager->nRec = 0;
38993 ** Call the value from the second bullet "nRec". nRec is the number of
38995 ** value of nRec from the size of the journal file. But if a power
38999 ** the value of nRec computed from the file size would be too large. For
39000 ** that reason, we always use the nRec value in the header.
39002 ** If the nRec value is 0xffffffff it means that nRec should be computed
39027 u32 nRec; /* Number of Records in the journal */
39077 rc = readJournalHdr(pPager, isHot, szJ, &nRec, &mxPg);
39085 /* If nRec is 0xffffffff, then this journal was created by a process
39088 ** the value of nRec based on this assumption.
39090 if( nRec==0xffffffff ){
39092 nRec = (int)((szJ - JOURNAL_HDR_SZ(pPager))/JOURNAL_PG_SZ(pPager));
39095 /* If nRec is 0 and this rollback is of a transaction created by this
39102 ** When rolling back a hot journal, nRec==0 always means that the next
39104 ** when doing a ROLLBACK and the nRec==0 chunk is the last chunk in
39109 if( nRec==0 && !isHot &&
39111 nRec = (int)((szJ - pPager->journalOff) / JOURNAL_PG_SZ(pPager));
39128 for(u=0; u<nRec; u++){
39743 ** database (with some additional information - the nRec field
40249 ** then the nRec field of the most recently written journal header
40262 ** <update nRec field>
40296 ** occurs after nRec is updated but before this connection writes
40317 put32bits(&zHeader[sizeof(aJournalMagic)], pPager->nRec);
40329 /* Write the nRec value into the journal file header. If in
40331 ** all data has really hit the disk before nRec is updated to mark
40336 ** for garbage data to be appended to the file, the nRec field
40363 pPager->nRec = 0;
41627 pPager->nRec = 0;
41829 pPager->nRec++;
42391 ** header with the nRec field set to 0. If such a journal is used as