mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 18:55:31 +02:00
fix call of string::copy() if HAVE_FCONVERT is set
This commit is contained in:
parent
740fc88e7f
commit
a38490bb03
1 changed files with 2 additions and 1 deletions
|
|
@ -142,7 +142,8 @@ bool String::set(double num,uint decimals, CHARSET_INFO *cs)
|
|||
buff[0]='-';
|
||||
pos=buff;
|
||||
}
|
||||
return copy(pos,(uint32) strlen(pos), &my_charset_latin1, cs);
|
||||
uint dummy_errors;
|
||||
return copy(pos,(uint32) strlen(pos), &my_charset_latin1, cs, &dummy_errors);
|
||||
}
|
||||
if (alloc((uint32) ((uint32) decpt+3+decimals)))
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue