diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-07-18 08:56:32 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-07-18 08:56:32 +0200 |
commit | 472c3e32321c5c9ecd3253cbe573187e0799824c (patch) | |
tree | effaf9bf0936db211482b7d6a18bde4d4b744087 /sonar-core | |
parent | 1662850d7f4fbd9685e3f84c1cd8342d42a4bbe8 (diff) | |
download | sonarqube-472c3e32321c5c9ecd3253cbe573187e0799824c.tar.gz sonarqube-472c3e32321c5c9ecd3253cbe573187e0799824c.zip |
SONAR-4419 Replace SQL in by or
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml b/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml index 3d0319a0e04..d0978802a67 100644 --- a/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml @@ -124,8 +124,8 @@ select * from projects p <where> <if test="qualifiers != null and qualifiers.size() > 0"> - and p.qualifier in - <foreach item="qualifier" index="index" collection="qualifiers" open="(" separator="," close=")">#{qualifier}</foreach> + and <foreach item="qualifier" index="index" collection="qualifiers" open="(" separator=" or " close=")">p.qualifier=#{qualifier} + </foreach> </if> and p.enabled=${_true} and p.copy_resource_id is null |