Fixed the repair to also support blocksize values that are not evenly divisible with the blockhash size
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Duplicati.Library.Main.Database
|
||||
""E"".""BlocksetID"",
|
||||
""F"".""Index"" + (""E"".""BlocklistIndex"" * {3}) AS ""FullIndex"",
|
||||
""F"".""BlockHash"",
|
||||
MIN({3} * {1}, ""E"".""Length"" - ((""F"".""Index"" + (""E"".""BlocklistIndex"" * {3})) * {0})) AS ""BlockSize"",
|
||||
MIN({0}, ""E"".""Length"" - ((""F"".""Index"" + (""E"".""BlocklistIndex"" * {3})) * {0})) AS ""BlockSize"",
|
||||
""E"".""Hash"",
|
||||
""E"".""BlocklistSize"",
|
||||
""E"".""BlocklistHash""
|
||||
|
||||
Reference in New Issue
Block a user