mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
Fixed bug #8089 : AV when attaching database while low of free memory
This commit is contained in:
parent
66f457e69a
commit
047b059ccc
@ -1278,7 +1278,7 @@ void CCH_flush(thread_db* tdbb, USHORT flush_flag, TraNumber tra_number)
|
||||
PIO_flush(tdbb, shadow->sdw_file);
|
||||
|
||||
BackupManager* bm = dbb->dbb_backup_manager;
|
||||
if (!bm->isShutDown())
|
||||
if (bm && !bm->isShutDown())
|
||||
{
|
||||
BackupManager::StateReadGuard stateGuard(tdbb);
|
||||
const int backup_state = bm->getState();
|
||||
|
Loading…
Reference in New Issue
Block a user