~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/truncate.h

  • Committer: Brian Aker
  • Date: 2011-01-25 07:24:41 UTC
  • mfrom: (2104.3.14 alter-table)
  • Revision ID: brian@tangent.org-20110125072441-gf9f14lkxjhvvku9
MergeĀ inĀ alter/parser

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
class Truncate : public Statement
36
36
{
37
37
public:
38
 
  Truncate(Session *in_session)
39
 
    :
40
 
      Statement(in_session)
41
 
  {}
 
38
  Truncate(Session *in_session) :
 
39
    Statement(in_session)
 
40
  {
 
41
    getSession()->getLex()->sql_command= SQLCOM_TRUNCATE;
 
42
  }
42
43
 
43
44
  bool execute();
44
45
};