Bugzilla defect 169989. When writing blocks in the rollback log back into the database, we need to write out the full block size, not just the part of the block that has data. This is necessary in case the blocks we are writing back have not ever actually been flushed out of cache.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@367 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -254,7 +254,7 @@ FSTATIC RCODE flmProcessBeforeImage(
|
||||
// Determine the block address before setting the checksum
|
||||
|
||||
uiBlkAddress = (FLMUINT)GET_BH_ADDR( pBlk);
|
||||
uiBlkLength = getEncryptSize( pBlk);
|
||||
uiBlkLength = pFile->FileHdr.uiBlockSize;
|
||||
|
||||
// Set the block checksum AFTER encrypting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user