maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #06337
Re: Galera-10.0 still does not work with rollbacks
Kristian Nielsen <knielsen@xxxxxxxxxxxxxxx> writes:
>> if ((err= ht->savepoint_set(ht, thd, (uchar *)(sv+1)+ht->savepoint_offset)))
> Note that it is not "sv+1". It is ((uchar *)sv+1) + ht->savepoint_offset.
Sorry, I messed up that explanation.
The point is: sv points to a SAVEPOINT object. But (uchar *)(sv+1) does not
point to a SAVEPOINT object. It points to some uchar bytes that happen to
reside in memory just after the SAVEPOINT object. Not the clearest way to
write the code.
So *(sv+1) is not meaningful.
- Kristian.
References
-
Review of base64.diff and german2.diff
From: Michael Widenius, 2013-09-12
-
Re: Review of base64.diff and german2.diff
From: Alexander Barkov, 2013-09-18
-
Galera-10.0 still does not work with rollbacks
From: Jan Lindström, 2013-09-19
-
Re: Galera-10.0 still does not work with rollbacks
From: Kristian Nielsen, 2013-09-19
-
Re: Galera-10.0 still does not work with rollbacks
From: Jan Lindström, 2013-09-19
-
Re: Galera-10.0 still does not work with rollbacks
From: Kristian Nielsen, 2013-09-20
-
Re: Galera-10.0 still does not work with rollbacks
From: Jan Lindström, 2013-09-20
-
Re: Galera-10.0 still does not work with rollbacks
From: Kristian Nielsen, 2013-09-20
-
Re: Galera-10.0 still does not work with rollbacks
From: Jan Lindström, 2013-09-23
-
Re: Galera-10.0 still does not work with rollbacks
From: Kristian Nielsen, 2013-09-24
-
Re: Galera-10.0 still does not work with rollbacks
From: Kristian Nielsen, 2013-09-24
-
Re: Galera-10.0 still does not work with rollbacks
From: Jan Lindström, 2013-09-25
-
Re: Galera-10.0 still does not work with rollbacks
From: Kristian Nielsen, 2013-09-25
-
Re: Galera-10.0 still does not work with rollbacks
From: Jan Lindström, 2013-09-25
-
Re: Galera-10.0 still does not work with rollbacks
From: Kristian Nielsen, 2013-09-25