Aligned internal log buffers on CPUs which require them

The generic buffer structure should respect the alignment of included
log structures. This is required by some CPUs (such as Sparc).
This commit is contained in:
Jean-Pierre André 2017-10-26 10:33:29 +02:00
parent a0bc659c7f
commit 02747ea647

View File

@ -79,6 +79,7 @@ struct BUFFER {
unsigned int headsz; unsigned int headsz;
BOOL safe; BOOL safe;
union { union {
u64 alignment;
RESTART_PAGE_HEADER restart; RESTART_PAGE_HEADER restart;
RECORD_PAGE_HEADER record; RECORD_PAGE_HEADER record;
char data[1]; char data[1];