mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Silence some more bogus Valgrind warnings on non-32-bit systems. (Bug #53307)
This commit is contained in:
@ -2280,7 +2280,12 @@ wait_until_unfixed:
|
||||
ut_ad(buf_block_get_state(block) == BUF_BLOCK_FILE_PAGE);
|
||||
|
||||
mutex_enter(&block->mutex);
|
||||
#if UNIV_WORD_SIZE == 4
|
||||
/* On 32-bit systems, there is no padding in buf_page_t. On
|
||||
other systems, Valgrind could complain about uninitialized pad
|
||||
bytes. */
|
||||
UNIV_MEM_ASSERT_RW(&block->page, sizeof block->page);
|
||||
#endif
|
||||
|
||||
buf_block_buf_fix_inc(block, file, line);
|
||||
|
||||
|
Reference in New Issue
Block a user