~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/truncate.h

  • Committer: Andrew Hutchings
  • Date: 2011-01-04 11:36:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2057.
  • Revision ID: andrew@linuxjedi.co.uk-20110104113601-diiveyfl32dgaa6f
Refix using placement new for join code, vector for join cache buffer.
Also refix a bug in COND_CMP properly

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
};