~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/execute.h

  • Committer: Lee Bieber
  • Date: 2010-10-27 18:28:56 UTC
  • mfrom: (1883.1.3 build)
  • Revision ID: kalebral@gmail.com-20101027182856-q3wqtbv1t4egkjsk
Merge Andrew - fix bug 667360: --defaults-file not processed before paths read           
Merge Andrew - fix bug 656577: Importing SQL script results in silent failure    
Merge Andrew - fix bug 667053: drizzledump minor output cleanup needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
{
28
28
class Session;
29
29
 
30
 
namespace plugin {
31
 
class NullClient;
32
 
}
33
 
 
34
30
namespace statement
35
31
{
36
32
 
37
33
class Execute : public Statement
38
34
{
39
 
  bool is_quiet;
40
 
  bool is_concurrent;
41
 
  bool should_wait;
42
 
  drizzled::execute_string_t to_execute;
 
35
  bool is_var;
 
36
  LEX_STRING to_execute;
43
37
 
44
38
  bool parseVariable(void);
45
39
 
46
 
  bool runStatement(plugin::NullClient *client, const std::string &arg);
47
 
 
48
 
  bool execute_shell();
49
40
public:
50
 
  Execute(Session *in_session, drizzled::execute_string_t, bool is_quiet_arg, bool is_concurrent, bool should_wait);
51
 
 
 
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
  }
52
52
 
53
53
  bool execute();
54
54
};