aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-07-02 13:44:49 +0200
committersonartech <sonartech@sonarsource.com>2019-07-10 08:36:54 +0200
commitd959cb81e02abbcf8a1201bd5ece9e50bc4ffa2e (patch)
tree7294a21cf4de4a58fe63c8799ce842e9af9120b4 /server/sonar-db-dao/src
parent421174b8456db3bd16471e636a79a0cf997c02ad (diff)
downloadsonarqube-d959cb81e02abbcf8a1201bd5ece9e50bc4ffa2e.tar.gz
sonarqube-d959cb81e02abbcf8a1201bd5ece9e50bc4ffa2e.zip
SONAR-12261 fix project QG search on MsSQL
Diffstat (limited to 'server/sonar-db-dao/src')
-rw-r--r--server/sonar-db-dao/src/main/resources/org/sonar/db/qualitygate/ProjectQgateAssociationMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/main/resources/org/sonar/db/qualitygate/ProjectQgateAssociationMapper.xml b/server/sonar-db-dao/src/main/resources/org/sonar/db/qualitygate/ProjectQgateAssociationMapper.xml
index 547eeeacc09..5d9239182ed 100644
--- a/server/sonar-db-dao/src/main/resources/org/sonar/db/qualitygate/ProjectQgateAssociationMapper.xml
+++ b/server/sonar-db-dao/src/main/resources/org/sonar/db/qualitygate/ProjectQgateAssociationMapper.xml
@@ -4,7 +4,7 @@
<mapper namespace="org.sonar.db.qualitygate.ProjectQgateAssociationMapper">
<select id="selectProjects" parameterType="map" resultType="ProjectQgateAssociation">
- SELECT proj.id as id, proj.kee as key, proj.name as name, prop.text_value as gateId
+ SELECT proj.id as id, proj.kee as "key", proj.name as name, prop.text_value as gateId
FROM projects proj
LEFT JOIN properties prop ON prop.resource_id=proj.id AND prop.prop_key='sonar.qualitygate' AND prop.text_value = #{query.gateId}
where