]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5696 fix update query with field – case sensitivity
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 22 Oct 2014 11:34:32 +0000 (13:34 +0200)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 22 Oct 2014 11:34:32 +0000 (13:34 +0200)
sonar-core/src/main/resources/org/sonar/core/component/db/SnapshotMapper.xml

index 254dfd6cd647a6dea5e88943eec9b65352c32c28..c0112194bcf1759a74e9a15790b876f5581be5e4 100644 (file)
 
   <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>