diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-04-27 11:51:19 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-04-28 09:02:06 +0200 |
commit | a4a612e42fb8ed12b0a7c4f3f60294bbb233a5c8 (patch) | |
tree | 19886cc33f1395999b6d310033ca5ed979d39108 /sonar-core | |
parent | faadd654f06e3661fd6c2dfa0708cfe96818f53d (diff) | |
download | sonarqube-a4a612e42fb8ed12b0a7c4f3f60294bbb233a5c8.tar.gz sonarqube-a4a612e42fb8ed12b0a7c4f3f60294bbb233a5c8.zip |
SONAR-6428 Apply feedback from PR
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml b/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml index 110a48de4e8..a1a0276bfc6 100644 --- a/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml @@ -84,7 +84,7 @@ </insert> <select id="selectMetricKeysForSnapshot" parameterType="long" resultType="string"> - SELECT m.name + SELECT DISTINCT m.name FROM project_measures pm INNER JOIN metrics m ON m.id=pm.metric_id WHERE pm.snapshot_id=#{snapshotId} |