~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Brian Aker
  • Date: 2011-01-13 23:37:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2093.
  • Revision ID: brian@tangent.org-20110113233719-hwcv3en5h5ohevoq
Rework the CREATE TABLE LIKE call.

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 (my_strcasecmp(system_charset_info, cur_field->db_name, db_name))
919
 
          {
 
918
          if (strcasecmp(cur_field->db_name, db_name))
920
919
            /* Same field names, different databases. */
921
920
            return NULL;
922
 
          }
923
921
          ++cur_match_degree;
924
922
        }
925
923
      }