| 594 | } |
| 595 | |
| 596 | void ProfilerManager::onRequestFinish(Request* request, Stats& stats) |
| 597 | { |
| 598 | if (const auto profileRequestId = getRequest(request, 0)) |
| 599 | { |
| 600 | const auto profileStatement = getStatement(request); |
| 601 | const auto timestamp = TimeZoneUtil::getCurrentTimeStamp(request->req_attachment->att_current_timezone); |
| 602 | |
| 603 | LogLocalStatus status("Profiler onRequestFinish"); |
| 604 | currentSession->pluginSession->onRequestFinish(&status, profileStatement->id, profileRequestId, |
| 605 | timestamp, &stats); |
| 606 | |
| 607 | currentSession->requests.findAndRemove(profileRequestId); |
| 608 | } |
| 609 | } |
| 610 | |
| 611 | void ProfilerManager::cancelSession() |
| 612 | { |
no test coverage detected