diff options
Diffstat (limited to 'sql/sql_cte.h')
-rw-r--r-- | sql/sql_cte.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cte.h b/sql/sql_cte.h index 036f0335c10..13e9b83955c 100644 --- a/sql/sql_cte.h +++ b/sql/sql_cte.h @@ -158,7 +158,7 @@ public: query_name(name), column_list(list), spec(unit), is_recursive(false), with_anchor(false), level(0), rec_result(NULL) - {} + { unit->with_element= this; } bool check_dependencies_in_spec(); |