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

Method release

src/jrd/jrd.cpp:162–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160{
161
162int JBlob::release()
163{
164 int rc = --refCounter;
165 if (rc != 0)
166 return rc;
167
168 if (blob)
169 {
170 LocalStatus status;
171 CheckStatusWrapper statusWrapper(&status);
172
173 freeEngineData(&statusWrapper);
174 }
175 if (blob)
176 {
177 // normal cleanup failed, take minimum precautions before deleting JBlob
178 blob->blb_interface = NULL;
179 blob = NULL;
180 }
181 delete this;
182
183 return 0;
184}
185
186int JTransaction::release()
187{

Callers 15

svc_api_gbakFunction · 0.45
freeItemMethod · 0.45
shutdownMethod · 0.45
handlerMethod · 0.45
~MessageFunction · 0.45
getMetadataFunction · 0.45
executeMethod · 0.45
commitMethod · 0.45
rollbackMethod · 0.45
listFieldMethod · 0.45
blobWriteMethod · 0.45

Calls 6

JRD_get_thread_dataFunction · 0.85
getFunction · 0.50
releaseFunction · 0.50
isEmptyMethod · 0.45
isActiveMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected