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

Fixed CORE-4176: Monitoring tables return incomplete information in SC/CS configurations.

This commit is contained in:
dimitr 2013-08-09 15:51:13 +00:00
parent a1362f9506
commit a18788a0cf

View File

@ -423,7 +423,7 @@ DatabaseSnapshot::DatabaseSnapshot(thread_db* tdbb, MemoryPool& pool)
}
// Signal other processes to dump their data
Lock temp_lock(tdbb, sizeof(SLONG), LCK_monitor), *lock = &temp_lock;
Lock temp_lock(tdbb, 0, LCK_monitor), *lock = &temp_lock;
if (LCK_lock(tdbb, lock, LCK_EX, LCK_WAIT))
LCK_release(tdbb, lock);