summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index aab67f21649..14dadc96891 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -469,7 +469,7 @@ public:
}
void fix_length_and_dec()
{
- str_value.set_charset(my_charset_bin);
+ set_charset(my_charset_bin);
max_length=args[0]->max_length;
}
void print(String *str) { print_op(str); }
@@ -485,7 +485,7 @@ public:
const char *func_name() const { return "load_file"; }
void fix_length_and_dec()
{
- str_value.set_charset(my_charset_bin);
+ set_charset(my_charset_bin);
maybe_null=1;
max_length=MAX_BLOB_WIDTH;
}