aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/main
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-11-01 08:04:27 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-11-01 08:04:27 +0100
commitfff6552716647af1313b0c9dcd3a2f0b4895e458 (patch)
treef77c41296f42c0409249247237e5b487389383d6 /sonar-core/src/main
parent3d544314e585b7c65bc6156f7b7f5748012d50ad (diff)
downloadsonarqube-fff6552716647af1313b0c9dcd3a2f0b4895e458.tar.gz
sonarqube-fff6552716647af1313b0c9dcd3a2f0b4895e458.zip
Fix mybatis mapping of DUPLICATIONS_INDEX on Oracle
Diffstat (limited to 'sonar-core/src/main')
-rw-r--r--sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml b/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml
index 7b0e5682753..92a6bedc2fe 100644
--- a/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml
+++ b/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml
@@ -9,7 +9,7 @@
WHERE from_blocks.snapshot_id = #{resource_snapshot_id}
AND to_blocks.hash = from_blocks.hash
AND to_blocks.snapshot_id = snapshot.id
- AND snapshot.islast = TRUE
+ AND snapshot.islast = 1
AND snapshot.project_id = res.id
<if test="last_project_snapshot_id != null">
AND to_blocks.project_snapshot_id != #{last_project_snapshot_id}