aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
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 22:05:55 +0200
commit4b0f2cd14b2d20d2ed9c214b2110246ede391f2c (patch)
treed9d8f5116bd5f967ce1f4cfc8eabc517a2fa846d /sonar-core
parentd25d97de634f9591373e9d07d98f9c8b40757398 (diff)
downloadsonarqube-4b0f2cd14b2d20d2ed9c214b2110246ede391f2c.tar.gz
sonarqube-4b0f2cd14b2d20d2ed9c214b2110246ede391f2c.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')
-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>