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

Method validate

src/yvalve/why.cpp:5509–5527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5507}
5508
5509ITransaction* YTransaction::validate(CheckStatusWrapper* status, IAttachment* testAtt)
5510{
5511 try
5512 {
5513 YEntry<YTransaction> entry(status, this);
5514
5515 // Do not raise error in status - just return NULL if attachment does not match
5516 if (attachment.get() == testAtt)
5517 return this;
5518
5519 return entry.next()->validate(status, testAtt);
5520 }
5521 catch (const Exception& ex)
5522 {
5523 ex.stuffException(status);
5524 }
5525
5526 return NULL;
5527}
5528
5529YTransaction* YTransaction::enterDtc(CheckStatusWrapper* status)
5530{

Callers 1

getTransactionMethod · 0.45

Calls 3

getMethod · 0.45
nextMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected