~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to drizzled/statement/select.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ 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