Drizzled Public API Documentation

drizzled::statement::Flush Class Reference
Inheritance diagram for drizzled::statement::Flush:
drizzled::statement::Statement

List of all members.

Public Member Functions

 Flush (Session *in_session)
bool execute ()
void setFlushLog (bool f)
void setFlushTables (bool f)
void setFlushTablesWithReadLock (bool f)
void setFlushStatus (bool f)
void setFlushGlobalStatus (bool f)
void set_command (enum_sql_command)
LEX & lex ()
session::Transactionstransaction ()
virtual bool isTransactional ()
Sessionsession () const
virtual bool isShow ()

Private Member Functions

bool reloadCache ()

Private Attributes

bool flush_log
bool flush_tables
bool flush_tables_with_read_lock
bool flush_status
bool flush_global_status

Detailed Description

Definition at line 29 of file flush.h.


Member Function Documentation

bool drizzled::statement::Flush::execute ( )
virtual

Execute the statement.

Returns:
true on failure; false on success

Implements drizzled::statement::Statement.

Definition at line 34 of file flush.cc.

References drizzled::Session::my_ok(), and reloadCache().

bool drizzled::statement::Flush::reloadCache ( )
private

Reload/resets privileges and the different caches.

Returns:
Error status code
Return values:
0Ok
!=0Error; session->killed is set or session->is_error() is true

Definition at line 44 of file flush.cc.

References drizzled::TableList::select_lex.

Referenced by execute().


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