~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/truncate.h

  • Committer: Monty Taylor
  • Date: 2011-03-08 23:35:47 UTC
  • mfrom: (2224.2.9 statement2)
  • mto: This revision was merged to the branch mainline in revision 2227.
  • Revision ID: mordred@inaugust.com-20110308233547-w2s3tm5svzv339dp
Merged Olaf - Statement refactor.

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
    set_command(SQLCOM_TRUNCATE);
 
42
  }
42
43
 
43
44
  bool execute();
44
45
};