aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src/main/resources/org/sonar/db/metric
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-03-01 21:42:35 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-03-03 16:44:23 +0100
commitc70f3440c22884fbb2af047acc5fbd164d8a5158 (patch)
tree4b7226da330936e99c4b17c18dec19ccd68fcf2e /sonar-db/src/main/resources/org/sonar/db/metric
parentde9e6347157d1cdf21f2065923d339fb60801a34 (diff)
downloadsonarqube-c70f3440c22884fbb2af047acc5fbd164d8a5158.tar.gz
sonarqube-c70f3440c22884fbb2af047acc5fbd164d8a5158.zip
SONAR-7372 Too many logs "Disable metric" at server startup
Diffstat (limited to 'sonar-db/src/main/resources/org/sonar/db/metric')
-rw-r--r--sonar-db/src/main/resources/org/sonar/db/metric/MetricMapper.xml1
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">