Home
last modified time | relevance | path

Searched refs:pgRec (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dpager.c536 PageRecord pgRec; in pager_playback_one_page() local
539 rc = read32bits(format, jfd, &pgRec.pgno); in pager_playback_one_page()
541 rc = sqliteOsRead(jfd, &pgRec.aData, sizeof(pgRec.aData)); in pager_playback_one_page()
549 if( pgRec.pgno==0 ){ in pager_playback_one_page()
552 if( pgRec.pgno>(unsigned)pPager->dbSize ){ in pager_playback_one_page()
558 if( pager_cksum(pPager, pgRec.pgno, pgRec.aData)!=cksum ){ in pager_playback_one_page()
566 pPg = pager_lookup(pPager, pgRec.pgno); in pager_playback_one_page()
567 TRACE2("PLAYBACK %d\n", pgRec.pgno); in pager_playback_one_page()
568 sqliteOsSeek(&pPager->fd, (pgRec.pgno-1)*(off_t)SQLITE_PAGE_SIZE); in pager_playback_one_page()
569 rc = sqliteOsWrite(&pPager->fd, pgRec.aData, SQLITE_PAGE_SIZE); in pager_playback_one_page()
[all …]