mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -4695,6 +4695,7 @@ public:
|
||||
|
||||
TMP_TABLE_SHARE* save_tmp_table_share(TABLE *table);
|
||||
void restore_tmp_table_share(TMP_TABLE_SHARE *share);
|
||||
void close_unused_temporary_table_instances(const TABLE_LIST *tl);
|
||||
|
||||
private:
|
||||
/* Whether a lock has been acquired? */
|
||||
@ -5654,10 +5655,16 @@ class select_union_recursive :public select_unit
|
||||
TABLE *first_rec_table_to_update;
|
||||
/* The temporary tables used for recursive table references */
|
||||
List<TABLE> rec_tables;
|
||||
/*
|
||||
The count of how many times cleanup() was called with cleaned==false
|
||||
for the unit specifying the recursive CTE for which this object was created
|
||||
or for the unit specifying a CTE that mutually recursive with this CTE.
|
||||
*/
|
||||
uint cleanup_count;
|
||||
|
||||
select_union_recursive(THD *thd_arg):
|
||||
select_unit(thd_arg),
|
||||
incr_table(0), first_rec_table_to_update(0) {};
|
||||
incr_table(0), first_rec_table_to_update(0), cleanup_count(0) {};
|
||||
|
||||
int send_data(List<Item> &items);
|
||||
bool create_result_table(THD *thd, List<Item> *column_types,
|
||||
|
Reference in New Issue
Block a user