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