diff options
author | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-02 16:49:21 +0300 |
---|---|---|
committer | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-02 16:49:21 +0300 |
commit | e4344ffa4199b0dcab72e3f93e9f572f2610fa74 (patch) | |
tree | e141eed482706ba08b9c6f03957e908c35020e2a /sql/item_cmpfunc.cc | |
parent | f81700aa4ead8af29ec34870eefa61abfab12bee (diff) | |
parent | 1a0f3c38b84fc0cad0bda98abeb4ba3809166447 (diff) | |
download | mariadb-git-e4344ffa4199b0dcab72e3f93e9f572f2610fa74.tar.gz |
Auto-merged.
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r-- | sql/item_cmpfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index fd5eca8911a..5415d6f4f8a 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -4291,7 +4291,7 @@ Item *Item_cond::compile(Item_analyzer analyzer, uchar **arg_p, uchar *arg_v= *arg_p; Item *new_item= item->compile(analyzer, &arg_v, transformer, arg_t); if (new_item && new_item != item) - li.replace(new_item); + current_thd->change_item_tree(li.ref(), new_item); } return Item_func::transform(transformer, arg_t); } |