aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/purge/PurgeMapper.java2
-rw-r--r--sonar-db/src/main/resources/org/sonar/db/purge/PurgeMapper.xml9
2 files changed, 0 insertions, 11 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/purge/PurgeMapper.java b/sonar-db/src/main/java/org/sonar/db/purge/PurgeMapper.java
index 71cf08155ad..d81dc059f07 100644
--- a/sonar-db/src/main/java/org/sonar/db/purge/PurgeMapper.java
+++ b/sonar-db/src/main/java/org/sonar/db/purge/PurgeMapper.java
@@ -40,8 +40,6 @@ public interface PurgeMapper {
void deleteAnalysisMeasures(@Param("analysisUuids") List<String> analysisUuids);
- void deleteSnapshotMeasures(@Param("analysisUuids") List<String> analysisUuids);
-
void deleteComponentMeasures(@Param("analysisUuids") List<String> analysisUuids, @Param("componentUuids") List<String> componentUuids);
List<Long> selectMetricIdsWithoutHistoricalData();
diff --git a/sonar-db/src/main/resources/org/sonar/db/purge/PurgeMapper.xml b/sonar-db/src/main/resources/org/sonar/db/purge/PurgeMapper.xml
index 32e07902dee..8f70bf90514 100644
--- a/sonar-db/src/main/resources/org/sonar/db/purge/PurgeMapper.xml
+++ b/sonar-db/src/main/resources/org/sonar/db/purge/PurgeMapper.xml
@@ -64,15 +64,6 @@
</foreach>
</delete>
- <delete id="deleteSnapshotMeasures" parameterType="map">
- delete from project_measures
- where
- analysis_uuid in
- <foreach collection="analysisUuids" open="(" close=")" item="analysisUuid" separator=",">
- #{analysisUuid,jdbcType=VARCHAR}
- </foreach>
- </delete>
-
<delete id="deleteComponentMeasures" parameterType="map">
delete from project_measures
where