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

Function safe_index_read

sql/sql_select.cc:25104–25115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25102
25103
25104int safe_index_read(JOIN_TAB *tab)
25105{
25106 int error;
25107 TABLE *table= tab->table;
25108 if (unlikely((error=
25109 table->file->ha_index_read_map(table->record[0],
25110 tab->ref.key_buff,
25111 make_prev_keypart_map(tab->ref.key_parts),
25112 HA_READ_KEY_EXACT))))
25113 return report_error(table, error);
25114 return 0;
25115}
25116
25117
25118/**

Callers 3

execMethod · 0.85

Calls 3

make_prev_keypart_mapFunction · 0.85
report_errorFunction · 0.85
ha_index_read_mapMethod · 0.80

Tested by

no test coverage detected