Re: [HACKERS] Subtle bug in clog.c

2004-07-02 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > I'm wondering about the following statement in TransactionIdSetStatus(): > *byteptr |= (status << bshift); > When the status is SUBCOMMITTED, the bytemask will have 11 for those two > bytes; therefore, when OR-ing a 10 or 01 mask (committed or abort

Re: [HACKERS] Subtle bug in clog.c

2004-07-02 Thread Alvaro Herrera
On Fri, Jul 02, 2004 at 01:09:56PM -0400, Alvaro Herrera wrote: Sorry: > When the status is SUBCOMMITTED, the bytemask will have 11 for those two should be bitmask > bytes; therefore, when OR-ing a 10 or 01 mask (committed or aborted), ^ shoul