mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Merge monty@work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql
This commit is contained in:
commit
afbecb2979
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue