~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/select.h

  • Committer: Brian Aker
  • Date: 2010-02-25 07:54:52 UTC
  • mfrom: (1273.13.101 build)
  • Revision ID: brian@gaz-20100225075452-19eozreshbrerypu
Merge of all patches in build.

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