| 46 | } |
| 47 | |
| 48 | int 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 | |
| 57 | int MySQLCommand::Connect() { |
| 58 | if (is_connect_) { |
no outgoing calls
no test coverage detected