diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-11-09 15:41:26 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-11-09 15:41:26 +0400 |
commit | 62333983e4cc72ee68f2b6990b58a59aa81af0fe (patch) | |
tree | 42184f58f95ccb6a95d95a4f24070f5ab6fc8e08 /sql/item_func.cc | |
parent | 7c85a8d936b1a8bb82ff069f82f5ecf3ff2ab654 (diff) | |
parent | 0fdb0bdf2769dc4e69d46b342200d3fd333fa3a5 (diff) | |
download | mariadb-git-62333983e4cc72ee68f2b6990b58a59aa81af0fe.tar.gz |
Merge remote-tracking branch 'origin/10.1' into 10.2
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index f14222f4451..b1970be2b29 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -273,7 +273,8 @@ Item_func::eval_not_null_tables(void *opt_arg) } -void Item_func::fix_after_pullout(st_select_lex *new_parent, Item **ref) +void Item_func::fix_after_pullout(st_select_lex *new_parent, Item **ref, + bool merge) { Item **arg,**arg_end; @@ -284,7 +285,7 @@ void Item_func::fix_after_pullout(st_select_lex *new_parent, Item **ref) { for (arg=args, arg_end=args+arg_count; arg != arg_end ; arg++) { - (*arg)->fix_after_pullout(new_parent, arg); + (*arg)->fix_after_pullout(new_parent, arg, merge); Item *item= *arg; used_tables_and_const_cache_join(item); |