~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/table.h

  • Committer: Brian Aker
  • Date: 2010-10-15 05:30:39 UTC
  • mfrom: (1843.8.7 trunk-drizzle)
  • Revision ID: brian@tangent.org-20101015053039-ebmv3hnn1yaq4wqy
Merge in refactoring on table (broken it up by type, this will allow me to
insert the new locking).

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
 
208
208
  friend bool operator==(TableIdentifier &left, TableIdentifier &right)
209
209
  {
210
 
    if (left.getKey() == right.getKey())
211
 
      return true;
 
210
    if (left.getHashValue() == right.getHashValue())
 
211
    {
 
212
      if (left.getKey() == right.getKey())
 
213
        return true;
 
214
    }
212
215
 
213
216
    return false;
214
217
  }