diff options
author | Eric Hartmann <hartmann.eric@gmail.com> | 2018-10-26 08:12:00 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-10-26 20:20:59 +0200 |
commit | 69bcb8faa2f40f0e0e6e6a8427d178c02df2eff6 (patch) | |
tree | 71ed881385dd47cdbd7edb86ce2d01f9a8cf9076 /server | |
parent | bb83311cddc3a143787e349f5eb8c7058bbc0869 (diff) | |
download | sonarqube-69bcb8faa2f40f0e0e6e6a8427d178c02df2eff6.tar.gz sonarqube-69bcb8faa2f40f0e0e6e6a8427d178c02df2eff6.zip |
Fix incorrect SQL for Oracle and MsSQL
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-db-dao/src/main/resources/org/sonar/db/rule/RuleMapper.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/main/resources/org/sonar/db/rule/RuleMapper.xml b/server/sonar-db-dao/src/main/resources/org/sonar/db/rule/RuleMapper.xml index 920726f8b0f..1c976aacead 100644 --- a/server/sonar-db-dao/src/main/resources/org/sonar/db/rule/RuleMapper.xml +++ b/server/sonar-db-dao/src/main/resources/org/sonar/db/rule/RuleMapper.xml @@ -303,7 +303,7 @@ rules r <include refid="outerJoinRulesMetadata"/> where - r.status != 'REMOVED' and r.is_external is false and r.is_template is false + r.status != 'REMOVED' and r.is_external=${_false} and r.is_template=${_false} and r.rule_type in <foreach collection="types" item="type" separator="," open="(" close=")">#{type, jdbcType=INTEGER}</foreach> and r.language in <foreach collection="languages" item="language" separator="," open="(" close=")">#{language, jdbcType=VARCHAR}</foreach> </select> |