~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/time_functions.cc

merged with latest trunk

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)