~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Brian Aker
  • Date: 2011-01-18 00:26:36 UTC
  • mfrom: (2085.2.3 alter-table)
  • Revision ID: brian@tangent.org-20110118002636-mfyvnv58auvqr5gc
First pass on fix for UTF-8, this checks all of our schema names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
915
915
        if (cur_field->db_name && db_name)
916
916
        {
917
917
          /* If field_name is also qualified by a database name. */
918
 
          if (strcasecmp(cur_field->db_name, db_name))
 
918
          if (my_strcasecmp(system_charset_info, cur_field->db_name, db_name))
 
919
          {
919
920
            /* Same field names, different databases. */
920
921
            return NULL;
 
922
          }
921
923
          ++cur_match_degree;
922
924
        }
923
925
      }