| 859 | } |
| 860 | |
| 861 | virtual int next() |
| 862 | { |
| 863 | /* Allow multiple next() calls in EOF state. */ |
| 864 | if (at_eof()) |
| 865 | return -1; |
| 866 | |
| 867 | if (io_cache) |
| 868 | { |
| 869 | rownum++; |
| 870 | } |
| 871 | else |
| 872 | { |
| 873 | cache_pos+= ref_length; |
| 874 | DBUG_ASSERT(cache_pos <= cache_end); |
| 875 | } |
| 876 | return 0; |
| 877 | } |
| 878 | |
| 879 | virtual int prev() |
| 880 | { |
no outgoing calls
no test coverage detected