~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/empty_query.h

  • Committer: Andrew Hutchings
  • Date: 2011-01-04 20:16:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2057.
  • Revision ID: andrew@linuxjedi.co.uk-20110104201655-fm6splh5wqpv8wnb
Revert join_cache buffer cleanup, causes valgrind problems and as much as I don't like it I think the current implementation seems to work

Show diffs side-by-side

added added

removed removed

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