diff options
Diffstat (limited to 'src/libs/sqlite2/pager.c')
-rw-r--r-- | src/libs/sqlite2/pager.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libs/sqlite2/pager.c b/src/libs/sqlite2/pager.c index 409f9201..31a767d1 100644 --- a/src/libs/sqlite2/pager.c +++ b/src/libs/sqlite2/pager.c @@ -107,9 +107,9 @@ struct PgHdr { PgHdr *pNextFree, *pPrevFree; /* Freelist of pages where nRef==0 */ PgHdr *pNextAll, *pPrevAll; /* A list of all pages */ PgHdr *pNextCkpt, *pPrevCkpt; /* List of pages in the checkpoint journal */ - u8 inJournal; /* TRUE if has been written to journal */ - u8 inCkpt; /* TRUE if written to the checkpoint journal */ - u8 dirty; /* TRUE if we need to write back changes */ + u8 inJournal; /* true if has been written to journal */ + u8 inCkpt; /* true if written to the checkpoint journal */ + u8 dirty; /* true if we need to write back changes */ u8 needSync; /* Sync journal before writing this page */ u8 alwaysRollback; /* Disable dont_rollback() for this page */ PgHdr *pDirty; /* Dirty pages sorted by PgHdr.pgno */ @@ -918,7 +918,7 @@ int sqlitepager_open( const char *zFilename, /* Name of the database file to open */ int mxPage, /* Max number of in-memory cache pages */ int nExtra, /* Extra bytes append to each in-memory page */ - int useJournal /* TRUE to use a rollback journal on this file */ + int useJournal /* true to use a rollback journal on this file */ ){ Pager *pPager; char *zFullPathname; @@ -1872,8 +1872,8 @@ int sqlitepager_write(void *pData){ } /* -** Return TRUE if the page given in the argument was previously passed -** to sqlitepager_write(). In other words, return TRUE if it is ok +** Return true if the page given in the argument was previously passed +** to sqlitepager_write(). In other words, return true if it is ok ** to change the content of the page. */ int sqlitepager_iswriteable(void *pData){ @@ -2076,7 +2076,7 @@ int sqlitepager_rollback(Pager *pPager){ } /* -** Return TRUE if the database file is opened read-only. Return FALSE +** Return true if the database file is opened read-only. Return false ** if the database is (in theory) writable. */ int sqlitepager_isreadonly(Pager *pPager){ |