diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2004-11-01 14:43:53 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2004-11-01 14:43:53 +0000 |
commit | a38490bb038d83edd12b215c0b85c16edaa41e26 (patch) | |
tree | 74f286352bc2fd0fd79bf7896a4e4c480393da70 | |
parent | 740fc88e7fec22f0e7006c82367ac8b633e4f5ee (diff) | |
download | mariadb-git-a38490bb038d83edd12b215c0b85c16edaa41e26.tar.gz |
fix call of string::copy() if HAVE_FCONVERT is set
-rw-r--r-- | sql/sql_string.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc index 6b2bb07fb8c..c1701e7e9bf 100644 --- a/sql/sql_string.cc +++ b/sql/sql_string.cc @@ -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; |