aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-07 21:58:14 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-07 21:58:30 +0200
commitbfc542961446b8de587de32fd88de902123614d1 (patch)
tree6340bd4531118fd177bc29385b1b00862b6674a8 /sonar-core/src
parent237a04796fd693fa5b8e435884c7e2f2653340a1 (diff)
downloadsonarqube-bfc542961446b8de587de32fd88de902123614d1.tar.gz
sonarqube-bfc542961446b8de587de32fd88de902123614d1.zip
SONAR-5007 fix bug related to synchronization of rule parameters
* removal of rule parameter must be propagated to active rules * addition of rule parameter with default value must be propagated to active rules
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml b/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml
index fd3c1a00fe2..2f31335b5fd 100644
--- a/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml
@@ -149,11 +149,11 @@
WHERE id=#{id}
</update>
- <update id="deleteParameters" parameterType="Integer">
+ <update id="deleteParameters" parameterType="int">
DELETE FROM active_rule_parameters WHERE active_rule_id=#{id}
</update>
- <update id="deleteParameter" parameterType="Integer">
+ <update id="deleteParameter" parameterType="int">
DELETE FROM active_rule_parameters WHERE id=#{id}
</update>