| 70 | } |
| 71 | |
| 72 | void SourceWithProgress::work() |
| 73 | { |
| 74 | if (!limits.speed_limits.checkTimeLimit(total_stopwatch, limits.timeout_overflow_mode)) |
| 75 | { |
| 76 | cancel(); |
| 77 | } |
| 78 | else |
| 79 | { |
| 80 | was_progress_called = false; |
| 81 | |
| 82 | ISourceWithProgress::work(); |
| 83 | |
| 84 | if (auto_progress && !was_progress_called && has_input) |
| 85 | progress({ current_chunk.chunk.getNumRows(), current_chunk.chunk.bytes() }); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | void SourceWithProgress::updateProgress(const Progress & value) |
| 90 | { |
nothing calls this directly
no test coverage detected