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

Method reconnect

libhsclient/hstcpcli.cpp:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91int
92hstcpcli::reconnect()
93{
94 clear_error();
95 close();
96 std::string err;
97 if (socket_connect(fd, sargs, err) != 0) {
98 set_error(-1, err);
99 }
100 return error_code;
101}
102
103bool
104hstcpcli::stable_point()

Callers

nothing calls this directly

Calls 1

socket_connectFunction · 0.85

Tested by

no test coverage detected