diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-07-07 21:58:14 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-07-07 21:58:30 +0200 |
commit | bfc542961446b8de587de32fd88de902123614d1 (patch) | |
tree | 6340bd4531118fd177bc29385b1b00862b6674a8 /sonar-core | |
parent | 237a04796fd693fa5b8e435884c7e2f2653340a1 (diff) | |
download | sonarqube-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')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml | 4 |
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> |