aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-10-28 14:31:19 +0000
committerGodin <mandrikov@gmail.com>2010-10-28 14:31:19 +0000
commitb918fe7c6647285b0584c5d1682102f9e8835c62 (patch)
tree5c8f6f708e8f3dd42604eaf8b30ae9e5af588257 /sonar-core
parentd7869519b8a56a36617cdcdd4a057398750e1a38 (diff)
downloadsonarqube-b918fe7c6647285b0584c5d1682102f9e8835c62.tar.gz
sonarqube-b918fe7c6647285b0584c5d1682102f9e8835c62.zip
SONAR-1837: Add profiling logs to database optimization tasks
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java b/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java
index f698c14e778..74d55cfc797 100644
--- a/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java
+++ b/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java
@@ -57,8 +57,8 @@ public abstract class AbstractPurge implements Purge {
}
protected void deleteDependencies(List<Integer> snapshotIds) {
- executeQuery("deleteDependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.fromSnapshotId in (:ids)");
- executeQuery("deleteDependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.toSnapshotId in (:ids)");
+ executeQuery("delete dependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.fromSnapshotId in (:ids)");
+ executeQuery("delete dependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.toSnapshotId in (:ids)");
}
/**