~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/field.cc

  • Committer: Brian Aker
  • Date: 2011-11-20 18:59:19 UTC
  • mto: (2463.1.1 drizzle-include)
  • mto: This revision was merged to the branch mainline in revision 2465.
  • Revision ID: brian@tangent.org-20111120185919-8a0og41w2nn8redh
Small correction to style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
369
369
    (In cases where we would choose wrong we would have to generate a
370
370
    ER_NON_UNIQ_ERROR).
371
371
  */
372
 
  return (not my_strcasecmp(system_charset_info, item_field->name, field_name) &&
 
372
  return (not system_charset_info->strcasecmp(item_field->name, field_name) &&
373
373
          (not item_field->table_name || not table_name ||
374
 
           (not my_strcasecmp(table_alias_charset, item_field->table_name, table_name) &&
 
374
           (not table_alias_charset->strcasecmp(item_field->table_name, table_name) &&
375
375
            (not item_field->db_name || not db_name ||
376
 
             (item_field->db_name && not my_strcasecmp(system_charset_info, item_field->db_name, db_name))))));
 
376
             (item_field->db_name && not system_charset_info->strcasecmp(item_field->db_name, db_name))))));
377
377
}
378
378
 
379
379