aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r--src/vdbeapi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c
index 1c938ee5d..12100ce56 100644
--- a/src/vdbeapi.c
+++ b/src/vdbeapi.c
@@ -306,15 +306,15 @@ void sqlite3_result_error_nomem(sqlite3_context *pCtx){
pCtx->s.db->mallocFailed = 1;
}
-static int doLogCallbacks(sqlite3 *db){
+static int doWalCallbacks(sqlite3 *db){
int i;
int rc = SQLITE_OK;
for(i=0; i<db->nDb; i++){
Btree *pBt = db->aDb[i].pBt;
if( pBt ){
- int nEntry = sqlite3PagerLogCallback(sqlite3BtreePager(pBt));
- if( db->xLogCallback && nEntry>0 && rc==SQLITE_OK
- && db->xLogCallback(db->pLogArg, db, db->aDb[i].zName, nEntry)
+ int nEntry = sqlite3PagerWalCallback(sqlite3BtreePager(pBt));
+ if( db->xWalCallback && nEntry>0 && rc==SQLITE_OK
+ && db->xWalCallback(db->pWalArg, db, db->aDb[i].zName, nEntry)
){
rc = sqlite3PagerCheckpoint(sqlite3BtreePager(pBt));
}
@@ -406,7 +406,7 @@ static int sqlite3Step(Vdbe *p){
if( rc==SQLITE_DONE ){
assert( p->rc==SQLITE_OK );
- p->rc = doLogCallbacks(db);
+ p->rc = doWalCallbacks(db);
if( p->rc!=SQLITE_OK ){
rc = SQLITE_ERROR;
}