From: Jim Hahn Date: Tue, 5 Nov 2019 19:47:08 +0000 (-0500) Subject: Fix syntax error in DistributedLock "DELETE" X-Git-Tag: 1.6.0~63 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4d7e396e00ef92364e3ea8dd6e35922dc5fae72c;p=policy%2Fdrools-pdp.git Fix syntax error in DistributedLock "DELETE" Changed the "DELETE" to "DELETE FROM" to fix this error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use Issue-ID: POLICY-2203 Signed-off-by: Jim Hahn Change-Id: I10a398c13dc3da547d2b3ea47564ab0d5761a2ee --- diff --git a/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java b/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java index 6f83ea15..7d58b8d5 100644 --- a/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java +++ b/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java @@ -769,8 +769,8 @@ public class DistributedLockManager extends LockManager