| 1693 | } |
| 1694 | |
| 1695 | void next_row() override |
| 1696 | { |
| 1697 | if (move) |
| 1698 | { |
| 1699 | /* |
| 1700 | Our cursor is pointing at the first row that was a peer of the previous |
| 1701 | current row. Or, it was the first row in the partition. |
| 1702 | */ |
| 1703 | if (cursor.fetch()) |
| 1704 | return; |
| 1705 | |
| 1706 | // todo: need the following check ? |
| 1707 | if (!peer_tracker.compare_with_cache()) |
| 1708 | return; |
| 1709 | remove_value_from_items(); |
| 1710 | |
| 1711 | do |
| 1712 | { |
| 1713 | if (cursor.next() || cursor.fetch()) |
| 1714 | return; |
| 1715 | if (!peer_tracker.compare_with_cache()) |
| 1716 | return; |
| 1717 | remove_value_from_items(); |
| 1718 | } |
| 1719 | while (1); |
| 1720 | } |
| 1721 | } |
| 1722 | |
| 1723 | ha_rows get_curr_rownum() const override |
| 1724 | { |
nothing calls this directly
no test coverage detected