| 25621 | |
| 25622 | |
| 25623 | static int |
| 25624 | join_init_quick_read_record(JOIN_TAB *tab) |
| 25625 | { |
| 25626 | quick_select_return res= test_if_quick_select(tab); |
| 25627 | |
| 25628 | if (res == SQL_SELECT::ERROR) |
| 25629 | return 1; /* Fatal error */ |
| 25630 | |
| 25631 | if (res == SQL_SELECT::IMPOSSIBLE_RANGE) |
| 25632 | return -1; /* No possible records */ |
| 25633 | |
| 25634 | /* |
| 25635 | Proceed to read rows. If we've created a quick select, use it, otherwise |
| 25636 | do a full scan. |
| 25637 | */ |
| 25638 | return join_init_read_record(tab); |
| 25639 | } |
| 25640 | |
| 25641 | |
| 25642 | int read_first_record_seq(JOIN_TAB *tab) |
nothing calls this directly
no test coverage detected