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

Function validate

src/jrd/recsrc/Cursor.cpp:37–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace
36{
37 bool validate(thread_db* tdbb)
38 {
39 const Request* const request = tdbb->getRequest();
40
41 if (request->req_flags & req_abort)
42 return false;
43
44 if (!request->req_transaction)
45 return false;
46
47 return true;
48 }
49
50 class ProfilerSelectPrepare final
51 {

Callers 6

fetchMethod · 0.70
fetchNextMethod · 0.70
fetchAbsoluteMethod · 0.70
fetchRelativeMethod · 0.70
allocSlotMethod · 0.50
removeSessionMethod · 0.50

Calls 1

getRequestMethod · 0.45

Tested by

no test coverage detected