| 123 | } |
| 124 | |
| 125 | bool BufferedStreamWindow::internalGetRecord(thread_db* tdbb) const |
| 126 | { |
| 127 | Request* const request = tdbb->getRequest(); |
| 128 | Impure* const impure = request->getImpure<Impure>(m_impure); |
| 129 | |
| 130 | if (!(impure->irsb_flags & irsb_open)) |
| 131 | return false; |
| 132 | |
| 133 | m_next->locate(tdbb, impure->irsb_position); |
| 134 | if (!m_next->getRecord(tdbb)) |
| 135 | return false; |
| 136 | |
| 137 | ++impure->irsb_position; |
| 138 | return true; |
| 139 | } |
| 140 | |
| 141 | bool BufferedStreamWindow::refetchRecord(thread_db* tdbb) const |
| 142 | { |
nothing calls this directly
no test coverage detected