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

Function errstat_cat_str

db/errstat.c:88–96  ·  view source on GitHub ↗

error string set *** */

Source from the content-addressed store, hash-verified

86
87/* *** error string set *** */
88void errstat_cat_str(errstat_t *err, const char *errstr)
89{
90 /*
91 if ( !err || !errstr ) { return; }
92
93 strncat0( err->errstr, errstr, sizeof(err->errstr) );
94 */
95 errstat_cat_strf(err, "%s", errstr);
96}
97
98void errstat_set_str(errstat_t *err, const char *errstr)
99{

Callers 13

mainFunction · 0.85
rese_commitFunction · 0.85
selectv_range_commitFunction · 0.85
do_commitrollbackFunction · 0.85
osql_save_updrecFunction · 0.85
osql_save_insrecFunction · 0.85
osql_save_delrecFunction · 0.85
osql_save_indexFunction · 0.85
osql_save_updcolsFunction · 0.85
osql_save_qblobsFunction · 0.85
osql_sock_commitFunction · 0.85

Calls 1

errstat_cat_strfFunction · 0.85

Tested by

no test coverage detected