aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-04-30 16:24:13 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-05-07 09:46:13 +0200
commit885033d25e863905348f37a566b8cdfc840702b7 (patch)
tree79e3a0d5575ca5b78f605a2ac978aa7e35666595 /sonar-core
parent2727c6cdebe9652c95ddd620c0135da24c8347e9 (diff)
downloadsonarqube-885033d25e863905348f37a566b8cdfc840702b7.tar.gz
sonarqube-885033d25e863905348f37a566b8cdfc840702b7.zip
index tests - SONAR-6255
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 f70496ea9ca..7c5430038ec 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
@@ -178,7 +178,7 @@
<select id="selectDescendantFiles" parameterType="map" resultType="FilePathWithHash">
SELECT p.uuid, p.path, p.module_uuid as moduleUuid, fs.src_hash as srcHash
FROM projects p
- INNER JOIN file_sources fs ON fs.file_uuid=p.uuid
+ INNER JOIN file_sources fs ON fs.file_uuid=p.uuid and fs.data_type='SOURCE'
<include refid="modulesTreeQuery"/>
</select>