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

Method makeSharedMemoryFileName

src/jrd/tpc.cpp:414–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414PathName TipCache::StatusBlockData::makeSharedMemoryFileName(Database* dbb, TpcBlockNumber n, bool fullPath)
415{
416 PathName fileName;
417 fileName.printf(TPC_BLOCK_FILE, dbb->getUniqueFileId().c_str(), n);
418 if (!fullPath)
419 return fileName;
420
421 TEXT expanded_filename[MAXPATHLEN];
422 iscPrefixLock(expanded_filename, fileName.c_str(), false);
423 return PathName(expanded_filename);
424}
425
426TipCache::StatusBlockData::~StatusBlockData()
427{

Callers

nothing calls this directly

Calls 3

iscPrefixLockFunction · 0.85
printfMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected