1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Add the sqlite3_wal_checkpoint() and sqlite3_wal_autocheckpoint() APIs.

FossilOrigin-Name: 9803196dec85e3aa4105cc477e9cfe98d370e486
This commit is contained in:
dan
2010-05-03 08:04:49 +00:00
parent bee6f4ebe2
commit 586b9c8a94
9 changed files with 136 additions and 59 deletions

View File

@@ -1407,7 +1407,6 @@ void sqlite3Pragma(
** Checkpoint the database.
*/
if( sqlite3StrICmp(zLeft, "checkpoint")==0 ){
sqlite3VdbeUsesBtree(v, iDb);
sqlite3VdbeAddOp3(v, OP_Checkpoint, iDb, 0, 0);
}else
#endif