1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

mdev-9864: cleanup, re-factoring.

Added comments.
Added reaction for exceeding maximum number of elements in with clause.
Added a test case to check this reaction.
Added a test case where the specification of a recursive table
uses two non-recursive with tables.
This commit is contained in:
Igor Babaev
2016-08-29 22:45:17 -07:00
parent c8f85bf263
commit 9ac235ab7d
10 changed files with 341 additions and 79 deletions

View File

@ -4681,8 +4681,11 @@ public:
class select_union_recursive :public select_union
{
public:
/* The temporary table with the new records generated by one iterative step */
TABLE *incr_table;
/* One of tables from the list rec_tables (determined dynamically) */
TABLE *first_rec_table_to_update;
/* The temporary tables used for recursive table references */
List<TABLE> rec_tables;
select_union_recursive(THD *thd_arg):