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

Fix typo

parent d065dd56
......@@ -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