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

Method enterDtc

src/jrd/jrd.cpp:2678–2698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2676}
2677
2678JTransaction* JTransaction::enterDtc(CheckStatusWrapper* user_status)
2679{
2680 try
2681 {
2682 EngineContextHolder tdbb(user_status, this, FB_FUNCTION);
2683 check_database(tdbb);
2684
2685 JTransaction* copy = FB_NEW JTransaction(this);
2686 copy->addRef();
2687
2688 transaction = NULL;
2689 release();
2690
2691 return copy;
2692 }
2693 catch (const Exception& ex)
2694 {
2695 ex.stuffException(user_status);
2696 }
2697 return NULL;
2698}
2699
2700JRequest* JAttachment::compileRequest(CheckStatusWrapper* user_status,
2701 unsigned int blr_length, const unsigned char* blr)

Callers

nothing calls this directly

Calls 5

check_databaseFunction · 0.85
JTransactionClass · 0.85
releaseFunction · 0.50
addRefMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected