~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/schema.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-18 13:52:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2443.
  • Revision ID: olafvdspek@gmail.com-20111018135219-vn5xhy8pvumotthk
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  std::string db_path;
44
44
 
45
45
public:
46
 
  Schema(const std::string &db_arg);
 
46
  Schema(str_ref);
47
47
 
48
48
  virtual std::string getSQLPath() const
49
49
        {
74
74
    return boost::ilexicographical_compare(left.getSchemaName(), right.getSchemaName());
75
75
  }
76
76
 
77
 
  friend bool operator==(const Schema& left,
78
 
                         const Schema& right)
 
77
  friend bool operator==(const Schema& left, const Schema& right)
79
78
  {
80
79
    return boost::iequals(left.getSchemaName(), right.getSchemaName());
81
80
  }
82
81
};
83
82
 
84
 
std::ostream& operator<<(std::ostream& output, const Schema&identifier);
 
83
std::ostream& operator<<(std::ostream&, const Schema&);
85
84
 
86
85
 
87
86
} /* namespace identifier */