~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/select.h

  • Committer: Monty Taylor
  • Date: 2010-03-11 18:27:20 UTC
  • mfrom: (1333 staging)
  • mto: This revision was merged to the branch mainline in revision 1348.
  • Revision ID: mordred@inaugust.com-20100311182720-hd1h87y6cb1b1mp0
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
class Select : public Statement
34
34
{
 
35
  /* These will move out once we have args for table functions */
 
36
  std::string show_schema;
 
37
  std::string show_table;
 
38
 
35
39
public:
36
40
  Select(Session *in_session)
37
41
    :
38
42
      Statement(in_session)
39
43
  {}
40
44
 
 
45
  void setShowPredicate(const std::string &schema_arg, const std::string &table_arg)
 
46
  {
 
47
    show_schema= schema_arg;
 
48
    show_table= table_arg;
 
49
  }
 
50
 
 
51
  const std::string getShowSchema()
 
52
  {
 
53
    return show_schema;
 
54
  }
 
55
 
 
56
  const std::string getShowTable()
 
57
  {
 
58
    return show_table;
 
59
  }
 
60
 
41
61
  bool execute();
42
62
};
43
63