diff options
author | Michal Duda <michal.duda@sonarsource.com> | 2019-03-07 22:45:00 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-04-02 20:21:01 +0200 |
commit | cf12ec57d0827a949791e0e406d7d8230f81cefa (patch) | |
tree | b3a7683fd54291fdd46cabaa6cb5c71ca9e9a847 | |
parent | 59c37d92f845423088ebe3e4ab088ed0ae5c95c2 (diff) | |
download | sonarqube-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.xml | 6 |
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> |