summaryrefslogtreecommitdiff
path: root/include/ibm/locks.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ibm/locks.hpp')
-rw-r--r--include/ibm/locks.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/ibm/locks.hpp b/include/ibm/locks.hpp
index fd27ef91cb..99b9cc3fba 100644
--- a/include/ibm/locks.hpp
+++ b/include/ibm/locks.hpp
@@ -187,7 +187,6 @@ class Lock
inline RcGetLockList Lock::getLockList(const ListOfSessionIds& listSessionId)
{
-
std::vector<std::pair<uint32_t, LockRequests>> lockList;
if (!lockTable.empty())
@@ -241,7 +240,6 @@ inline RcReleaseLockApi Lock::releaseLock(const ListOfTransactionIds& p,
inline RcAcquireLock Lock::acquireLock(const LockRequests& lockRequestStructure)
{
-
// validate the lock request
for (const auto& lockRecord : lockRequestStructure)
@@ -363,7 +361,6 @@ inline bool Lock::validateRids(const ListOfTransactionIds& refRids)
inline bool Lock::isValidLockRequest(const LockRequest& refLockRecord)
{
-
// validate the locktype
if (!((boost::equals(std::get<2>(refLockRecord), "Read") ||
@@ -392,7 +389,6 @@ inline bool Lock::isValidLockRequest(const LockRequest& refLockRecord)
for (const auto& p : std::get<4>(refLockRecord))
{
-
// validate the lock flags
// Allowed lockflags are locksame,lockall & dontlock
@@ -552,7 +548,6 @@ inline bool Lock::isConflictRecord(const LockRequest& refLockRecord1,
uint32_t i = 0;
for (const auto& p : std::get<4>(refLockRecord1))
{
-
// return conflict when any of them is try to lock all resources
// under the current resource level.
if (boost::equals(p.first, "LockAll") ||