summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
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()
{