MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / handle

Function handle

tools/cdb2_sqlreplay/cdb2_sqlreplay.cpp:865–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863}
864
865void handle(cdb2_hndl_tp *db, const char *event, cson_value *event_val) {
866 auto h = handlers.find(event);
867 if (h == handlers.end()) {
868 cson_free_value(event_val);
869 return;
870 }
871 else
872 h->second(db, event_val);
873}
874
875struct event_source {
876 std::string fname;

Callers 1

process_eventsFunction · 0.85

Calls 1

cson_free_valueFunction · 0.85

Tested by

no test coverage detected