aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-05-22 23:49:36 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-05-22 23:49:36 +0200
commit736c10722f11c2d23b900110fd6684539a442efb (patch)
tree0219827641222309ba90973c7906cfdca2e55a07 /sonar-server
parent1b615d58ed9f268d9c21d7975fcb250dfd35fb33 (diff)
downloadsonarqube-736c10722f11c2d23b900110fd6684539a442efb.tar.gz
sonarqube-736c10722f11c2d23b900110fd6684539a442efb.zip
Try to fix MeasureDataMigration on mssql
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/java/org/sonar/server/db/migrations/v44/MeasureDataMigration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/db/migrations/v44/MeasureDataMigration.java b/sonar-server/src/main/java/org/sonar/server/db/migrations/v44/MeasureDataMigration.java
index 9b94ae6bf5d..10bae82c4f6 100644
--- a/sonar-server/src/main/java/org/sonar/server/db/migrations/v44/MeasureDataMigration.java
+++ b/sonar-server/src/main/java/org/sonar/server/db/migrations/v44/MeasureDataMigration.java
@@ -70,7 +70,7 @@ public class MeasureDataMigration implements DatabaseMigration {
@Override
public String updateSql() {
- return "UPDATE project_measures m SET m.measure_data = (SELECT md.data FROM measure_data md WHERE md.id = ?) WHERE m.id=?";
+ return "UPDATE project_measures SET measure_data = (SELECT md.data FROM measure_data md WHERE md.id = ?) WHERE id=?";
}
@Override