aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-01-15 09:51:45 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-01-15 09:51:45 +0100
commit23dfc9b30d8b2ec204b10609fd605bb3c4f6bd48 (patch)
tree2d8ae38ee092b16317b952ddd1b92cebae525d4a /sonar-core
parent0c7690c8ac65e6922aab699811c4ba4cdd8ea593 (diff)
downloadsonarqube-23dfc9b30d8b2ec204b10609fd605bb3c4f6bd48.tar.gz
sonarqube-23dfc9b30d8b2ec204b10609fd605bb3c4f6bd48.zip
Really fix SQL query on MsSQL
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml b/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml
index 2299aeebe22..4bb8e0a2cf8 100644
--- a/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml
@@ -139,7 +139,7 @@
</select>
<sql id="childrenModuleQuery">
- INNER JOIN projects root_project ON root_project.uuid = p.project_uuid AND root_project.enabled = TRUE
+ INNER JOIN projects root_project ON root_project.uuid = p.project_uuid AND root_project.enabled = ${_true}
INNER JOIN projects module ON module.project_uuid = root_project.uuid AND module.enabled = ${_true} AND module.kee = #{moduleKey}
<where>
p.enabled = ${_true}