MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / checkPrepared

Function checkPrepared

tools/benchmark/node_write_bench.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31static void checkPrepared(PreparedStatement& statement, const std::string& query) {
32 if (!statement.isSuccess()) {
33 std::cerr << "Prepare failed: " << query << "\n" << statement.getErrorMessage() << "\n";
34 std::exit(1);
35 }
36}
37
38struct Config {
39 double seconds = 10.0;

Callers 1

runCaseFunction · 0.85

Calls 2

isSuccessMethod · 0.45
getErrorMessageMethod · 0.45

Tested by

no test coverage detected