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

Method GetQueryResults

phxbinlogsvr/core/mysql/mysql_command.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48int MySQLCommand::GetQueryResults(const std::string &query_str, std::vector<std::vector<std::string> > *results,
49 std::vector<std::string> *fields) {
50 int ret = Query(query_str);
51 if (ret) {
52 return ret;
53 }
54 return GetResults(results, fields);
55}
56
57int MySQLCommand::Connect() {
58 if (is_connect_) {

Callers 2

QueryMethod · 0.80
CheckUserGrantExistMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected