Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeNA/HandlerSocket-Plugin-for-MySQL
/ reset
Method
reset
client/hstest.cpp:49–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
}
48
}
49
void reset() {
50
if (db) {
51
mysql_close(db);
52
}
53
if ((db = mysql_init(0)) == 0) {
54
fatal_abort(
"failed to initialize mysql client"
);
55
}
56
}
57
operator MYSQL *() const { return db; }
58
private:
59
MYSQL *db;
Callers
6
test_9
Method · 0.45
test_10
Method · 0.45
test_11
Method · 0.45
test_12
Method · 0.45
test_21
Method · 0.45
test_22
Method · 0.45
Calls
1
fatal_abort
Function · 0.85
Tested by
no test coverage detected