diff --git a/sql/item.cc b/sql/item.cc index 58c47025a6f..555112c1890 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -1693,7 +1693,7 @@ void Item_cache_str::store(Item *item) value_buff.copy(*value); value= &value_buff; } - set_charset(&item->collation); + collation.set(item->collation); } double Item_cache_str::val() {