| 7552 | */ |
| 7553 | |
| 7554 | void handler::set_end_range(const key_range *end_key, |
| 7555 | enum_range_scan_direction direction) |
| 7556 | { |
| 7557 | end_range= 0; |
| 7558 | range_scan_direction= direction; |
| 7559 | if (end_key) |
| 7560 | { |
| 7561 | end_range= &save_end_range; |
| 7562 | save_end_range= *end_key; |
| 7563 | key_compare_result_on_equal= |
| 7564 | ((end_key->flag == HA_READ_BEFORE_KEY) ? 1 : |
| 7565 | (end_key->flag == HA_READ_AFTER_KEY) ? -1 : 0); |
| 7566 | range_key_part= table->key_info[active_index].key_part; |
| 7567 | } |
| 7568 | } |
| 7569 | |
| 7570 | |
| 7571 | /** |
no outgoing calls
no test coverage detected