Hello,
Sergei Golubchik a écrit, Le 01/12/2009 02:05 PM:
> #At file:///usr/home/serg/Abk/mysql/6.0-maria/
Uh uh, something to port to 5.1-maria...
> 2708 Sergei Golubchik 2009-01-12
> removed the obsolete protection
Why is it obsolete?
> modified:
> storage/maria/ma_state.c
>
> === modified file 'storage/maria/ma_state.c'
> --- a/storage/maria/ma_state.c 2008-12-09 12:36:51 +0000
> +++ b/storage/maria/ma_state.c 2009-01-12 13:04:54 +0000
> @@ -91,7 +91,7 @@ my_bool _ma_setup_live_state(MARIA_HA *i
> It's enough to compare trids here (instead of calling
> tranman_can_read_from) as history->trid is a commit_trid
> */
> - while (trn->trid < history->trid && history->trid !=
> ~(TrID)0)
> + while (trn->trid < history->trid)
> history= history->next;
> pthread_mutex_unlock(&share->intern_lock);
> /* The current item can't be deleted as it's the first one visible for us */
--
Mr. Guilhem Bichot <guilhem@stripped>
Sun Microsystems / MySQL, Lead Software Engineer
Bordeaux, France
www.sun.com / www.mysql.com