Fix pg_test_fsync, broken by xloginsert scaling patch.

I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.
pull/6/head
Heikki Linnakangas 12 years ago
parent 9a20a9b21b
commit b5ed21998c
  1. 2
      contrib/pg_test_fsync/pg_test_fsync.c

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

Loading…
Cancel
Save