~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/schema.h

  • Committer: Mark Atwood
  • Date: 2011-10-19 00:10:47 UTC
  • mfrom: (2440.2.13 rf)
  • Revision ID: me@mark.atwood.name-20111019001047-atj0u8gedphon1tb
mergeĀ lp:~olafvdspek/drizzle/refactor5

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 */