| 974 | } |
| 975 | |
| 976 | virtual int fetch() |
| 977 | { |
| 978 | if (at_eof()) |
| 979 | return -1; |
| 980 | |
| 981 | uchar* curr_rowid; |
| 982 | if (get_curr_rowid(&curr_rowid)) |
| 983 | return -1; |
| 984 | return table->file->ha_rnd_pos(record, curr_rowid); |
| 985 | } |
| 986 | |
| 987 | private: |
| 988 | /* The table that is accessed by this cursor. */ |
no test coverage detected