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

Method addRef

src/jrd/jrd.cpp:283–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281//#define DEBUG_ATT_COUNTERS
282
283void JAttachment::addRef()
284{
285 int v = ++refCounter;
286#ifdef DEBUG_ATT_COUNTERS
287 ReferenceCounterDebugger* my = ReferenceCounterDebugger::get(DEB_AR_JATT);
288 const char* point = my ? my->rcd_point : " <Unknown> ";
289 fprintf(stderr, "addRef from <%s> att %p cnt=%d\n", point, this, v);
290#endif
291}
292
293int JAttachment::release()
294{

Callers 15

tryKeyTypeMethod · 0.45
attachMethod · 0.45
enterDtcMethod · 0.45
compileRequestMethod · 0.45
createBlobMethod · 0.45
createMethod · 0.45
createBatchMethod · 0.45
getMetadataMethod · 0.45
createReplicatorMethod · 0.45
executeMethod · 0.45
openCursorMethod · 0.45
createStatementMethod · 0.45

Calls 1

getFunction · 0.50

Tested by

no test coverage detected