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

Method ha_start_keyread

sql/handler.h:3779–3784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3777
3778 inline bool keyread_enabled() { return keyread < MAX_KEY; }
3779 inline int ha_start_keyread(uint idx)
3780 {
3781 DBUG_ASSERT(!keyread_enabled());
3782 keyread= idx;
3783 return extra_opt(HA_EXTRA_KEYREAD, idx);
3784 }
3785 inline int ha_end_keyread()
3786 {
3787 if (!keyread_enabled()) /* Enable lazy usage */

Callers 10

find_key_for_maxminFunction · 0.80
start_keyread_cbFunction · 0.80
ha_check_overlapsMethod · 0.80
prepare_for_keyreadMethod · 0.80
buildMethod · 0.80
resetMethod · 0.80
join_read_constFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected