MCPcopy Create free account
hub / github.com/MariaDB/server / derived_table_optimization_done

Function derived_table_optimization_done

sql/table.cc:10125–10135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10123*/
10124
10125static inline bool derived_table_optimization_done(TABLE_LIST *table)
10126{
10127 SELECT_LEX_UNIT *derived= (table->derived ?
10128 table->derived :
10129 (table->view ?
10130 &table->view->unit:
10131 NULL));
10132 return derived &&
10133 (derived->is_excluded() ||
10134 table->is_materialized_derived());
10135}
10136
10137
10138/**

Callers 1

init_derivedMethod · 0.85

Calls 2

is_excludedMethod · 0.80

Tested by

no test coverage detected