Lines Matching refs:pgRec
531 PageRecord pgRec; in pager_playback_one_page() local
534 rc = read32bits(format, jfd, &pgRec.pgno); in pager_playback_one_page()
536 rc = sqliteOsRead(jfd, &pgRec.aData, sizeof(pgRec.aData)); in pager_playback_one_page()
544 if( pgRec.pgno==0 ){ in pager_playback_one_page()
547 if( pgRec.pgno>(unsigned)pPager->dbSize ){ in pager_playback_one_page()
553 if( pager_cksum(pPager, pgRec.pgno, pgRec.aData)!=cksum ){ in pager_playback_one_page()
561 pPg = pager_lookup(pPager, pgRec.pgno); in pager_playback_one_page()
562 TRACE2("PLAYBACK %d\n", pgRec.pgno); in pager_playback_one_page()
563 sqliteOsSeek(&pPager->fd, (pgRec.pgno-1)*(off_t)SQLITE_PAGE_SIZE); in pager_playback_one_page()
564 rc = sqliteOsWrite(&pPager->fd, pgRec.aData, SQLITE_PAGE_SIZE); in pager_playback_one_page()
571 memcpy(PGHDR_TO_DATA(pPg), pgRec.aData, SQLITE_PAGE_SIZE); in pager_playback_one_page()