| 191 | } |
| 192 | |
| 193 | int PhxSQLClientBase::Ping() { |
| 194 | if (!m_poMySQLProp->bConnected) { |
| 195 | return phxsql::MYSQL_FAIL; |
| 196 | } |
| 197 | |
| 198 | if (mysql_ping(&m_poMySQLProp->connection) != 0) { |
| 199 | CloseConnection(); |
| 200 | return phxsql::MYSQL_FAIL; |
| 201 | } |
| 202 | return phxsql::OK; |
| 203 | } |
| 204 | |
| 205 | int PhxSQLClientBase::Query(const char* szSqlString) { |
| 206 | return Query(szSqlString, false); |
nothing calls this directly
no outgoing calls
no test coverage detected