summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 850a8364adc..05b8f7eb443 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -5691,10 +5691,12 @@ class select_union_recursive :public select_unit
or for the unit specifying a CTE that mutually recursive with this CTE.
*/
uint cleanup_count;
+ long row_counter;
select_union_recursive(THD *thd_arg):
select_unit(thd_arg),
- incr_table(0), first_rec_table_to_update(0), cleanup_count(0)
+ incr_table(0), first_rec_table_to_update(0), cleanup_count(0),
+ row_counter(0)
{ incr_table_param.init(); };
int send_data(List<Item> &items);