Drizzled Public API Documentation

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

List of all members.

Public Member Functions

 SQLExecutor (const std::string &user, const std::string &schema)
void markInErrorState ()
void clearErrorState ()
const std::string & getErrorMessage ()
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 30 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

Definition at line 49 of file sql_executor.cc.


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