]> source.dussan.org Git - sonarqube.git/commitdiff
Remove useless sql query 519/head
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 18 Sep 2015 15:29:53 +0000 (17:29 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 21 Sep 2015 08:31:02 +0000 (10:31 +0200)
sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml

index f9bf9b9c8f146e72716f351dd8a806cb942dde4b..a85bf7e31dd339ac21faf7bf066e9c6c2a09bdae 100644 (file)
     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"/>