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

Method cancel

src/plugins/profiler/Profiler.cpp:1411–1423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1409}
1410
1411void Session::cancel(ThrowStatusExceptionWrapper* status)
1412{
1413 for (unsigned sessionIdx = 0; sessionIdx < plugin->sessions.getCount(); ++sessionIdx)
1414 {
1415 const auto& session = plugin->sessions[sessionIdx];
1416
1417 if (session.getPtr() == this)
1418 {
1419 plugin->sessions.remove(sessionIdx);
1420 break;
1421 }
1422 }
1423}
1424
1425void Session::finish(ThrowStatusExceptionWrapper* status, ISC_TIMESTAMP_TZ timestamp)
1426{

Callers

nothing calls this directly

Calls 3

getPtrMethod · 0.80
getCountMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected