]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4996 Use long instead of int to calculate total number of updated rows
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 3 Mar 2014 10:02:12 +0000 (11:02 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 3 Mar 2014 10:49:28 +0000 (11:49 +0100)
sonar-server/src/main/java/org/sonar/server/db/migrations/debt/MassUpdater.java

index cf1288c5da74edcb9c6e82a9ecbb73b979ab48b7..0852ed862244b0aa28774d75bef34eeb6c5f6095 100644 (file)
@@ -57,7 +57,7 @@ public class MassUpdater {
   }
 
   public <S> void execute(InputLoader<S> inputLoader, InputConverter<S> converter) {
-    int count = 0;
+    long count = 0;
     try {
       Connection readConnection = db.getDataSource().getConnection();
       Statement stmt = null;