~brianaker/drizzle/timestamp

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Lee Bieber
  • Date: 2011-02-10 01:09:23 UTC
  • mfrom: (2152.2.1 alter-table)
  • Revision ID: kalebral@gmail.com-20110210010923-mbwuwow0nudk7ryh
Merge Brian - more parser rework

Show diffs side-by-side

added added

removed removed

Lines of Context:
1224
1224
  if (session->abortOnWarning() or
1225
1225
      set_warning(level, code, cuted_increment))
1226
1226
  {
1227
 
    char str_nr[22];
 
1227
    char str_nr[DECIMAL_LONGLONG_DIGITS];
1228
1228
    char *str_end= internal::int64_t10_to_str(nr, str_nr, -10);
1229
1229
    make_truncated_value_warning(session, level, str_nr, (uint32_t) (str_end - str_nr),
1230
1230
                                 ts_type, field_name);