git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9cdc21b)
Fix typo in 2a8a0067.
2025年2月18日 01:44:59 +0000 (14:44 +1300)
2025年2月18日 01:44:59 +0000 (14:44 +1300)
Builds configured with Valgrind but without assertions would fail due to
a typo in the recent change. This should be included when back-patching
2a8a0067 into v17.


diff --git a/src/backend/storage/aio/read_stream.c b/src/backend/storage/aio/read_stream.c
index 4b499dfb44108998d0f347a0b0a44194633375ad..99e44ed99fefe3a2e1dcc2cb6c8876e177f9f94d 100644 (file)
--- a/src/backend/storage/aio/read_stream.c
+++ b/src/backend/storage/aio/read_stream.c
@@ -789,8 +789,8 @@ read_stream_next_buffer(ReadStream *stream, void **per_buffer_data)
wipe_mem(per_buffer_data, stream->per_buffer_data_size);
#elif defined(USE_VALGRIND)
/* Tell it ourselves. */
- VALGRIND_MAKE_MEM_NO_ACCESS(per_buffer_data,
- stream->per_buffer_data_size);
+ VALGRIND_MAKE_MEM_NOACCESS(per_buffer_data,
+ stream->per_buffer_data_size);
#endif
}
#endif
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /