Public Member Functions | |
SQLExecutor (const std::string &user, const std::string &schema) | |
void | markInErrorState () |
void | clearErrorState () |
const std::string & | getErrorMessage () const |
bool | executeSQL (std::vector< std::string > &sql) |
Protected Attributes | |
drizzled::Session::shared_ptr | _session |
Private Attributes | |
bool | _in_error_state |
std::string | _error_message |
Definition at line 29 of file sql_executor.h.
bool slave::SQLExecutor::executeSQL | ( | std::vector< std::string > & | sql) |
Execute a batch of SQL statements.
sql | Batch of SQL statements to execute. |
true | Success |
false | Failure |