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

Method get_next_key

sql/sql_join_cache.cc:3467–3479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3465*/
3466
3467uint JOIN_CACHE_HASHED::get_next_key(uchar ** key)
3468{
3469 if (curr_key_entry == last_key_entry)
3470 return 0;
3471
3472 curr_key_entry-= key_entry_length;
3473
3474 *key = use_emb_key ? get_emb_key(curr_key_entry) : curr_key_entry;
3475
3476 DBUG_ASSERT(*key >= buff && *key < hash_table);
3477
3478 return key_length;
3479}
3480
3481
3482/*

Callers 2

bka_range_seq_nextFunction · 0.45
bkah_range_seq_nextFunction · 0.45

Calls 4

cp_buffer_from_refFunction · 0.85
get_rec_refMethod · 0.80
read_referenced_fieldMethod · 0.80

Tested by

no test coverage detected