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

Method detach

src/yvalve/why.cpp:647–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647int SQLDAMetadata::detach()
648{
649 // This code can lead to unnecessary work but not to segfault
650 if (refCounter.value() > 1)
651 {
652 if (!offsets) // in current codebase this is never true because offsets are allocated on buffer size calculation
653 assign();
654 }
655 sqlda = NULL;
656 speedHackEnabled = false;
657
658 return release();
659}
660
661
662GlobalPtr<RWLock> handleMappingLock;

Calls 9

releaseFunction · 0.70
doneFunction · 0.70
isNetworkErrorFunction · 0.70
assignFunction · 0.50
valueMethod · 0.45
nextMethod · 0.45
initMethod · 0.45
deprecatedDetachMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected