MCPcopy Create free account
hub / github.com/Tencent/phxsql / Query

Method Query

phxbinlogsvr/core/mysql/mysql_command.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39int MySQLCommand::Query(const std::string &command) {
40 int ret = Connect();
41 if (ret) {
42 return ret;
43 }
44
45 return DoQuery(command);
46}
47
48int MySQLCommand::GetQueryResults(const std::string &query_str, std::vector<std::vector<std::string> > *results,
49 std::vector<std::string> *fields) {

Callers 4

GetRelayLogMethod · 0.45
SlaveStartMethod · 0.45
MasterStartMethod · 0.45
CheckMasterInitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected