Thread: duplicate #define

duplicate #define

From
Mark Dilger
Date:
In commit 2c03216d831160bedd72d45f712601b6f7d03f1c, the
following define occurs twice in src/include/access/xlogrecord.h:

#define SizeOfXLogRecordDataHeaderLong (sizeof(uint8) + sizeof(uint32))

It is no big deal, as the definitions don't contradict each other.  We
could probably live with just one, though.

Patch attached


Mark Dilger
Attachment

Re: duplicate #define

From
Heikki Linnakangas
Date:
On 12/13/2014 04:45 PM, Mark Dilger wrote:
> In commit 2c03216d831160bedd72d45f712601b6f7d03f1c, the
> following define occurs twice in src/include/access/xlogrecord.h:
>
> #define SizeOfXLogRecordDataHeaderLong (sizeof(uint8) + sizeof(uint32))
>
> It is no big deal, as the definitions don't contradict each other.  We
> could probably live with just one, though.
>
> Patch attached

Thanks, fixed!

- Heikki