projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a20a9b
)
Fix pg_test_fsync, broken by xloginsert scaling patch.
author
Heikki Linnakangas
Mon, 8 Jul 2013 10:01:11 +0000
(13:01 +0300)
committer
Heikki Linnakangas
Mon, 8 Jul 2013 10:04:07 +0000
(13:04 +0300)
I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.
contrib/pg_test_fsync/pg_test_fsync.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_test_fsync/pg_test_fsync.c
b/contrib/pg_test_fsync/pg_test_fsync.c
index 53f600f593d98d2d9dc4bbdacd77a88938feede5..78c94859159f35f70b305e666aa4620f824b4d43 100644
(file)
--- a/
contrib/pg_test_fsync/pg_test_fsync.c
+++ b/
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