Bug-fix for the las bug-fix

This commit is contained in:
Kenneth Skovhede
2013-04-21 19:52:47 +02:00
parent a8eb96adf3
commit 4dba3b034e
@@ -343,7 +343,10 @@ namespace Duplicati.Library.Main.ForestHash.Database
m_findblocksetCommand.Transaction = transaction;
r = m_findblocksetCommand.ExecuteScalar(null, filehash, size);
if (r != null && r != DBNull.Value)
{
blocksetid = Convert.ToInt64(r);
return false; //Found it
}
}
using (var tr = new TemporaryTransactionWrapper(m_connection, transaction))