~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rename_table.h

  • Committer: Stewart Smith
  • Date: 2011-03-29 01:30:47 UTC
  • mto: (2257.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: stewart@flamingspork.com-20110329013047-5ujzfx6pahmwuko2
have CachedDirectory print out a warning if we can't stat() something in a directory. We should always have access to at least stat() things in directories Drizzle is running in (otherwise there is likely a problem)

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
 
34
33
class RenameTable : public Statement
35
34
{
36
35
public:
37
 
  RenameTable(Session *in_session)
38
 
    :
39
 
      Statement(in_session)
40
 
  {}
 
36
  RenameTable(Session *in_session) :
 
37
    Statement(in_session)
 
38
  {
 
39
    set_command(SQLCOM_RENAME_TABLE);
 
40
  }
41
41
 
42
42
  bool execute();
43
43
 
58
58
 
59
59
} /* namespace drizzled */
60
60
 
61
 
#endif /* DRIZZLED_STATEMENT_RENAME_TABLE_H */