Print progress info from the MigrateAccountPatchReviewDb program
Change-Id: I54b26eebd530d7f5e6ac63c9570fcf5de1534ff1
This commit is contained in:

committed by
Jacek Centkowski

parent
1cf8629107
commit
69678200e8
@@ -95,8 +95,10 @@ public class MigrateAccountPatchReviewDb extends SiteProgram {
|
||||
while (!rows.isEmpty()) {
|
||||
insertRows(targetCon, targetStmt, rows);
|
||||
offset += rows.size();
|
||||
System.out.printf("%8d rows migrated\n", offset);
|
||||
rows = selectRows(sourceStmt, offset);
|
||||
}
|
||||
System.out.println("Done");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user