From 0bcf295628b06adf2034546f00fc4fe2ed81b400 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 26 Sep 2013 16:11:56 +0200 Subject: [PATCH] SONAR-4690 fix compatibility with Postgres --- .../server/db/migrations/violation/ViolationConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/java/org/sonar/server/db/migrations/violation/ViolationConverter.java b/sonar-server/src/main/java/org/sonar/server/db/migrations/violation/ViolationConverter.java index de525fc2b31..01898b6094f 100644 --- a/sonar-server/src/main/java/org/sonar/server/db/migrations/violation/ViolationConverter.java +++ b/sonar-server/src/main/java/org/sonar/server/db/migrations/violation/ViolationConverter.java @@ -84,7 +84,7 @@ class ViolationConverter implements Callable { private static final String SQL_DELETE_RULE_FAILURES; static { - StringBuilder sb = new StringBuilder("delete rule_failures where "); + StringBuilder sb = new StringBuilder("delete from rule_failures where "); for (int i = 0; i < Referentials.VIOLATION_GROUP_SIZE; i++) { if (i > 0) { sb.append(" or "); -- 2.39.5