~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.cc

Merge Siddharth

Show diffs side-by-side

added added

removed removed

Lines of Context:
524
524
    if (session->lex->describe)
525
525
    {
526
526
      char warn_buff[DRIZZLE_ERRMSG_SIZE];
527
 
      sprintf(warn_buff, ER(ER_SELECT_REDUCED), select_lex->select_number);
 
527
      snprintf(warn_buff, sizeof(warn_buff), ER(ER_SELECT_REDUCED), select_lex->select_number);
528
528
      push_warning(session, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
529
529
                   ER_SELECT_REDUCED, warn_buff);
530
530
    }
1320
1320
        if (session->lex->describe)
1321
1321
        {
1322
1322
          char warn_buff[DRIZZLE_ERRMSG_SIZE];
1323
 
          sprintf(warn_buff, ER(ER_SELECT_REDUCED), select_lex->select_number);
 
1323
          snprintf(warn_buff, sizeof(warn_buff), ER(ER_SELECT_REDUCED), select_lex->select_number);
1324
1324
          push_warning(session, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
1325
1325
                       ER_SELECT_REDUCED, warn_buff);
1326
1326
        }