8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00

We're quite lucky this implicit conversion worked correctly. Fixed.

This commit is contained in:
dimitr 2013-11-12 16:56:05 +00:00
parent b3e67aa0cd
commit 0355720670

View File

@ -145,7 +145,7 @@ BackupManager::StateWriteGuard::StateWriteGuard(thread_db* tdbb, Jrd::WIN* windo
dbb->dbb_backup_manager->beginFlush();
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");
dbb->dbb_backup_manager->endFlush();