MCPcopy Create free account
hub / github.com/MariaDB/server / close

Method close

plugin/handler_socket/libhsclient/hstcpcli.cpp:77–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

test_7Method · 0.45

Calls 1

clearMethod · 0.45

Tested by 1

test_7Method · 0.36