Commit afbecb29 authored by unknown's avatar unknown

Merge monty@work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql

parents e82e27c6 4d7c91d8
......@@ -2076,7 +2076,7 @@ String *Field_double::val_str(String *val_buffer,
*to++= *pos++;
#else
#ifdef HAVE_SNPRINTF
buff[to_length-1]=0; // Safety
to[to_length-1]=0; // Safety
snprintf(to,to_length-1,"%.*f",dec,nr);
#else
sprintf(to,"%.*f",dec,nr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment