diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-12-12 14:58:15 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-12-12 14:58:24 +0100 |
commit | 99290e5b07dc5105d249392af29e89b03d25f70a (patch) | |
tree | aa52c0402f3f922e650e43e9f5692bf69516f472 | |
parent | 9ede4cc7f581415f5247a18656fa16892b7f09bc (diff) | |
download | sonarqube-99290e5b07dc5105d249392af29e89b03d25f70a.tar.gz sonarqube-99290e5b07dc5105d249392af29e89b03d25f70a.zip |
SONAR-5753 Fix issue on MySQL
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java index 71a6cdc82a0..4f98335f4d7 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java +++ b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java @@ -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(); |