summaryrefslogtreecommitdiff
path: root/sql/procedure.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2002-11-06 17:43:22 +0400
committerunknown <bar@bar.mysql.r18.ru>2002-11-06 17:43:22 +0400
commitdedb5843256aa897147a2de4bfb37c87ffd0648d (patch)
treeda00e60b2fd7b0ab3f00cdd758ad27aac80f49ce /sql/procedure.h
parent6d7d19b860e0b3b9443b8059d36fb497029481d6 (diff)
downloadmariadb-git-dedb5843256aa897147a2de4bfb37c87ffd0648d.tar.gz
String->copy() now has a charset arg
Diffstat (limited to 'sql/procedure.h')
-rw-r--r--sql/procedure.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/procedure.h b/sql/procedure.h
index 3792d823b12..3434079a8fb 100644
--- a/sql/procedure.h
+++ b/sql/procedure.h
@@ -94,7 +94,7 @@ public:
enum_field_types field_type() const { return FIELD_TYPE_STRING; }
void set(double nr) { str_value.set(nr, 2, my_thd_charset); }
void set(longlong nr) { str_value.set(nr, my_thd_charset); }
- void set(const char *str, uint length) { str_value.copy(str,length); }
+ void set(const char *str, uint length) { str_value.copy(str,length, my_thd_charset); }
double val() { return atof(str_value.ptr()); }
longlong val_int() { return strtoll(str_value.ptr(),NULL,10); }
String *val_str(String*)