List:Commits« Previous MessageNext Message »
From:Olav Sandstaa Date:July 27 2009 5:00pm
Subject:Re: bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:2759)
Bug#46402
View as plain text  
Hi Kevin,

Thanks for fixing this problem. The patch looks correct and should solve 
the problem.

OK to push.

Olav

Kevin Lewis wrote:
> #At file:///C:/Work/bzr/Merge/mysql-6.0-falcon-team/ based on
> revid:kevin.lewis@stripped
>
>  2759 Kevin Lewis	2009-07-27
>       Bug #46402 - Protect Transaction::findOldestInActiveList() with a shared lock
> on Transaction::activeTransactions.
>
>     modified:
>       storage/falcon/Transaction.cpp
> === modified file 'storage/falcon/Transaction.cpp'
> --- a/storage/falcon/Transaction.cpp	2009-07-24 17:56:07 +0000
> +++ b/storage/falcon/Transaction.cpp	2009-07-27 15:36:30 +0000
> @@ -1612,7 +1612,11 @@ void Transaction::thawAll(void)
>  	Sync syncRec(&syncRecords,"Transaction::thawAll");
>  	syncRec.lock(Shared);
>  
> +	Sync
> syncActive(&database->transactionManager->activeTransactions.syncObject,
> "Transaction::thawAll");
> +	syncActive.lock(Shared);
>  	TransId oldestActiveTransaction =
> database->transactionManager->findOldestInActiveList();
> +	syncActive.unlock();
> +
>  	int totalRecords = 0;
>  	int totalThawed = 0;
>  
>
>   
> ------------------------------------------------------------------------
>
>

Thread
bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:2759)Bug#46402Kevin Lewis27 Jul
  • Re: bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:2759)Bug#46402Olav Sandstaa27 Jul