~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/execute.h

  • Committer: Brian Aker
  • Date: 2010-11-11 04:16:59 UTC
  • mto: (1932.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1930.
  • Revision ID: brian@tangent.org-20101111041659-5xb7ymjrasq1520p
Adding in support for EXECUTE to have WITH NO RETURN.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
class Execute : public Statement
34
34
{
35
 
  bool is_var;
36
 
  LEX_STRING to_execute;
 
35
  bool is_quiet;
 
36
  drizzled::execute_string_t to_execute;
37
37
 
38
38
  bool parseVariable(void);
39
39
 
40
40
public:
41
 
  Execute(Session *in_session);
42
 
 
43
 
  void setQuery(LEX_STRING &arg)
44
 
  {
45
 
    to_execute= arg;
46
 
  }
47
 
 
48
 
  void setVar()
49
 
  {
50
 
    is_var= true;
51
 
  }
 
41
  Execute(Session *in_session, drizzled::execute_string_t, bool is_quiet_arg);
 
42
 
52
43
 
53
44
  bool execute();
54
45
};