diff options
Diffstat (limited to 'sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml')
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml b/sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml index a1d2014533a..cbc008ad818 100644 --- a/sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml @@ -136,6 +136,7 @@ update metrics set enabled=${_false} where name=#{key} + and enabled=${_true} </update> <select id="selectByKeys" resultType="org.sonar.db.metric.MetricDto"> |