diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-09-18 17:29:53 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-09-21 10:31:02 +0200 |
commit | 5de0cfcf35ccf85e5b7e78b27f156dc4d02750d6 (patch) | |
tree | 47fb2e2cac619166bf9d4c64de1c820051811bba /sonar-db | |
parent | 60d5ed1ee8daf428dc11494eae18cb5664d95683 (diff) | |
download | sonarqube-5de0cfcf35ccf85e5b7e78b27f156dc4d02750d6.tar.gz sonarqube-5de0cfcf35ccf85e5b7e78b27f156dc4d02750d6.zip |
Remove useless sql query
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml b/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml index f9bf9b9c8f1..a85bf7e31dd 100644 --- a/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml @@ -70,18 +70,6 @@ DELETE FROM active_rules WHERE id=#{id} </update> - <select id="selectByIds" parameterType="map" resultType="ActiveRule"> - select - <include refid="activeRuleColumns"/> - from active_rules a - <include refid="activeRuleJoin"/> - <where> - (<foreach collection="list" item="id" open="(" separator=" or " close=")"> - a.id=#{id} - </foreach>) - </where> - </select> - <select id="selectById" parameterType="int" resultType="ActiveRule"> SELECT <include refid="activeRuleColumns"/> |