MCPcopy Create free account
hub / github.com/ByConity/ByConity / errorMessage

Function errorMessage

src/mysqlxx/Exception.cpp:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10{
11
12std::string errorMessage(MYSQL * driver)
13{
14 std::stringstream res;
15 res << mysql_error(driver)
16 << " (" << (driver->host ? driver->host : "(nullptr)")
17 << ":" << driver->port << ")";
18 return res.str();
19}
20
21void checkError(MYSQL * driver)
22{

Callers 14

executeImplMethod · 0.70
connectMethod · 0.70
checkErrorFunction · 0.70
onErrorFunction · 0.70
uploadTaskDescriptionMethod · 0.50
executeFetchMethod · 0.50
cloneReplicaIfNeededMethod · 0.50
removeProcessedEntryMethod · 0.50

Calls 1

strMethod · 0.45

Tested by

no test coverage detected