Use item->set_charset() instead of item->str_value.set_charset()
This commit is contained in:
parent
fef10d9bb1
commit
637b97991d
@ -132,7 +132,7 @@ void Item_field::set_field(Field *field_par)
|
||||
table_name=field_par->table_name;
|
||||
field_name=field_par->field_name;
|
||||
unsigned_flag=test(field_par->flags & UNSIGNED_FLAG);
|
||||
str_value.set_charset(field_par->charset());
|
||||
set_charset(field_par->charset());
|
||||
}
|
||||
|
||||
const char *Item_ident::full_name() const
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user