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

Method closeHandleProcedure

src/jrd/BlobUtil.cpp:88–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88IExternalResultSet* BlobUtilPackage::closeHandleProcedure(ThrowStatusExceptionWrapper* status,
89 IExternalContext* context, const HandleMessage::Type* in, void*)
90{
91 const auto tdbb = JRD_get_thread_data();
92 const auto transaction = tdbb->getTransaction();
93 const auto blob = getBlobFromHandle(tdbb, in->handle);
94
95 transaction->tra_blob_util_map.remove(in->handle);
96 blob->BLB_close(tdbb);
97
98 return nullptr;
99}
100
101void BlobUtilPackage::isWritableFunction(ThrowStatusExceptionWrapper* status,
102 IExternalContext* context, const BlobMessage::Type* in, BooleanMessage::Type* out)

Callers

nothing calls this directly

Calls 5

JRD_get_thread_dataFunction · 0.85
getBlobFromHandleFunction · 0.85
BLB_closeMethod · 0.80
getTransactionMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected