~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Joe Daly
  • Date: 2010-03-08 04:23:54 UTC
  • mto: This revision was merged to the branch mainline in revision 1380.
  • Revision ID: skinny.moey@gmail.com-20100308042354-7k0jibdqaxkhac7o
scoreboardĀ implementationĀ forĀ statistics

Show diffs side-by-side

added added

removed removed

Lines of Context:
787
787
  if (session->lex->describe & DESCRIBE_EXTENDED)
788
788
  {
789
789
    char warn_buff[DRIZZLE_ERRMSG_SIZE];
790
 
    snprintf(warn_buff, sizeof(warn_buff), ER(ER_WARN_FIELD_RESOLVED),
 
790
    sprintf(warn_buff, ER(ER_WARN_FIELD_RESOLVED),
791
791
            db_name, (db_name[0] ? "." : ""),
792
792
            table_name, (table_name [0] ? "." : ""),
793
793
            resolved_item->field_name,
906
906
        if (cur_field->db_name && db_name)
907
907
        {
908
908
          /* If field_name is also qualified by a database name. */
909
 
          if (strcasecmp(cur_field->db_name, db_name))
 
909
          if (strcmp(cur_field->db_name, db_name))
910
910
            /* Same field names, different databases. */
911
911
            return NULL;
912
912
          ++cur_match_degree;