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

Method add_key_fields

sql/sql_select.cc:7036–7050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7034
7035
7036void
7037Item_cond_and::add_key_fields(JOIN *join, KEY_FIELD **key_fields,
7038 uint *and_level, table_map usable_tables,
7039 SARGABLE_PARAM **sargables)
7040{
7041 List_iterator_fast<Item> li(*argument_list());
7042 KEY_FIELD *org_key_fields= *key_fields;
7043
7044 Item *item;
7045 while ((item=li++))
7046 item->add_key_fields(join, key_fields, and_level, usable_tables,
7047 sargables);
7048 for (; org_key_fields != *key_fields ; org_key_fields++)
7049 org_key_fields->level= *and_level;
7050}
7051
7052
7053void

Callers 2

add_key_fields_for_njFunction · 0.45
update_ref_and_keysFunction · 0.45

Calls 15

merge_key_fieldsFunction · 0.85
is_local_fieldFunction · 0.85
add_key_equal_fieldsFunction · 0.85
add_key_fieldFunction · 0.85
is_unit_opMethod · 0.80
get_curr_fieldMethod · 0.80
substypeMethod · 0.45
typeMethod · 0.45
real_itemMethod · 0.45
binaryMethod · 0.45
eqMethod · 0.45
addrMethod · 0.45

Tested by

no test coverage detected