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

Corrected the arguments. Luckily, their binary values are the same.

This commit is contained in:
dimitr 2012-08-15 15:22:36 +00:00
parent 1b59032fbd
commit cda8b90205

View File

@ -362,7 +362,7 @@ public:
{
if (tdbb->tdbb_flags & TDBB_backup_write_locked)
return;
if (!stateLock->lockRead(tdbb, true, true))
if (!stateLock->lockRead(tdbb, LCK_WAIT, true))
ERR_bugcheck_msg("Can't lock backup state to set dirty flag");
}
@ -435,7 +435,7 @@ private:
void lockAllocWrite(thread_db* tdbb)
{
if (!allocLock->lockWrite(tdbb, true))
if (!allocLock->lockWrite(tdbb, LCK_WAIT))
ERR_bugcheck_msg("Can't lock alloc table for writing");
}
@ -446,7 +446,7 @@ private:
void lockAllocRead(thread_db* tdbb)
{
if (!allocLock->lockRead(tdbb, true))
if (!allocLock->lockRead(tdbb, LCK_WAIT))
ERR_bugcheck_msg("Can't lock alloc table for reading");
}