Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb5ed219

Browse files
committed
Fix pg_test_fsync, broken by xloginsert scaling patch.
I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.
1 parent9a20a9b commitb5ed219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pg_test_fsync/pg_test_fsync.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ prepare_buf(void)
206206
for (ops=0;ops<XLOG_SEG_SIZE;ops++)
207207
full_buf[ops]=random();
208208

209-
buf= (char*)TYPEALIGN(ALIGNOF_XLOG_BUFFER,full_buf);
209+
buf= (char*)TYPEALIGN(XLOG_BLCKSZ,full_buf);
210210
}
211211

212212
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp