aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Duda <michal.duda@sonarsource.com>2019-03-07 22:45:00 +0100
committerSonarTech <sonartech@sonarsource.com>2019-04-02 20:21:01 +0200
commitcf12ec57d0827a949791e0e406d7d8230f81cefa (patch)
treeb3a7683fd54291fdd46cabaa6cb5c71ca9e9a847
parent59c37d92f845423088ebe3e4ab088ed0ae5c95c2 (diff)
downloadsonarqube-cf12ec57d0827a949791e0e406d7d8230f81cefa.tar.gz
sonarqube-cf12ec57d0827a949791e0e406d7d8230f81cefa.zip
SONAR-11117 support for long-living branches in project export
-rw-r--r--server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml b/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml
index cbe0e28ce31..90ec7a99a7e 100644
--- a/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml
+++ b/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml
@@ -536,13 +536,13 @@
INNER JOIN
projects root ON root.uuid=p.project_uuid AND p.enabled = ${_true} AND root.kee=#{projectKey,jdbcType=VARCHAR}
</select>
-
+
<select id="selectUuidsByKeyFromProjectKey" parameterType="string" resultType="KeyWithUuid">
SELECT
p.kee, p.uuid
- FROM
+ FROM
projects p
- INNER JOIN
+ INNER JOIN
projects root ON root.uuid=p.project_uuid AND root.kee=#{projectKey,jdbcType=VARCHAR}
</select>