diff options
Diffstat (limited to 'src/wal.c')
-rw-r--r-- | src/wal.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1914,6 +1914,10 @@ static int walCheckpoint( } } if( rc==SQLITE_OK ){ + rc = sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_CKPT_DONE, 0); + if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK; + } + if( rc==SQLITE_OK ){ pInfo->nBackfill = mxSafeFrame; } } |