Lines Matching defs:nRec

40920   int nRec;                   /* Pages journalled since last j-header written */
41665 ** Write the nRec Field - the number of page records that follow this
41671 ** A faster alternative is to write 0xFFFFFFFF to the nRec field. When
41761 u32 *pNRec, /* OUT: Value read from the nRec field */
41795 /* Read the first three 32-bit fields of the journal header: The nRec
42263 pPager->nRec = 0;
42902 ** Call the value from the second bullet "nRec". nRec is the number of
42904 ** value of nRec from the size of the journal file. But if a power
42908 ** the value of nRec computed from the file size would be too large. For
42909 ** that reason, we always use the nRec value in the header.
42911 ** If the nRec value is 0xffffffff it means that nRec should be computed
42936 u32 nRec; /* Number of Records in the journal */
42987 rc = readJournalHdr(pPager, isHot, szJ, &nRec, &mxPg);
42995 /* If nRec is 0xffffffff, then this journal was created by a process
42998 ** the value of nRec based on this assumption.
43000 if( nRec==0xffffffff ){
43002 nRec = (int)((szJ - JOURNAL_HDR_SZ(pPager))/JOURNAL_PG_SZ(pPager));
43005 /* If nRec is 0 and this rollback is of a transaction created by this
43012 ** When rolling back a hot journal, nRec==0 always means that the next
43014 ** when doing a ROLLBACK and the nRec==0 chunk is the last chunk in
43019 if( nRec==0 && !isHot &&
43021 nRec = (int)((szJ - pPager->journalOff) / JOURNAL_PG_SZ(pPager));
43038 for(u=0; u<nRec; u++){
43700 ** database (with some additional information - the nRec field
44313 ** then the nRec field of the most recently written journal header
44326 ** <update nRec field>
44360 ** occurs after nRec is updated but before this connection writes
44381 put32bits(&zHeader[sizeof(aJournalMagic)], pPager->nRec);
44393 /* Write the nRec value into the journal file header. If in
44395 ** all data has really hit the disk before nRec is updated to mark
44400 ** for garbage data to be appended to the file, the nRec field
44427 pPager->nRec = 0;
45806 pPager->nRec = 0;
46003 pPager->nRec++;
46544 ** header with the nRec field set to 0. If such a journal is used as
62130 ** Extract the iCol-th column from the nRec-byte record in pRec. Write
62140 int nRec, /* Size of buffer pRec in bytes */
62155 if( nHdr>nRec || iHdr>=nHdr ) return SQLITE_CORRUPT_BKPT;
62165 testcase( iField==nRec );
62166 testcase( iField==nRec+1 );
62167 if( iField>nRec ) return SQLITE_CORRUPT_BKPT;
75313 u64 nRec = 0; /* Size of record in bytes */
75321 rc = vdbeSorterIterVarint(db, pIter, &nRec);
75323 pIter->nKey = (int)nRec;
75324 rc = vdbeSorterIterRead(db, pIter, (int)nRec, &pIter->aKey);