~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-22 13:10:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2447.
  • Revision ID: olafvdspek@gmail.com-20111022131053-b5ihev4dymuovcj2
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 
103
103
bool Key_part_spec::operator==(const Key_part_spec& other) const
104
104
{
105
 
  return length == other.length &&
106
 
         field_name.size() == other.field_name.size() &&
107
 
    !my_strcasecmp(system_charset_info, field_name.data(), other.field_name.data());
 
105
  return length == other.length 
 
106
    && field_name.size() == other.field_name.size()
 
107
    && not my_strcasecmp(system_charset_info, field_name.data(), other.field_name.data());
108
108
}
109
109
 
110
110
Open_tables_state::Open_tables_state(Session& session, uint64_t version_arg) :