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

Method dbcb_resp_begin

handlersocket/hstcpsvr_worker.cpp:221–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void
222hstcpsvr_conn::dbcb_resp_begin(size_t num_flds)
223{
224 cstate.resp_begin_pos = cstate.writebuf.size();
225 cstate.writebuf.append_literal("0\t");
226 write_ui32(cstate.writebuf, num_flds);
227}
228
229void
230hstcpsvr_conn::dbcb_resp_entry(const char *fld, size_t fldlen)

Callers 1

database.cppFile · 0.80

Calls 3

write_ui32Function · 0.85
append_literalMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected