Test if this is a leaf with respect to name resolution. SYNOPSIS TABLE_LIST::is_leaf_for_name_resolution() DESCRIPTION A table reference is a leaf with respect to name resolution if it is either a leaf node in a nested join tree (table, view, schema table, subquery), or an inner node that represents a NATURAL/USING join, or a nested join with materialized join columns
| 840 | TRUE if a leaf, FALSE otherwise. |
| 841 | */ |
| 842 | bool TABLE_LIST::is_leaf_for_name_resolution() |
| 843 | { |
| 844 | return (view || is_natural_join || is_join_columns_complete || |
| 845 | !nested_join); |
| 846 | } |
| 847 | |
| 848 | |
| 849 | /* |
no outgoing calls
no test coverage detected