diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2014-10-22 13:34:32 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2014-10-22 13:34:32 +0200 |
commit | fbdbe81f4631378fd7dde42d516cf2adce465f08 (patch) | |
tree | 3f96fc135806169e4a9682dcae567a9bb72a2341 | |
parent | 0d6bfedb3821fc5c30d469240718cdaedd43977f (diff) | |
download | sonarqube-fbdbe81f4631378fd7dde42d516cf2adce465f08.tar.gz sonarqube-fbdbe81f4631378fd7dde42d516cf2adce465f08.zip |
SONAR-5696 fix update query with field – case sensitivity
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/component/db/SnapshotMapper.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/component/db/SnapshotMapper.xml b/sonar-core/src/main/resources/org/sonar/core/component/db/SnapshotMapper.xml index 254dfd6cd64..c0112194bcf 100644 --- a/sonar-core/src/main/resources/org/sonar/core/component/db/SnapshotMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/component/db/SnapshotMapper.xml @@ -78,13 +78,13 @@ <update id="updateSnapshotAndChildrenLastFlagAndStatus" parameterType="map"> update snapshots - set isLast = #{isLast}, status = #{status} + set islast = #{isLast}, status = #{status} where root_snapshot_id=#{root} or id=#{root} or (path like #{path} and root_snapshot_id=#{pathRootId}) </update> <update id="updateSnapshotAndChildrenLastFlag" parameterType="map"> update snapshots - set isLast = #{isLast} + set islast = #{isLast} where root_snapshot_id=#{root} or id=#{root} or (path like #{path} and root_snapshot_id=#{pathRootId}) </update> |