~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field.cc

  • Committer: Patrick Galbraith
  • Date: 2008-07-16 18:48:24 UTC
  • mto: (77.3.28 glibclient)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: patg@ishvara-20080716184824-nyd9po8rwk00l2qu
Dar, I forgot to commit this earlier.

* Removed my_sprintf from the files below
* Fixed some small issues that cause compile to fail (pedantic picky-ousity)

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
  }