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:
dsandersoremutah
2006-05-01 16:42:42 +00:00
parent 1c5226cf04
commit e76ad4d5a8

View File

@@ -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