mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
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:
parent
9a20a9b21b
commit
b5ed21998c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user