]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5753 Fix issue on MySQL
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 12 Dec 2014 13:58:15 +0000 (14:58 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 12 Dec 2014 13:58:24 +0000 (14:58 +0100)
server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java

index 71a6cdc82a099abb6d41094a5d68694cb77a91df..4f98335f4d76aaa8ce8c67015feef0c9d495a5f7 100644 (file)
@@ -71,11 +71,11 @@ public class PopulateProjectsUuidColumnsMigration implements DatabaseMigration {
           migrateDisabledComponents(readSession, writeSession, project, uuidByComponentId);
         }
       });
-      writeSession.commit();
-      readSession.commit();
+      writeSession.commit(true);
+      readSession.commit(true);
 
       migrateComponentsWithoutUuid(readSession, writeSession);
-      writeSession.commit();
+      writeSession.commit(true);
 
       // log the total number of process rows
       progress.log();