|
|
|
@ -63,6 +63,7 @@ public class MysqlRestoreService {
|
|
|
|
|
// 显示进度
|
|
|
|
|
if (current % 100 == 0 || current == total) {
|
|
|
|
|
System.out.printf("\r还原进度: %.2f%% (%d/%d)", (current * 100.0 / total), current, total);
|
|
|
|
|
System.out.println();
|
|
|
|
|
}
|
|
|
|
|
} catch (SQLException e) {
|
|
|
|
|
System.err.println("\n执行SQL出错: " + sql);
|
|
|
|
|