mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
Correction
This commit is contained in:
parent
ffb9f22065
commit
59da0641c6
@ -1734,15 +1734,19 @@ ULONG ISC_exception_post(ULONG except_code, const TEXT* err_msg, ISC_STATUS& isc
|
||||
|
||||
void SharedMemoryBase::removeMapFile()
|
||||
{
|
||||
fb_assert(sh_mem_header && !sh_mem_header->isDeleted());
|
||||
fb_assert(sh_mem_header);
|
||||
|
||||
if (!sh_mem_header->isDeleted())
|
||||
{
|
||||
#ifndef WIN_NT
|
||||
unlinkFile();
|
||||
unlinkFile();
|
||||
#else
|
||||
sh_mem_unlink = true;
|
||||
fb_assert(!sh_mem_unlink);
|
||||
sh_mem_unlink = true;
|
||||
#endif // WIN_NT
|
||||
|
||||
sh_mem_header->markAsDeleted();
|
||||
sh_mem_header->markAsDeleted();
|
||||
}
|
||||
}
|
||||
|
||||
void SharedMemoryBase::unlinkFile()
|
||||
|
Loading…
Reference in New Issue
Block a user