~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/time_functions.cc

  • Committer: Joe Daly
  • Date: 2010-06-08 03:11:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1614.
  • Revision ID: skinny.moey@gmail.com-20100608031113-wt8o9k2bbyawwazs
add missing guard in header

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
      break;
217
217
  }
218
218
  if (field_name)
 
219
  {
219
220
    cs->cset->snprintf(cs, warn_buff, sizeof(warn_buff),
220
221
                       ER(ER_TRUNCATED_WRONG_VALUE_FOR_FIELD),
221
222
                       type_str, str.c_ptr(), field_name,
222
223
                       (uint32_t) session->row_count);
 
224
  }
223
225
  else
224
226
  {
225
227
    if (time_type > DRIZZLE_TIMESTAMP_ERROR)