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

Method startTransaction

src/yvalve/why.cpp:5687–5708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5685}
5686
5687YTransaction* YAttachment::startTransaction(CheckStatusWrapper* status, unsigned int tpbLength,
5688 const unsigned char* tpb)
5689{
5690 try
5691 {
5692 YEntry<YAttachment> entry(status, this);
5693
5694 ITransaction* transaction = entry.next()->startTransaction(status, tpbLength, tpb);
5695 if (transaction)
5696 {
5697 YTransaction* r = FB_NEW YTransaction(this, transaction);
5698 r->addRef();
5699 return r;
5700 }
5701 }
5702 catch (const Exception& e)
5703 {
5704 e.stuffException(status);
5705 }
5706
5707 return NULL;
5708}
5709
5710YTransaction* YAttachment::reconnectTransaction(CheckStatusWrapper* status, unsigned int length,
5711 const unsigned char* id)

Callers 3

executeCreateDatabaseMethod · 0.45
startMethod · 0.45

Calls 4

YTransactionClass · 0.70
nextMethod · 0.45
addRefMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected