mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
We're quite lucky this implicit conversion worked correctly. Fixed.
This commit is contained in:
parent
b3e67aa0cd
commit
0355720670
@ -145,7 +145,7 @@ BackupManager::StateWriteGuard::StateWriteGuard(thread_db* tdbb, Jrd::WIN* windo
|
|||||||
dbb->dbb_backup_manager->beginFlush();
|
dbb->dbb_backup_manager->beginFlush();
|
||||||
CCH_flush(tdbb, FLUSH_ALL, 0); // Flush local cache to release all dirty pages
|
CCH_flush(tdbb, FLUSH_ALL, 0); // Flush local cache to release all dirty pages
|
||||||
|
|
||||||
if (!att->backupStateWriteLock(tdbb, true))
|
if (!att->backupStateWriteLock(tdbb, LCK_WAIT))
|
||||||
ERR_bugcheck_msg("Can't lock state for write");
|
ERR_bugcheck_msg("Can't lock state for write");
|
||||||
|
|
||||||
dbb->dbb_backup_manager->endFlush();
|
dbb->dbb_backup_manager->endFlush();
|
||||||
|
Loading…
Reference in New Issue
Block a user