~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_subselect.cc

  • Committer: Felipe
  • Date: 2008-08-04 23:58:04 UTC
  • mto: (261.2.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: felipe@pena-20080804235804-x55q2xqxcar6u66f
- Renamed MYSQL_ERROR to DRIZZLE_ERROR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
500
500
    have_to_be_excluded= 1;
501
501
    if (thd->lex->describe)
502
502
    {
503
 
      char warn_buff[MYSQL_ERRMSG_SIZE];
 
503
      char warn_buff[DRIZZLE_ERRMSG_SIZE];
504
504
      sprintf(warn_buff, ER(ER_SELECT_REDUCED), select_lex->select_number);
505
 
      push_warning(thd, MYSQL_ERROR::WARN_LEVEL_NOTE,
 
505
      push_warning(thd, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
506
506
                   ER_SELECT_REDUCED, warn_buff);
507
507
    }
508
508
    substitution= select_lex->item_list.head();
1290
1290
        have_to_be_excluded= 1;
1291
1291
        if (thd->lex->describe)
1292
1292
        {
1293
 
          char warn_buff[MYSQL_ERRMSG_SIZE];
 
1293
          char warn_buff[DRIZZLE_ERRMSG_SIZE];
1294
1294
          sprintf(warn_buff, ER(ER_SELECT_REDUCED), select_lex->select_number);
1295
 
          push_warning(thd, MYSQL_ERROR::WARN_LEVEL_NOTE,
 
1295
          push_warning(thd, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
1296
1296
                       ER_SELECT_REDUCED, warn_buff);
1297
1297
        }
1298
1298
        return(RES_REDUCE);