MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / check_last_error

Method check_last_error

test/src/test-cppapi-consolidation-plan.cc:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void CppConsolidationPlanFx::check_last_error(std::string expected) {
176 const char* msg = "unset";
177 tiledb_error_t* err{nullptr};
178 tiledb_ctx_get_last_error(ctx_.ptr().get(), &err);
179 if (err != nullptr) {
180 tiledb_error_message(err, &msg);
181 }
182
183 CHECK(msg == expected);
184}
185
186tiledb::sm::ConsolidationPlan CppConsolidationPlanFx::call_handler(
187 uint64_t fragment_size,

Callers

nothing calls this directly

Calls 4

tiledb_error_messageFunction · 0.85
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected