pager.c File Reference
SQLITE_BUSY_RESERVED_LOCK
const unsigned char aJournalMagic
const unsigned char | aJournalMagic | [static] |
pageInStatement(PgHdr *)
int | pageInStatement | ( | PgHdr * | pPg | ) | [static] |
read32bits(sqlite3_file *, i64, u32 *)
write32bits(sqlite3_file *, i64, u32)
osUnlock(sqlite3_file *, int)
pager_unlock(Pager *)
void | pager_unlock | ( | Pager * | pPager | ) | [static] |
pager_error(Pager *, int)
int | pager_error | ( | Pager * | pPager, |
| int | rc |
| ) | [static] |
readMasterJournal(sqlite3_file *, char *, int)
int | readMasterJournal | ( | sqlite3_file * | pJrnl, |
| char * | zMaster, |
| int | nMaster |
| ) | [static] |
seekJournalHdr(Pager *)
void | seekJournalHdr | ( | Pager * | pPager | ) | [static] |
zeroJournalHdr(Pager *, int)
int | zeroJournalHdr | ( | Pager * | pPager, |
| int | doTruncate |
| ) | [static] |
Parameters
Pager * pPager | |
int doTruncate | |
writeJournalHdr(Pager *)
int | writeJournalHdr | ( | Pager * | pPager | ) | [static] |
readJournalHdr(Pager *, i64, u32 *, u32 *)
int | readJournalHdr | ( | Pager * | pPager, |
| i64 | journalSize, |
| u32 * | pNRec, |
| u32 * | pDbSize |
| ) | [static] |
writeMasterJournal(Pager *, const char *)
int | writeMasterJournal | ( | Pager * | pPager, |
| const char * | zMaster |
| ) | [static] |
Parameters
Pager * pPager | |
const char * zMaster | |
pager_lookup(Pager *, Pgno)
pager_reset(Pager *)
void | pager_reset | ( | Pager * | pPager | ) | [static] |
pagerUnlockAndRollback(Pager *)
void | pagerUnlockAndRollback | ( | Pager * | p | ) | [static] |
pager_end_transaction(Pager *, int)
int | pager_end_transaction | ( | Pager * | pPager, |
| int | hasMaster |
| ) | [static] |
Parameters
Pager * pPager | |
int hasMaster | |
pager_cksum(Pager *, const u8 *)
u32
| pager_cksum | ( | Pager * | pPager, |
| const u8 * | aData |
| ) | [static] |
makeClean(PgHdr *)
void | makeClean | ( | PgHdr * | | ) | [static] |
pager_playback_one_page(Pager *, sqlite3_file *, i64, int)
pager_delmaster(Pager *, const char *)
int | pager_delmaster | ( | Pager * | pPager, |
| const char * | zMaster |
| ) | [static] |
Parameters
Pager * pPager | |
const char * zMaster | |
pager_truncate_cache(Pager *)
void | pager_truncate_cache | ( | Pager * | pPager | ) | [static] |
pager_truncate(Pager *, int)
int | pager_truncate | ( | Pager * | pPager, |
| int | nPage |
| ) | [static] |
setSectorSize(Pager *)
void | setSectorSize | ( | Pager * | pPager | ) | [static] |
pager_playback(Pager *, int)
int | pager_playback | ( | Pager * | pPager, |
| int | isHot |
| ) | [static] |
pager_stmt_playback(Pager *)
int | pager_stmt_playback | ( | Pager * | pPager | ) | [static] |
sqlite3PagerSetCachesize(Pager *, int)
void | sqlite3PagerSetCachesize | ( | Pager * | pPager, |
| int | mxPage |
| ) | |
Parameters
Pager * pPager | |
int mxPage | |
sqlite3PagerSetSafetyLevel(Pager *, int, int)
void | sqlite3PagerSetSafetyLevel | ( | Pager * | pPager, |
| int | level, |
| int | bFullFsync |
| ) | |
Parameters
Pager * pPager | |
int level | |
int bFullFsync | |
sqlite3PagerOpentemp(Pager *, sqlite3_file *, int)
pagerStress(void *, PgHdr *)
int | pagerStress | ( | void * | , |
| PgHdr * | |
| ) | [static] |
sqlite3PagerOpen(sqlite3_vfs *, Pager **, const char *, int, int, int)
int | sqlite3PagerOpen | ( | sqlite3_vfs * | pVfs, |
| Pager ** | ppPager, |
| const char * | zFilename, |
| int | nExtra, |
| int | flags, |
| int | vfsFlags |
| ) | |
Parameters
sqlite3_vfs * pVfs | |
Pager ** ppPager | |
const char * zFilename | |
int nExtra | |
int flags | |
int vfsFlags | |
sqlite3PagerSetBusyhandler(Pager *, BusyHandler *)
sqlite3PagerSetReiniter(Pager *, void(*)(DbPage *))
void | sqlite3PagerSetReiniter | ( | Pager * | pPager, |
| void(*)(DbPage *) | xReinit |
| ) | |
sqlite3PagerSetPagesize(Pager *, u16 *)
int | sqlite3PagerSetPagesize | ( | Pager * | pPager, |
| u16 * | pPageSize |
| ) | |
sqlite3PagerTempSpace(Pager *)
void * | sqlite3PagerTempSpace | ( | Pager * | pPager | ) | |
sqlite3PagerMaxPageCount(Pager *, int)
int | sqlite3PagerMaxPageCount | ( | Pager * | pPager, |
| int | mxPage |
| ) | |
Parameters
Pager * pPager | |
int mxPage | |
disable_simulated_io_errors
enable_simulated_io_errors
sqlite3PagerReadFileheader(Pager *, int, unsigned char *)
int | sqlite3PagerReadFileheader | ( | Pager * | pPager, |
| int | N, |
| unsigned char * | pDest |
| ) | |
Parameters
Pager * pPager | |
int N | |
unsigned char * pDest | |
sqlite3PagerPagecount(Pager *, int *)
int | sqlite3PagerPagecount | ( | Pager * | pPager, |
| int * | pnPage |
| ) | |
Parameters
Pager * pPager | |
int * pnPage | |
syncJournal(Pager *)
int | syncJournal | ( | Pager * | | ) | [static] |
pager_wait_on_lock(Pager *, int)
int | pager_wait_on_lock | ( | Pager * | pPager, |
| int | locktype |
| ) | [static] |
Parameters
Pager * pPager | |
int locktype | |
sqlite3PagerTruncate(Pager *, Pgno)
int | sqlite3PagerTruncate | ( | Pager * | pPager, |
| Pgno | nPage |
| ) | |
sqlite3PagerClose(Pager *)
int | sqlite3PagerClose | ( | Pager * | pPager | ) | |
sqlite3PagerPagenumber(DbPage *)
sqlite3PagerRef(DbPage *)
int | sqlite3PagerRef | ( | DbPage * | pPg | ) | |
pager_write_pagelist(PgHdr *)
int | pager_write_pagelist | ( | PgHdr * | pList | ) | [static] |
hasHotJournal(Pager *, int *)
int | hasHotJournal | ( | Pager * | pPager, |
| int * | pExists |
| ) | [static] |
Parameters
Pager * pPager | |
int * pExists | |
readDbPage(Pager *, PgHdr *, Pgno)
pagerSharedLock(Pager *)
int | pagerSharedLock | ( | Pager * | pPager | ) | [static] |
pager_get_content(PgHdr *)
int | pager_get_content | ( | PgHdr * | pPg | ) | [static] |
pagerUnlockIfUnused(Pager *)
void | pagerUnlockIfUnused | ( | Pager * | pPager | ) | [static] |
pagerDropPage(DbPage *)
void | pagerDropPage | ( | DbPage * | pPg | ) | [static] |
sqlite3PagerAcquire(Pager *, Pgno, DbPage **, int)
int | sqlite3PagerAcquire | ( | Pager * | pPager, |
| Pgno | pgno, |
| DbPage ** | ppPage, |
| int | noContent |
| ) | |
sqlite3PagerLookup(Pager *, Pgno)
sqlite3PagerUnref(DbPage *)
int | sqlite3PagerUnref | ( | DbPage * | pPg | ) | |
pager_open_journal(Pager *)
int | pager_open_journal | ( | Pager * | pPager | ) | [static] |
sqlite3PagerBegin(DbPage *, int)
int | sqlite3PagerBegin | ( | DbPage * | pPg, |
| int | exFlag |
| ) | |
makeDirty(PgHdr *)
void | makeDirty | ( | PgHdr * | pPg | ) | [static] |
pager_write(PgHdr *)
int | pager_write | ( | PgHdr * | pPg | ) | [static] |
sqlite3PagerWrite(DbPage *)
int | sqlite3PagerWrite | ( | DbPage * | pDbPage | ) | |
sqlite3PagerIswriteable(DbPage *)
int | sqlite3PagerIswriteable | ( | DbPage * | pPg | ) | |
sqlite3PagerDontWrite(DbPage *)
int | sqlite3PagerDontWrite | ( | DbPage * | pDbPage | ) | |
sqlite3PagerDontRollback(DbPage *)
void | sqlite3PagerDontRollback | ( | DbPage * | pPg | ) | |
pager_incr_changecounter(Pager *, int)
int | pager_incr_changecounter | ( | Pager * | pPager, |
| int | isDirect |
| ) | [static] |
Parameters
Pager * pPager | |
int isDirect | |
sqlite3PagerSync(Pager *)
int | sqlite3PagerSync | ( | Pager * | pPager | ) | |
sqlite3PagerCommitPhaseOne(Pager *, const char *, Pgno, int)
int | sqlite3PagerCommitPhaseOne | ( | Pager * | pPager, |
| const char * | zMaster, |
| Pgno | nTrunc, |
| int | noSync |
| ) | |
Parameters
Pager * pPager | |
const char * zMaster | |
Pgno nTrunc | |
int noSync | |
sqlite3PagerCommitPhaseTwo(Pager *)
int | sqlite3PagerCommitPhaseTwo | ( | Pager * | pPager | ) | |
sqlite3PagerRollback(Pager *)
int | sqlite3PagerRollback | ( | Pager * | pPager | ) | |
sqlite3PagerIsreadonly(Pager *)
int | sqlite3PagerIsreadonly | ( | Pager * | pPager | ) | |
sqlite3PagerRefcount(Pager *)
int | sqlite3PagerRefcount | ( | Pager * | pPager | ) | |
sqlite3PagerPageRefcount(DbPage *)
int | sqlite3PagerPageRefcount | ( | DbPage * | pPage | ) | |
pagerStmtBegin(Pager *)
int | pagerStmtBegin | ( | Pager * | pPager | ) | [static] |
sqlite3PagerStmtBegin(Pager *)
int | sqlite3PagerStmtBegin | ( | Pager * | pPager | ) | |
sqlite3PagerStmtCommit(Pager *)
int | sqlite3PagerStmtCommit | ( | Pager * | pPager | ) | |
sqlite3PagerStmtRollback(Pager *)
int | sqlite3PagerStmtRollback | ( | Pager * | pPager | ) | |
sqlite3PagerFilename(Pager *)
const char * | sqlite3PagerFilename | ( | Pager * | pPager | ) | |
sqlite3PagerFile(Pager *)
sqlite3PagerDirname(Pager *)
const char * | sqlite3PagerDirname | ( | Pager * | pPager | ) | |
sqlite3PagerJournalname(Pager *)
const char * | sqlite3PagerJournalname | ( | Pager * | pPager | ) | |
sqlite3PagerNosync(Pager *)
int | sqlite3PagerNosync | ( | Pager * | pPager | ) | |
sqlite3PagerMovepage(Pager *, DbPage *, Pgno, int)
int | sqlite3PagerMovepage | ( | Pager * | pPager, |
| DbPage * | pPg, |
| Pgno | pgno, |
| int | isCommit |
| ) | |
sqlite3PagerGetData(DbPage *)
void * | sqlite3PagerGetData | ( | DbPage * | pPg | ) | |
sqlite3PagerGetExtra(DbPage *)
void * | sqlite3PagerGetExtra | ( | DbPage * | pPg | ) | |
sqlite3PagerLockingMode(Pager *, int)
int | sqlite3PagerLockingMode | ( | Pager * | pPager, |
| int | eMode |
| ) | |
sqlite3PagerJournalMode(Pager *, int)
int | sqlite3PagerJournalMode | ( | Pager * | pPager, |
| int | eMode |
| ) | |
sqlite3PagerJournalSizeLimit(Pager *, i64)
i64
| sqlite3PagerJournalSizeLimit | ( | Pager * | pPager, |
| i64 | iLimit |
| ) | |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.