diff options
author | tomas@poseidon.ndb.mysql.com <> | 2004-11-01 14:43:53 +0000 |
---|---|---|
committer | tomas@poseidon.ndb.mysql.com <> | 2004-11-01 14:43:53 +0000 |
commit | 1827256ac55dd195fff309c8475541bc335aa7ec (patch) | |
tree | 74f286352bc2fd0fd79bf7896a4e4c480393da70 /sql/sql_string.cc | |
parent | 98b43e7f24742dcc92185175b2004547541c9123 (diff) | |
download | mariadb-git-1827256ac55dd195fff309c8475541bc335aa7ec.tar.gz |
fix call of string::copy() if HAVE_FCONVERT is set
Diffstat (limited to 'sql/sql_string.cc')
-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; |