Reset the counter after each pass.

This commit is contained in:
Axel Dörfler
2012-03-31 21:57:14 +02:00
parent 7a085ce095
commit bae8d9ab83
2 changed files with 2 additions and 0 deletions
@@ -289,6 +289,7 @@ BFSPartitionHandle::Repair(bool checkOnly)
if (previousPass != result.pass) {
printf("Recreating broken index b+trees...\n");
previousPass = result.pass;
counter = 0;
}
}
}
+1
View File
@@ -91,6 +91,7 @@ command_checkfs(int argc, const char* const* argv)
if (previousPass != result.pass) {
fssh_dprintf("Recreating broken index b+trees...\n");
previousPass = result.pass;
counter = 0;
}
}
}