diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-01-15 09:51:45 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-01-15 09:51:45 +0100 |
commit | 23dfc9b30d8b2ec204b10609fd605bb3c4f6bd48 (patch) | |
tree | 2d8ae38ee092b16317b952ddd1b92cebae525d4a /sonar-core | |
parent | 0c7690c8ac65e6922aab699811c4ba4cdd8ea593 (diff) | |
download | sonarqube-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.xml | 2 |
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} |