Bugzilla bug #162934. Changed lock timeout to FLM_NO_TIMEOUT in various places so we won't get the lock timeout errors unnecessarily.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@354 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
dsandersoremutah
2006-04-26 16:06:02 +00:00
parent 266ab9b809
commit 705b025696
9 changed files with 12 additions and 16 deletions

View File

@@ -501,7 +501,6 @@ Begin_Check:
pDbInfo->pLogicalFiles = NULL;
pDbInfo->pProgress->pLfStats = NULL;
pDbInfo->uiFlags = uiCheckFlags;
pDbInfo->uiMaxLockWait = 15;
pDbInfo->bStartedUpdateTrans = FALSE;
f_memset( &pDbInfo->pProgress->AvailBlocks, 0, sizeof(BLOCK_INFO));
f_memset( &pDbInfo->pProgress->LFHBlocks, 0, sizeof(BLOCK_INFO));
@@ -2520,7 +2519,7 @@ FSTATIC RCODE chkStartUpdate(
// Try to start an update transaction
if (RC_BAD( rc = flmBeginDbTrans( pDb, FLM_UPDATE_TRANS,
pIxChkInfo->pDbInfo->uiMaxLockWait, FLM_DONT_POISON_CACHE)))
FLM_NO_TIMEOUT, FLM_DONT_POISON_CACHE)))
{
goto Exit;
}