summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-11-09 14:05:53 +0400
committerAlexander Barkov <bar@mariadb.org>2017-11-09 14:05:53 +0400
commit0fdb0bdf2769dc4e69d46b342200d3fd333fa3a5 (patch)
tree542689300b4ebd90eed162a54870fc1a57261eca /sql/item_row.cc
parent644ffdeb9290a5fc861ecd286a5af4388b4339ad (diff)
parentc2c93fc6e460fd32b6ef179686c2b3b2045f75eb (diff)
downloadmariadb-git-0fdb0bdf2769dc4e69d46b342200d3fd333fa3a5.tar.gz
Merge remote-tracking branch 'origin/10.0' into 10.1
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index 9c53d65b317..97f75c4b4cf 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -109,13 +109,14 @@ void Item_row::split_sum_func(THD *thd, Item **ref_pointer_array,
}
-void Item_row::fix_after_pullout(st_select_lex *new_parent, Item **ref)
+void Item_row::fix_after_pullout(st_select_lex *new_parent, Item **ref,
+ bool merge)
{
used_tables_and_const_cache_init();
not_null_tables_cache= 0;
for (uint i= 0; i < arg_count; i++)
{
- args[i]->fix_after_pullout(new_parent, &args[i]);
+ args[i]->fix_after_pullout(new_parent, &args[i], merge);
used_tables_and_const_cache_join(args[i]);
not_null_tables_cache|= args[i]->not_null_tables();
}