diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2019-07-01 17:49:24 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-07-10 08:36:53 +0200 |
commit | 421174b8456db3bd16471e636a79a0cf997c02ad (patch) | |
tree | d1a18a42a4a2d956eb042bbf9c61d4b81af0f50d /server/sonar-db-migration | |
parent | bdc898f9220f48b5589bf01ef32a5194d8b28dce (diff) | |
download | sonarqube-421174b8456db3bd16471e636a79a0cf997c02ad.tar.gz sonarqube-421174b8456db3bd16471e636a79a0cf997c02ad.zip |
SONAR-12260 fix failing DeleteFileMeasures on MsSQL
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r-- | server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DeleteFileMeasures.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/v70/DeleteFileMeasures.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DeleteFileMeasures.java index 58861ab22e6..3ca285aee16 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DeleteFileMeasures.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v70/DeleteFileMeasures.java @@ -35,7 +35,7 @@ public class DeleteFileMeasures extends DataChange { MassUpdate massUpdate = context.prepareMassUpdate(); massUpdate.select("select c.uuid from projects c where c.qualifier = 'UTS' or c.qualifier = 'FIL'"); massUpdate.rowPluralName("files"); - massUpdate.update("delete from project_measures pm where pm.component_uuid=?") + massUpdate.update("delete from project_measures where component_uuid=?") .setBatchSize(10); massUpdate.execute((row, update) -> { |