| 25582 | |
| 25583 | |
| 25584 | static int |
| 25585 | join_read_next_same(READ_RECORD *info) |
| 25586 | { |
| 25587 | int error; |
| 25588 | TABLE *table= info->table; |
| 25589 | JOIN_TAB *tab=table->reginfo.join_tab; |
| 25590 | |
| 25591 | if (unlikely((error= table->file->ha_index_next_same(table->record[0], |
| 25592 | tab->ref.key_buff, |
| 25593 | tab->ref.key_length)))) |
| 25594 | { |
| 25595 | if (error != HA_ERR_END_OF_FILE) |
| 25596 | return report_error(table, error); |
| 25597 | table->status= STATUS_GARBAGE; |
| 25598 | return -1; |
| 25599 | } |
| 25600 | return 0; |
| 25601 | } |
| 25602 | |
| 25603 | |
| 25604 | static int |
no test coverage detected