MCPcopy Create free account
hub / github.com/ElementsProject/elements / WalCheckpoint

Function WalCheckpoint

src/leveldb/benchmarks/db_bench_sqlite3.cc:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103inline static void WalCheckpoint(sqlite3* db_) {
104 // Flush all writes to disk
105 if (FLAGS_WAL_enabled) {
106 sqlite3_wal_checkpoint_v2(db_, nullptr, SQLITE_CHECKPOINT_FULL, nullptr,
107 nullptr);
108 }
109}
110
111namespace leveldb {
112

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected