From a18788a0cfceaea6c9846bf76592c3237b034def Mon Sep 17 00:00:00 2001 From: dimitr Date: Fri, 9 Aug 2013 15:51:13 +0000 Subject: [PATCH] Fixed CORE-4176: Monitoring tables return incomplete information in SC/CS configurations. --- src/jrd/DatabaseSnapshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/DatabaseSnapshot.cpp b/src/jrd/DatabaseSnapshot.cpp index 22d23c0270..b27e036245 100644 --- a/src/jrd/DatabaseSnapshot.cpp +++ b/src/jrd/DatabaseSnapshot.cpp @@ -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);