diff options
Diffstat (limited to 'sql/sql_cte.h')
-rw-r--r-- | sql/sql_cte.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_cte.h b/sql/sql_cte.h index 750a01e002a..47071dd06fd 100644 --- a/sql/sql_cte.h +++ b/sql/sql_cte.h @@ -260,6 +260,8 @@ public: bool is_referenced() { return referenced; } + bool is_hanging_recursive() { return is_recursive && !rec_outer_references; } + void inc_references() { references++; } bool rename_columns_of_derived_unit(THD *thd, st_select_lex_unit *unit); |