| 1098 | // ------------------------------ |
| 1099 | |
| 1100 | SlidingWindow::SlidingWindow(thread_db* aTdbb, const BaseBufferedStream* aStream, |
| 1101 | Request* request, |
| 1102 | FB_UINT64 aPartitionStart, FB_UINT64 aPartitionEnd, |
| 1103 | FB_UINT64 aFrameStart, FB_UINT64 aFrameEnd) |
| 1104 | : tdbb(aTdbb), // Note: instantiate the class only as local variable |
| 1105 | stream(aStream), |
| 1106 | partitionStart(aPartitionStart), |
| 1107 | partitionEnd(aPartitionEnd), |
| 1108 | frameStart(aFrameStart), |
| 1109 | frameEnd(aFrameEnd) |
| 1110 | { |
| 1111 | savedPosition = stream->getPosition(request) - 1; |
| 1112 | } |
| 1113 | |
| 1114 | SlidingWindow::~SlidingWindow() |
| 1115 | { |
nothing calls this directly
no test coverage detected