~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/field.cc

  • Committer: Mark Atwood
  • Date: 2011-10-14 15:59:08 UTC
  • mfrom: (2430.1.12 refactor3a)
  • Revision ID: me@mark.atwood.name-20111014155908-whqmrmaf2grpsg5c
mergeĀ lp:~olafvdspek/drizzle/refactor3

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 system_charset_info->strcasecmp(item_field->name, field_name) &&
 
372
  return (not my_strcasecmp(system_charset_info, item_field->name, field_name) &&
373
373
          (not item_field->table_name || not table_name ||
374
 
           (not table_alias_charset->strcasecmp(item_field->table_name, table_name) &&
 
374
           (not my_strcasecmp(table_alias_charset, item_field->table_name, table_name) &&
375
375
            (not item_field->db_name || not db_name ||
376
 
             (item_field->db_name && not system_charset_info->strcasecmp(item_field->db_name, db_name))))));
 
376
             (item_field->db_name && not my_strcasecmp(system_charset_info, item_field->db_name, db_name))))));
377
377
}
378
378
 
379
379