From 63cdfde62aef9741ff58214ef6c149fa32c6dbb4 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 22 Oct 2014 11:00:55 +0200 Subject: [PATCH] SONAR-5758 fix SQL request --- .../server/db/migrations/v451/DeleteUnescapedActivities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v451/DeleteUnescapedActivities.java b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v451/DeleteUnescapedActivities.java index c0bbe4fa71a..87e0566b593 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v451/DeleteUnescapedActivities.java +++ b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v451/DeleteUnescapedActivities.java @@ -45,7 +45,7 @@ public class DeleteUnescapedActivities extends BaseDataChange { public void execute(Context context) throws SQLException { MassUpdate massUpdate = context.prepareMassUpdate(); massUpdate.select("select id,data_field from activities where log_type='QPROFILE'"); - massUpdate.update("delete activities where id=?"); + massUpdate.update("delete from activities where id=?"); massUpdate.execute(new MassUpdate.Handler() { @Override public boolean handle(Select.Row row, SqlStatement update) throws SQLException { -- 2.39.5