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

Function ErrorCheck

src/leveldb/benchmarks/db_bench_sqlite3.cc:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96inline static void ErrorCheck(int status) {
97 if (status != SQLITE_OK) {
98 fprintf(stderr, "sqlite3 error: status = %d\n", status);
99 exit(1);
100 }
101}
102
103inline static void WalCheckpoint(sqlite3* db_) {
104 // Flush all writes to disk

Callers 4

~BenchmarkMethod · 0.85
WriteMethod · 0.85
ReadMethod · 0.85
ReadSequentialMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected