Changed calls to disableLogging and enableLogging to work the way they used to.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@479 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
dsandersoremutah
2006-05-30 21:31:58 +00:00
parent 82041bb5c7
commit f9a8601e63
9 changed files with 109 additions and 76 deletions

View File

@@ -134,7 +134,7 @@ F_Rfl::F_Rfl()
m_eLastLfType = SFLM_LF_INVALID;
m_pIxCompareObject = NULL;
m_pCompareObject = NULL;
m_uiDisabledCount = 0;
m_uiDisableCount = 0;
}
/********************************************************************
@@ -4714,6 +4714,7 @@ RCODE F_Rfl::recover(
FLMBOOL bLastTransEndedAtFileEOF = FALSE;
FLMBOOL bForceNextFile;
FLMBOOL bHitEnd;
FLMUINT uiRflToken = 0;
flmAssert( m_pDatabase);
@@ -4727,7 +4728,7 @@ RCODE F_Rfl::recover(
// Turn off logging.
disableLogging();
disableLogging( &uiRflToken);
// Set the replay flag on the database.
@@ -5489,7 +5490,7 @@ Finish_Recovery:
m_pRestore = NULL;
m_pRestoreStatus = NULL;
enableLogging();
enableLogging( &uiRflToken);
pDb->m_uiFlags &= ~FDB_REPLAYING_RFL;