summaryrefslogtreecommitdiff
path: root/sql/sql_cte.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-04-07 11:49:50 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-04-07 11:49:50 +0300
commitcc492bfd4ff2d15cc5803a7d80f1559ceeb003c1 (patch)
treee5d3abbe5551d4f05a59cfcc0d629f8d4f50e98f /sql/sql_cte.cc
parentd5a2bc6a0f24f2a9ec73a0d18bb7e6fba3496bed (diff)
parent867617a97684cdf2c8df326d9a986c2cae779796 (diff)
downloadmariadb-git-cc492bfd4ff2d15cc5803a7d80f1559ceeb003c1.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'sql/sql_cte.cc')
-rw-r--r--sql/sql_cte.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_cte.cc b/sql/sql_cte.cc
index 01caeda1325..247d7e5a3d1 100644
--- a/sql/sql_cte.cc
+++ b/sql/sql_cte.cc
@@ -1109,6 +1109,7 @@ bool TABLE_LIST::set_as_with_table(THD *thd, With_element *with_elem)
table= 0;
}
with= with_elem;
+ schema_table= NULL;
if (!with_elem->is_referenced() || with_elem->is_recursive)
{
derived= with_elem->spec;