~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Eric Day
  • Date: 2009-08-31 23:50:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1134.
  • Revision ID: eday@oddments.org-20090831235037-hwwe6zhq94o4lxtd
Removed purecov messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
987
987
        even if the query itself redirects the output.
988
988
      */
989
989
      if (!(result= new select_send()))
990
 
        return true;                               /* purecov: inspected */
 
990
        return true;
991
991
      session->send_explain_fields(result);
992
992
      res= mysql_explain_union(session, &session->lex->unit, result);
993
993
      if (lex->describe & DESCRIBE_EXTENDED)
1009
1009
    else
1010
1010
    {
1011
1011
      if (!result && !(result= new select_send()))
1012
 
        return true;                               /* purecov: inspected */
 
1012
        return true;
1013
1013
      res= handle_select(session, lex, result, 0);
1014
1014
      if (result != lex->result)
1015
1015
        delete result;
1270
1270
  LEX  *lex= session->lex;
1271
1271
 
1272
1272
  if (check_identifier_name(field_name, ER_TOO_LONG_IDENT))
1273
 
    return(1);                          /* purecov: inspected */
 
1273
    return(1);
1274
1274
 
1275
1275
  if (type_modifier & PRI_KEY_FLAG)
1276
1276
  {
1412
1412
      return NULL;
1413
1413
  }
1414
1414
  if (!(ptr = (TableList *) session->calloc(sizeof(TableList))))
1415
 
    return NULL;                                /* purecov: inspected */
 
1415
    return NULL;
1416
1416
  if (table->db.str)
1417
1417
  {
1418
1418
    ptr->is_fqtn= true;
1469
1469
      if (!my_strcasecmp(table_alias_charset, alias_str, tables->alias) &&
1470
1470
          !strcmp(ptr->db, tables->db))
1471
1471
      {
1472
 
        my_error(ER_NONUNIQ_TABLE, MYF(0), alias_str); /* purecov: tested */
1473
 
        return NULL;                            /* purecov: tested */
 
1472
        my_error(ER_NONUNIQ_TABLE, MYF(0), alias_str);
 
1473
        return NULL;
1474
1474
      }
1475
1475
    }
1476
1476
  }