~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rename_table.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_STATEMENT_RENAME_TABLE_H
22
 
#define DRIZZLED_STATEMENT_RENAME_TABLE_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
26
 
namespace drizzled
27
 
{
28
 
class Session;
29
 
class TableList;
30
 
 
31
 
namespace statement
32
 
{
 
25
namespace drizzled {
 
26
namespace statement {
33
27
 
34
28
class RenameTable : public Statement
35
29
{
36
30
public:
37
 
  RenameTable(Session *in_session)
38
 
    :
39
 
      Statement(in_session)
40
 
  {}
 
31
  RenameTable(Session *in_session) :
 
32
    Statement(in_session)
 
33
  {
 
34
    set_command(SQLCOM_RENAME_TABLE);
 
35
  }
41
36
 
42
37
  bool execute();
43
38
 
58
53
 
59
54
} /* namespace drizzled */
60
55
 
61
 
#endif /* DRIZZLED_STATEMENT_RENAME_TABLE_H */