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

Method hash_join_is_possible

sql/sql_select.cc:12654–12664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12652*/
12653
12654bool JOIN_TAB::hash_join_is_possible()
12655{
12656 if (type != JT_REF && type != JT_EQ_REF)
12657 return FALSE;
12658 if (!is_ref_for_hash_join())
12659 {
12660 KEY *keyinfo= table->key_info + ref.key;
12661 return keyinfo->key_part[0].field->hash_join_is_possible();
12662 }
12663 return TRUE;
12664}
12665
12666
12667/**

Callers 3

add_key_fieldFunction · 0.45
add_key_partFunction · 0.45
check_join_cache_usageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected