MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / beforeRecordSourceOpen

Method beforeRecordSourceOpen

src/jrd/ProfilerManager.h:215–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 }
214
215 void beforeRecordSourceOpen(Request* request, const AccessPath* recordSource)
216 {
217 if (const auto profileRequestId = getRequest(request, Firebird::IProfilerSession::FLAG_BEFORE_EVENTS))
218 {
219 const auto profileStatement = getStatement(request);
220
221 if (const auto sequencePtr = profileStatement->recSourceSequence.get(recordSource->getRecSourceId()))
222 {
223 currentSession->pluginSession->beforeRecordSourceOpen(
224 profileStatement->id, profileRequestId, recordSource->getCursorId(), *sequencePtr);
225 }
226 }
227 }
228
229 void afterRecordSourceOpen(Request* request, const AccessPath* recordSource, Stats& stats)
230 {

Callers 1

Calls 4

getStatementFunction · 0.85
getRecSourceIdMethod · 0.80
getCursorIdMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected