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

Function StepErrorCheck

src/leveldb/benchmarks/db_bench_sqlite3.cc:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89inline static void StepErrorCheck(int status) {
90 if (status != SQLITE_DONE) {
91 fprintf(stderr, "SQL step error: status = %d\n", status);
92 exit(1);
93 }
94}
95
96inline static void ErrorCheck(int status) {
97 if (status != SQLITE_OK) {

Callers 2

WriteMethod · 0.85
ReadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected