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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user