![]() |
MySQL 9.0.0
Source Code Documentation
|
This iterates on those references to a derived table / view / CTE which are materialized. More...
#include <table.h>
Public Member Functions | |
Derived_refs_iterator (Table_ref *start_arg) | |
TABLE * | get_next () |
void | rewind () |
bool | is_first () const |
Private Attributes | |
Table_ref *const | start |
The reference provided in construction. More... | |
size_t | ref_idx {0} |
Current index in cte->tmp_tables. More... | |
bool | m_is_first {true} |
True when at first reference in list. More... | |
This iterates on those references to a derived table / view / CTE which are materialized.
If a recursive CTE, this includes recursive references. Upon construction it is passed a non-recursive materialized reference to the derived table (Table_ref*). For a CTE it may return more than one reference; for a derived table or a view, there is only one (as references to a same view are treated as independent objects). References are returned as TABLE*.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
private |
True when at first reference in list.
|
private |
Current index in cte->tmp_tables.
|
private |
The reference provided in construction.