summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/ConnectionI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Freeze/ConnectionI.cpp')
-rw-r--r--cpp/src/Freeze/ConnectionI.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Freeze/ConnectionI.cpp b/cpp/src/Freeze/ConnectionI.cpp
index 7d6c9e1fc73..4934925bcc4 100644
--- a/cpp/src/Freeze/ConnectionI.cpp
+++ b/cpp/src/Freeze/ConnectionI.cpp
@@ -91,7 +91,8 @@ Freeze::ConnectionI::ConnectionI(const CommunicatorPtr& communicator,
_communicator(communicator),
_dbEnvHolder(SharedDbEnv::get(communicator, envName)),
_envName(envName),
- _trace(communicator->getProperties()->getPropertyAsInt("Freeze.Trace.Map"))
+ _trace(communicator->getProperties()->getPropertyAsInt("Freeze.Trace.Map")),
+ _deadlockWarning(communicator->getProperties()->getPropertyAsInt("Freeze.Warn.Deadlocks") != 0)
{
_dbEnv = _dbEnvHolder.get();
}
@@ -102,7 +103,8 @@ Freeze::ConnectionI::ConnectionI(const CommunicatorPtr& communicator,
_communicator(communicator),
_dbEnv(&dbEnv),
_envName(envName),
- _trace(communicator->getProperties()->getPropertyAsInt("Freeze.Trace.Map"))
+ _trace(communicator->getProperties()->getPropertyAsInt("Freeze.Trace.Map")),
+ _deadlockWarning(communicator->getProperties()->getPropertyAsInt("Freeze.Warn.Deadlocks") != 0)
{
}