diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2020-07-31 08:57:39 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-07-31 20:06:11 +0000 |
commit | cf3ee4bb926ec71b716c7d358c688a8575e631c6 (patch) | |
tree | 485092db59097f783bed07ccf1735733a3314f47 /server/sonar-db-migration | |
parent | 03c738ef45806c089408a7b41b291d5b59907f65 (diff) | |
download | sonarqube-cf3ee4bb926ec71b716c7d358c688a8575e631c6.tar.gz sonarqube-cf3ee4bb926ec71b716c7d358c688a8575e631c6.zip |
SONAR-13698 Remove comma from SQL query
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r-- | server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v85/DeleteProjectAlmSettingsOrphans.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v85/DeleteProjectAlmSettingsOrphans.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v85/DeleteProjectAlmSettingsOrphans.java index 246ce9d2f62..f75c8634a7f 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v85/DeleteProjectAlmSettingsOrphans.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v85/DeleteProjectAlmSettingsOrphans.java @@ -34,7 +34,7 @@ public class DeleteProjectAlmSettingsOrphans extends DataChange { protected void execute(Context context) throws SQLException { MassUpdate massUpdate = context.prepareMassUpdate(); massUpdate.select("select pas.uuid from project_alm_settings pas left join " - + "projects p on pas.project_uuid = p.uuid where p.uuid is null;"); + + "projects p on pas.project_uuid = p.uuid where p.uuid is null"); massUpdate.update("delete from project_alm_settings where uuid = ?"); massUpdate.execute((row, update) -> { |