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:
parent
a1362f9506
commit
a18788a0cf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user