~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 10:31:37 UTC
  • mto: (2247.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323103137-lwevis2tfchgu18u
Propogate return void

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_STATEMENT_SHOW_H
22
 
#define DRIZZLED_STATEMENT_SHOW_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement/select.h>
25
24
 
38
37
  bool if_exists;
39
38
 
40
39
public:
41
 
  Show(Session *in_session)
42
 
    :
43
 
      Select(in_session),
44
 
      if_exists(false)
45
 
  {}
 
40
  Show(Session *in_session);
46
41
 
47
42
  void setShowPredicate(const std::string &schema_arg, const std::string &table_arg)
48
43
  {
76
71
  }
77
72
 
78
73
  bool execute();
 
74
 
 
75
  bool isShow() { return true; }
79
76
};
80
77
 
81
78
} /* namespace statement */
82
79
} /* namespace drizzled */
83
80
 
84
 
#endif /* DRIZZLED_STATEMENT_SHOW_H */