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

Method beforeRecordSourceGetRecord

src/jrd/ProfilerManager.h:243–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 }
242
243 void beforeRecordSourceGetRecord(Request* request, const AccessPath* recordSource)
244 {
245 if (const auto profileRequestId = getRequest(request, Firebird::IProfilerSession::FLAG_BEFORE_EVENTS))
246 {
247 const auto profileStatement = getStatement(request);
248
249 if (const auto sequencePtr = profileStatement->recSourceSequence.get(recordSource->getRecSourceId()))
250 {
251 currentSession->pluginSession->beforeRecordSourceGetRecord(
252 profileStatement->id, profileRequestId, recordSource->getCursorId(), *sequencePtr);
253 }
254 }
255 }
256
257 void afterRecordSourceGetRecord(Request* request, const AccessPath* recordSource, Stats& stats)
258 {

Callers 1

Calls 4

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

Tested by

no test coverage detected