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

Method addCleanupHandler

src/yvalve/why.cpp:5473–5485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5471
5472
5473void YTransaction::addCleanupHandler(CheckStatusWrapper* status, CleanupCallback* callback)
5474{
5475 try
5476 {
5477 YEntry<YTransaction> entry(status, this);
5478
5479 cleanupHandlers.add(callback);
5480 }
5481 catch (const Exception& ex)
5482 {
5483 ex.stuffException(status);
5484 }
5485}
5486
5487void YTransaction::selfCheck()
5488{

Calls 2

addMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected