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

Method getIscTrHandle

src/include/firebird/Interface.h:394–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392
393 template <typename StatusType>
394 static isc_tr_handle getIscTrHandle(StatusType* status, ITransaction* transaction)
395 {
396 if (!transaction)
397 return 0;
398
399 ISC_STATUS_ARRAY statusVector = {0};
400 isc_tr_handle handle = 0;
401
402 fb_get_transaction_handle(statusVector, &handle, transaction);
403
404 if (!handle)
405 {
406 status->setErrors(statusVector);
407 StatusType::checkException(status);
408 }
409
410 return handle;
411 }
412
413 template <typename StatusType>
414 static isc_tr_handle getIscTrHandle(StatusType* status, IExternalContext* context)

Callers

nothing calls this directly

Calls 3

setErrorsMethod · 0.45
getTransactionMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected