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

Method pfs_batch_update

sql/sql_select.cc:17095–17107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17093*/
17094
17095bool JOIN_TAB::pfs_batch_update()
17096{
17097 /*
17098 Use PFS batch mode if
17099 1. tab is an inner-most table, or
17100 2. will read more than one row (not eq_ref or const access type)
17101 3. no subqueries
17102 */
17103
17104 return join->join_tab + join->table_count - 1 == this && // 1
17105 type != JT_EQ_REF && type != JT_CONST && type != JT_SYSTEM && // 2
17106 (!select_cond || !select_cond->with_subquery()); // 3
17107}
17108
17109
17110/**

Callers 5

join_recordsMethod · 0.80
set_join_cache_denialFunction · 0.80
make_join_readinfoFunction · 0.80
do_selectFunction · 0.80
sub_selectFunction · 0.80

Calls 1

with_subqueryMethod · 0.80

Tested by

no test coverage detected