Drizzled Public API Documentation

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

Public Member Functions

 RenameTable (Session *in_session)
 
bool execute ()
 
void set_command (enum_sql_command)
 
LEX & lex ()
 
session::Transactionstransaction ()
 
virtual bool isTransactional ()
 
Sessionsession () const
 
virtual bool isShow ()
 

Private Member Functions

bool renameTables (TableList *table_list)
 
TableListreverseTableList (TableList *table_list)
 
bool rename (TableList *ren_table, const char *new_db, const char *new_table_name, bool skip_error)
 
TableListrenameTablesInList (TableList *table_list, bool skip_error)
 

Detailed Description

Definition at line 28 of file rename_table.h.

Member Function Documentation

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

Execute the statement.

Returns
true on failure; false on success

Implements drizzled::statement::Statement.

Definition at line 34 of file rename_table.cc.

References drizzled::TableList::next_local.


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