Fix pg_test_fsync, broken by xloginsert scaling patch.

I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.
This commit is contained in:
Heikki Linnakangas 2013-07-08 13:01:11 +03:00
parent 9a20a9b21b
commit b5ed21998c

View File

@ -206,7 +206,7 @@ prepare_buf(void)
for (ops = 0; ops < XLOG_SEG_SIZE; ops++) for (ops = 0; ops < XLOG_SEG_SIZE; ops++)
full_buf[ops] = random(); full_buf[ops] = random();
buf = (char *) TYPEALIGN(ALIGNOF_XLOG_BUFFER, full_buf); buf = (char *) TYPEALIGN(XLOG_BLCKSZ, full_buf);
} }
static void static void