summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-01-30 11:12:12 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2015-01-30 16:48:32 +0100
commit8d9f68e8ba9fc37de36d8ed98312ecb4c9aa6147 (patch)
tree393f52eedbb22b802951800e1788f2f9585ed282 /sonar-core
parentcda0bf9eef6b2cf978afb438d7d9142e6cf04db4 (diff)
downloadsonarqube-8d9f68e8ba9fc37de36d8ed98312ecb4c9aa6147.tar.gz
sonarqube-8d9f68e8ba9fc37de36d8ed98312ecb4c9aa6147.zip
SONAR-5473 Fix progressive migration of file_sources.src_hash
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/source/db/FileSourceMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/source/db/FileSourceMapper.xml b/sonar-core/src/main/resources/org/sonar/core/source/db/FileSourceMapper.xml
index 9ac62cef3e3..009f36d1451 100644
--- a/sonar-core/src/main/resources/org/sonar/core/source/db/FileSourceMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/core/source/db/FileSourceMapper.xml
@@ -11,7 +11,7 @@
</select>
<select id="selectAllFileDataHashByProject" parameterType="string" resultType="org.sonar.core.source.db.FileSourceDto">
- SELECT id, file_uuid as fileUuid, data_hash as dataHash
+ SELECT id, file_uuid as fileUuid, data_hash as dataHash, src_hash as srcHash
FROM file_sources
WHERE project_uuid = #{projectUuid}
</select>