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

Method cancelExecution

src/jrd/extds/InternalDS.cpp:215–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215bool InternalConnection::cancelExecution(bool /*forced*/)
216{
217 if (!m_attachment->getHandle())
218 return false;
219
220 if (isCurrent())
221 return true;
222
223 FbLocalStatus status;
224
225 m_attachment->cancelOperation(&status, fb_cancel_raise);
226 return !(status->getState() & IStatus::STATE_ERRORS);
227}
228
229bool InternalConnection::resetSession(thread_db* tdbb)
230{

Callers

nothing calls this directly

Calls 3

getHandleMethod · 0.45
cancelOperationMethod · 0.45
getStateMethod · 0.45

Tested by

no test coverage detected