~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/sql_string.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:
125
125
  str_charset=cs;
126
126
  if (decimals >= NOT_FIXED_DEC)
127
127
  {
128
 
    uint32 len= my_sprintf(buff,(buff, "%.14g",num));// Enough for a DATETIME
 
128
    uint32 len= sprintf(buff, "%.14g",num);// Enough for a DATETIME
129
129
    return copy(buff, len, &my_charset_latin1, cs, &dummy_errors);
130
130
  }
131
131
#ifdef HAVE_SNPRINTF