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

Method join_cache_allowed

sql/json_table.h:234–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233 table_map used_tables() const { return m_json->used_tables(); }
234 bool join_cache_allowed() const
235 {
236 /*
237 Can use join cache when we have an outside reference.
238 If there's dependency on any other table or randomness,
239 cannot use it.
240 */
241 return !(used_tables() & ~OUTER_REF_TABLE_BIT);
242 }
243 void get_estimates(ha_rows *out_rows,
244 double *scan_time, double *startup_cost);
245

Callers 1

check_join_cache_usageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected