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

Function getTransaction

src/remote/protocol.cpp:2334–2349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2332}
2333
2334static Rtr* getTransaction(RemoteXdr* xdrs, USHORT tran_id)
2335{
2336 rem_port* port = xdrs->x_public;
2337
2338 if (tran_id >= port->port_objects.getCount())
2339 return nullptr;
2340
2341 try
2342 {
2343 return port->port_objects[tran_id];
2344 }
2345 catch (const status_exception&)
2346 {
2347 return nullptr;
2348 }
2349}
2350
2351static bool_t xdr_blob_stream(RemoteXdr* xdrs, SSHORT statement_id, CSTRING* strmPortion)
2352{

Callers 6

xdr_protocolFunction · 0.85
executeMethod · 0.85
createBlobMethod · 0.85
openBlobMethod · 0.85
openCursorMethod · 0.85
getNextTransactionMethod · 0.85

Calls 1

getCountMethod · 0.45

Tested by

no test coverage detected