Drizzled Public API Documentation

slave::SQLExecutor Class Reference
Inheritance diagram for slave::SQLExecutor:
slave::QueueConsumer slave::QueueProducer slave::ReplicationSchema

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
 

Detailed Description

Definition at line 29 of file sql_executor.h.

Member Function Documentation

bool slave::SQLExecutor::executeSQL ( std::vector< std::string > &  sql)

Execute a batch of SQL statements.

Parameters
sqlBatch of SQL statements to execute.
Return values
trueSuccess
falseFailure

The documentation for this class was generated from the following file: