summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorEvgeny Potemkin <epotemkin@mysql.com>2009-12-11 16:08:29 +0300
committerEvgeny Potemkin <epotemkin@mysql.com>2009-12-11 16:08:29 +0300
commit684c7aba09583e54c5272cc3b0eec207afc87a39 (patch)
tree4941c8c9fc8bcbe072243407aabb5fdebe23f9f6 /sql/item_cmpfunc.cc
parent360b2ff4ce5a09016f9e68a9ac9b790be25cac1b (diff)
parent1285ecd4688295c0aae28b314ef8a4c9ae3b6c14 (diff)
downloadmariadb-git-684c7aba09583e54c5272cc3b0eec207afc87a39.tar.gz
Auto-merged fix for bug#49489.
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 644cc432bc4..d5a61ea4050 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -1031,7 +1031,7 @@ Item** Arg_comparator::cache_converted_constant(THD *thd, Item **value,
(*value)->const_item() && type != (*value)->result_type())
{
Item_cache *cache= Item_cache::get_cache(*value, type);
- cache->store(*value);
+ cache->setup(*value);
*cache_item= cache;
return cache_item;
}