Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | OOM errors during an auto-checkpoint are benign. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
3d252ce5d0d843e4e65beed672598e65 |
User & Date: | drh 2010-05-24 20:27:44.000 |
Context
2010-05-25
| ||
02:24 | Remove unreachable code associated with WAL from the pager. (check-in: 54c1718e6d user: drh tags: trunk) | |
2010-05-24
| ||
20:27 | OOM errors during an auto-checkpoint are benign. (check-in: 3d252ce5d0 user: drh tags: trunk) | |
20:24 | Remove the walmode.test case from the inmemory_journal test of permutations.test. (check-in: 27ba9c21fb user: drh tags: trunk) | |
Changes
Changes to src/main.c.
︙ | ︙ | |||
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 | int sqlite3WalDefaultHook( void *pClientData, /* Argument */ sqlite3 *db, /* Connection */ const char *zDb, /* Database */ int nFrame /* Size of WAL */ ){ if( nFrame>=SQLITE_PTR_TO_INT(pClientData) ){ sqlite3_wal_checkpoint(db, zDb); } return SQLITE_OK; } #endif /* SQLITE_OMIT_WAL */ /* ** Configure an sqlite3_wal_hook() callback to automatically checkpoint | > > | 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 | int sqlite3WalDefaultHook( void *pClientData, /* Argument */ sqlite3 *db, /* Connection */ const char *zDb, /* Database */ int nFrame /* Size of WAL */ ){ if( nFrame>=SQLITE_PTR_TO_INT(pClientData) ){ sqlite3BeginBenignMalloc(); sqlite3_wal_checkpoint(db, zDb); sqlite3EndBenignMalloc(); } return SQLITE_OK; } #endif /* SQLITE_OMIT_WAL */ /* ** Configure an sqlite3_wal_hook() callback to automatically checkpoint |
︙ | ︙ |