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

Method ping

src/yvalve/why.cpp:6048–6071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6046}
6047
6048void YAttachment::ping(CheckStatusWrapper* status)
6049{
6050 try
6051 {
6052 YEntry<YAttachment> entry(status, this);
6053
6054 entry.next()->ping(status);
6055
6056 if (status->getState() & IStatus::STATE_ERRORS)
6057 {
6058 if (!savedStatus.getError())
6059 savedStatus.save(status);
6060
6061 entry.next()->release();
6062 next = nullptr;
6063
6064 status_exception::raise(savedStatus.value());
6065 }
6066 }
6067 catch (const Exception& e)
6068 {
6069 e.stuffException(status);
6070 }
6071}
6072
6073void YAttachment::detach(CheckStatusWrapper* status)
6074{

Callers 1

API_ROUTINE fb_pingFunction · 0.45

Calls 8

raiseFunction · 0.85
nextMethod · 0.45
getStateMethod · 0.45
getErrorMethod · 0.45
saveMethod · 0.45
releaseMethod · 0.45
valueMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected