summaryrefslogtreecommitdiff
path: root/sql/sql_derived.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-03-08 15:22:41 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2019-03-08 15:22:41 +0100
commit5c6fdf420ef4bc22d20b9273961fe51e50a4f1dc (patch)
treed84d3cec863b6a042e9b9c5e052ef776f101e85d /sql/sql_derived.cc
parentf06868e56b1fbefc13ecfd5a3cf9803cc0108ae6 (diff)
parent6740b2926bb80bee4b9a560acc8d315f2888e0b8 (diff)
downloadmariadb-git-5c6fdf420ef4bc22d20b9273961fe51e50a4f1dc.tar.gz
Merge branch '10.3' into 10.4
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r--sql/sql_derived.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index bce70e63603..1ad97e4244d 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -183,6 +183,7 @@ mysql_handle_single_derived(LEX *lex, TABLE_LIST *derived, uint phases)
if (!lex->derived_tables)
DBUG_RETURN(FALSE);
+ derived->select_lex->changed_elements|= TOUCHED_SEL_DERIVED;
lex->thd->derived_tables_processing= TRUE;
for (uint phase= 0; phase < DT_PHASES; phase++)