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

This commit is contained in:
unknown 2000-08-22 01:36:12 +03:00
commit afbecb2979

View file

@ -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);