Skip to content

Commit 3e61767

Browse files
committed
Small bug fix
1 parent 92c57ba commit 3e61767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/nl/topicus/mssql2monetdb/CopyTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ private void dropOldTables(CopyTable table) throws SQLException
530530
dropCount++;
531531
}
532532

533-
if (i == 0 || (table.isUseFastViewSwitching() && i == 2))
533+
if (i == 0 || (table.isUseFastViewSwitching() && i <= 2))
534534
LOG.info("Table '" + table.getToName() + "' has no older versions");
535535
else
536536
LOG.info("Dropped " + dropCount + " older versions of table '" + table.getToName() + "'");

0 commit comments

Comments
 (0)