aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-03-13 16:48:39 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-03-13 16:48:39 +0100
commit8aed5e9587b9e46e0c5acd199e231c04e19a003b (patch)
tree5e933b6d693bed2cefc5f312a0f3e102b865a9d3 /sonar-core
parent3536e0ab723d4420b437f1d550ffe34119170468 (diff)
downloadsonarqube-8aed5e9587b9e46e0c5acd199e231c04e19a003b.tar.gz
sonarqube-8aed5e9587b9e46e0c5acd199e231c04e19a003b.zip
SONAR-4366 Make SQL query cross-DBMS (handling of boolean column)
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/qualitygate/db/QualityGateConditionMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/qualitygate/db/QualityGateConditionMapper.xml b/sonar-core/src/main/resources/org/sonar/core/qualitygate/db/QualityGateConditionMapper.xml
index d709af2693d..65200e4bedf 100644
--- a/sonar-core/src/main/resources/org/sonar/core/qualitygate/db/QualityGateConditionMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/core/qualitygate/db/QualityGateConditionMapper.xml
@@ -39,7 +39,7 @@
<delete id="deleteConditionsWithInvalidMetrics">
delete from quality_gate_conditions
- where metric_id not in (select id from metrics where enabled=true)
+ where metric_id not in (select id from metrics where enabled=${_true})
</delete>
</mapper>