| 25102 | |
| 25103 | |
| 25104 | int 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 | /** |
no test coverage detected