~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field.cc

  • Committer: Monty Taylor
  • Date: 2008-07-16 19:46:20 UTC
  • mfrom: (171.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: monty@inaugust.com-20080716194620-wkfqla6r9aqgoa5f
Merged Patrick's changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7562
7562
  {
7563
7563
    /* DBL_DIG is enough to print '-[digits].E+###' */
7564
7564
    char str_nr[DBL_DIG + 8];
7565
 
    uint str_len= my_sprintf(str_nr, (str_nr, "%g", nr));
 
7565
    uint str_len= sprintf(str_nr, "%g", nr);
7566
7566
    make_truncated_value_warning(thd, level, str_nr, str_len, ts_type,
7567
7567
                                 field_name);
7568
7568
  }