MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / to_stdstring

Function to_stdstring

libhsclient/string_util.cpp:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94std::string
95to_stdstring(uint32_t v)
96{
97 char buf[64];
98 snprintf(buf, sizeof(buf), "%lu", static_cast<unsigned long>(v));
99 return std::string(buf);
100}
101
102int
103errno_string(const char *s, int en, std::string& err_r)

Callers 9

hstcpcli_mainFunction · 0.85
runMethod · 0.85
op_insertMethod · 0.85
op_updateMethod · 0.85
op_readnolockMethod · 0.85
op_delinsMethod · 0.85
hs_longrun_init_tableFunction · 0.85
hs_longrun_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected