~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/catalog.h

  • Committer: Mark Atwood
  • Date: 2011-10-05 15:24:11 UTC
  • mfrom: (2420.2.4 rf)
  • Revision ID: me@mark.atwood.name-20111005152411-xksdn4vulhmtz2x4
mergeĀ lp:~olafvdspek/drizzle/refactor1a

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
 
 
22
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
26
 
namespace drizzled
27
 
{
28
 
 
29
 
namespace statement
30
 
{
 
25
namespace drizzled {
 
26
namespace statement {
31
27
 
32
28
class Catalog : public Statement
33
29
{
34
 
  identifier::Catalog _identifier;
35
 
 
36
30
public:
37
 
  Catalog(Session *in_session, drizzled::lex_string_t &arg);
 
31
  Catalog(Session*, str_ref);
38
32
 
39
33
  virtual bool authorized() const= 0;
40
34
  virtual bool perform() const= 0;
45
39
  {
46
40
    return _identifier;
47
41
  }
 
42
private:
 
43
  identifier::Catalog _identifier;
48
44
};
49
45
 
50
46
} /* namespace statement */
52
48
 
53
49
#include <drizzled/statement/catalog/create.h>
54
50
#include <drizzled/statement/catalog/drop.h>
55