1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Add the "PRAGMA wal_autocheckpoint" command. Rename "PRAGMA checkpoint" to "PRAGMA wal_checkpoint".

FossilOrigin-Name: 714e5947264571386f966aa8fcdd5607b5832238
This commit is contained in:
dan
2010-05-03 11:05:08 +00:00
parent 11398e5e54
commit 5a299f9134
14 changed files with 135 additions and 72 deletions

View File

@@ -321,7 +321,7 @@ static int doWalCallbacks(sqlite3 *db){
if( db->xWalCallback && nEntry>0 && rc==SQLITE_OK
&& db->xWalCallback(db->pWalArg, db, db->aDb[i].zName, nEntry)
){
rc = sqlite3PagerCheckpoint(sqlite3BtreePager(pBt));
rc = sqlite3Checkpoint(db, i);
}
}
}