~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/truncate.h

  • Committer: Brian Aker
  • Date: 2011-01-08 04:23:10 UTC
  • mto: (2064.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2065.
  • Revision ID: brian@tangent.org-20110108042310-wrcr0n473h37ljfm
First pass, remove retry.

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
 
    Statement(in_session)
40
 
  {
41
 
    getSession()->getLex()->sql_command= SQLCOM_TRUNCATE;
42
 
  }
 
38
  Truncate(Session *in_session)
 
39
    :
 
40
      Statement(in_session)
 
41
  {}
43
42
 
44
43
  bool execute();
45
44
};