MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
This member SELECT_LEX_UNIT *sel is used for derived table parsing. add_table_to_list() uses it. Qualified_column_ident::resolve_type_ref() calls add_table_to_list() so descendants of Table_ident also must have it.
This member
SELECT_LEX_UNIT *sel
is used for derived table parsing.add_table_to_list()
uses it.Qualified_column_ident::resolve_type_ref()
callsadd_table_to_list()
so descendants of Table_ident also must have it.There is another strange ctor:
which is used in many places. It initializes
db
with null in case there is no schema.