SQL changes. Updated everything so that it builds on Windows and uses the new FTK interfaces.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@674 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -249,7 +249,7 @@ RCODE F_Db::processBeforeImage(
|
||||
m_pSFileHdl->setMaxAutoExtendSize( m_pDatabase->m_uiMaxFileSize);
|
||||
m_pSFileHdl->setExtendSize( m_pDatabase->m_uiFileExtendSize);
|
||||
rc = m_pSFileHdl->writeBlock( uiBlkAddress, uiBlkLength, pBlkHdr,
|
||||
NULL, &uiBytesWritten);
|
||||
&uiBytesWritten);
|
||||
#ifdef FLM_DBG_LOG
|
||||
flmDbgLogWrite( m_pDatabase, uiBlkAddress, 0, ui64TransID,
|
||||
"ROLLBACK");
|
||||
@@ -359,8 +359,8 @@ RCODE F_Database::writeDbHdr(
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
if( RC_BAD( rc = pCFileHdl->sectorWrite( 0,
|
||||
uiBytesWritten, pTmpDbHdr, NULL, &uiBytesWritten)))
|
||||
if( RC_BAD( rc = pCFileHdl->write( 0,
|
||||
uiBytesWritten, pTmpDbHdr, &uiBytesWritten)))
|
||||
{
|
||||
if (pDbStats)
|
||||
{
|
||||
@@ -435,7 +435,6 @@ RCODE F_Db::physRollback(
|
||||
// blocks along the way.
|
||||
|
||||
uiCurrAddr = uiFirstLogBlkAddr;
|
||||
m_pSFileHdl->enableFlushMinimize();
|
||||
while (FSAddrIsBelow( uiCurrAddr, uiLogEOF))
|
||||
{
|
||||
if (RC_BAD( rc = processBeforeImage( uiLogEOF, &uiCurrAddr,
|
||||
@@ -454,7 +453,6 @@ RCODE F_Db::physRollback(
|
||||
}
|
||||
|
||||
Exit:
|
||||
m_pSFileHdl->disableFlushMinimize();
|
||||
|
||||
// Free the memory handle, if one was allocated.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user