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

Method close

libhsclient/hstcpcli.cpp:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void
77hstcpcli::close()
78{
79 fd.close();
80 readbuf.clear();
81 writebuf.clear();
82 flds.clear();
83 response_end_offset = 0;
84 cur_row_offset = 0;
85 num_flds = 0;
86 num_req_bufd = 0;
87 num_req_sent = 0;
88 num_req_rcvd = 0;
89}
90
91int
92hstcpcli::reconnect()

Callers 1

test_7Method · 0.45

Calls 1

clearMethod · 0.45

Tested by 1

test_7Method · 0.36