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

Function iscPrefixLock

src/common/isc.cpp:588–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586
587
588void iscPrefixLock(TEXT* string, const TEXT* root, bool createLockDir)
589{
590/**************************************
591 *
592 * i s c P r e f i x L o c k
593 *
594 **************************************
595 *
596 * Functional description
597 * Find appropriate Firebird lock file prefix.
598 *
599 **************************************/
600 gds__prefix_lock(string, "");
601
602 if (createLockDir)
603 os_utils::createLockDirectory(string);
604
605 iscSafeConcatPath(string, root);
606}
607
608
609void iscSafeConcatPath(TEXT *resultString, const TEXT *appendString)

Callers 8

query2Method · 0.85
queryMethod · 0.85
ConfigStorageMethod · 0.85
unlinkFileMethod · 0.85
getMapFileNameMethod · 0.85
isc_sync.cppFile · 0.85
SharedMemoryBaseMethod · 0.85

Calls 2

iscSafeConcatPathFunction · 0.85
createLockDirectoryFunction · 0.50

Tested by

no test coverage detected