~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/schema.h

  • Committer: Brian Aker
  • Date: 2011-01-25 00:51:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2113.
  • Revision ID: brian@tangent.org-20110125005134-4q2lqcwpyj4xuwd0
Merge in the last of the sql_command/push it into the statement object
creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  This will replace Table_ident.
30
30
  */
31
31
 
32
 
 
33
 
 
34
32
#ifndef DRIZZLED_IDENTIFIER_SCHEMA_H
35
33
#define DRIZZLED_IDENTIFIER_SCHEMA_H
36
34
 
37
35
#include <drizzled/enum.h>
38
 
#include <drizzled/definitions.h>
39
 
#include <drizzled/message/table.pb.h>
40
 
#include <drizzled/catalog/local.h>
 
36
#include "drizzled/definitions.h"
 
37
#include "drizzled/message/table.pb.h"
 
38
#include "drizzled/catalog/local.h"
41
39
#include <string.h>
42
40
 
43
41
#include <assert.h>
50
48
 
51
49
#include <boost/algorithm/string.hpp>
52
50
 
53
 
#include <drizzled/visibility.h>
54
 
 
55
51
namespace drizzled {
56
52
namespace identifier {
57
53
 
58
 
class DRIZZLED_API Schema : public Identifier
 
54
class Schema : public Identifier
59
55
{
60
56
  std::string db;
61
57
  std::string db_path;
82
78
 
83
79
  virtual bool isValid() const;
84
80
 
85
 
  inline virtual bool isSystem() const
86
 
  {
87
 
    return false;
88
 
  }
89
 
 
90
81
  bool compare(const std::string &arg) const;
91
82
  bool compare(Schema::const_reference) const;
92
83