Commit 84107a35 authored by monty@donna.mysql.com's avatar monty@donna.mysql.com

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

parents f7066540 f85a25e9
...@@ -2076,7 +2076,7 @@ String *Field_double::val_str(String *val_buffer, ...@@ -2076,7 +2076,7 @@ String *Field_double::val_str(String *val_buffer,
*to++= *pos++; *to++= *pos++;
#else #else
#ifdef HAVE_SNPRINTF #ifdef HAVE_SNPRINTF
buff[to_length-1]=0; // Safety to[to_length-1]=0; // Safety
snprintf(to,to_length-1,"%.*f",dec,nr); snprintf(to,to_length-1,"%.*f",dec,nr);
#else #else
sprintf(to,"%.*f",dec,nr); 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