summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-11-01 14:43:53 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-11-01 14:43:53 +0000
commita38490bb038d83edd12b215c0b85c16edaa41e26 (patch)
tree74f286352bc2fd0fd79bf7896a4e4c480393da70 /sql/sql_string.cc
parent740fc88e7fec22f0e7006c82367ac8b633e4f5ee (diff)
downloadmariadb-git-a38490bb038d83edd12b215c0b85c16edaa41e26.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.cc3
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;