Home
last modified time | relevance | path

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

/sqlite-3.40.0/src/
H A Dwal.c2793 && (pWal->pSnapshot==0 || pWal->hdr.mxFrame==0) in walTryBeginRead()
2835 if( pWal->pSnapshot && pWal->pSnapshot->mxFrame<mxFrame ){ in walTryBeginRead()
2836 mxFrame = pWal->pSnapshot->mxFrame; in walTryBeginRead()
3016 WalIndexHdr *pSnapshot = pWal->pSnapshot; in sqlite3WalBeginReadTransaction() local
3022 if( pSnapshot ){ in sqlite3WalBeginReadTransaction()
3056 if( pSnapshot && memcmp(pSnapshot, &pWal->hdr, sizeof(WalIndexHdr))!=0 ){ in sqlite3WalBeginReadTransaction()
3082 && pSnapshot->mxFrame>=pInfo->nBackfillAttempted in sqlite3WalBeginReadTransaction()
3107 assert( pSnapshot ); in sqlite3WalBeginReadTransaction()
4077 sqlite3_snapshot *pSnapshot in sqlite3WalSnapshotOpen() argument
4079 pWal->pSnapshot = (WalIndexHdr*)pSnapshot; in sqlite3WalSnapshotOpen()
[all …]
H A Dwal.h133 void sqlite3WalSnapshotOpen(Wal *pWal, sqlite3_snapshot *pSnapshot);
135 int sqlite3WalSnapshotCheck(Wal *pWal, sqlite3_snapshot *pSnapshot);
H A Dpager.h182 int sqlite3PagerSnapshotOpen(Pager*, sqlite3_snapshot *pSnapshot);
184 int sqlite3PagerSnapshotCheck(Pager *pPager, sqlite3_snapshot *pSnapshot);
H A Dtest1.c2337 sqlite3_snapshot *pSnapshot = 0; in test_snapshot_get() local
2346 rc = sqlite3_snapshot_get(db, zName, &pSnapshot); in test_snapshot_get()
2352 if( sqlite3TestMakePointerStr(interp, zBuf, pSnapshot) ) return TCL_ERROR; in test_snapshot_get()
2404 sqlite3_snapshot *pSnapshot; in test_snapshot_open() local
2412 pSnapshot = (sqlite3_snapshot*)sqlite3TestTextToPtr(Tcl_GetString(objv[3])); in test_snapshot_open()
2414 rc = sqlite3_snapshot_open(db, zName, pSnapshot); in test_snapshot_open()
2435 sqlite3_snapshot *pSnapshot; in test_snapshot_free() local
2441 sqlite3_snapshot_free(pSnapshot); in test_snapshot_free()
2484 sqlite3_snapshot *pSnapshot = 0; in test_snapshot_get_blob() local
2493 rc = sqlite3_snapshot_get(db, zName, &pSnapshot); in test_snapshot_get_blob()
[all …]
H A Dmain.c4748 sqlite3_snapshot *pSnapshot in sqlite3_snapshot_open() argument
4769 rc = sqlite3PagerSnapshotCheck(pPager, pSnapshot); in sqlite3_snapshot_open()
4779 rc = sqlite3PagerSnapshotOpen(pPager, pSnapshot); in sqlite3_snapshot_open()
4832 void sqlite3_snapshot_free(sqlite3_snapshot *pSnapshot){ in sqlite3_snapshot_free() argument
4833 sqlite3_free(pSnapshot); in sqlite3_snapshot_free()
H A Dpager.c7665 sqlite3_snapshot *pSnapshot in sqlite3PagerSnapshotOpen() argument
7669 sqlite3WalSnapshotOpen(pPager->pWal, pSnapshot); in sqlite3PagerSnapshotOpen()
7702 int sqlite3PagerSnapshotCheck(Pager *pPager, sqlite3_snapshot *pSnapshot){ in sqlite3PagerSnapshotCheck() argument
7705 rc = sqlite3WalSnapshotCheck(pPager->pWal, pSnapshot); in sqlite3PagerSnapshotCheck()
H A Dsqlite.h.in10259 sqlite3_snapshot *pSnapshot
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_file.c1731 Snapshot *pSnapshot, /* Worker snapshot */ in fsFreeBlock() argument
1742 LsmPgno *aApp = pSnapshot->aiAppend; in fsFreeBlock()
1749 for(pLevel=lsmDbSnapshotLevel(pSnapshot); pLevel; pLevel=pLevel->pNext){ in fsFreeBlock()
1774 Snapshot *pSnapshot, in lsmFsSortedDelete() argument
1795 rc = fsFreeBlock(pFS, pSnapshot, pDel, iBlk); in lsmFsSortedDelete()
1800 assert( pDel->pRedirect==&pSnapshot->redirect ); in lsmFsSortedDelete()
1801 pSnapshot->redirect.n = 0; in lsmFsSortedDelete()
1867 Snapshot *pSnapshot = pDb->pWorker; in lsmFsGobble() local
1885 if( rc==LSM_OK ) rc = fsFreeBlock(pFS, pSnapshot, pRun, iBlk); in lsmFsGobble()
2099 Snapshot *pSnapshot, in lsmFsSortedAppend() argument
[all …]
H A Dlsm_shared.c606 Level *lsmDbSnapshotLevel(Snapshot *pSnapshot){ in lsmDbSnapshotLevel() argument
607 return pSnapshot->pLevel; in lsmDbSnapshotLevel()