Remove a bogus Valgrind "suppression".
fsp_init_file_page_low() does initialize all pages nowadays, even those in the InnoDB system tablespace.
This commit is contained in:
parent
5ddfcb05ca
commit
2bfe83adec
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Copyright (c) 1995, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
Copyright (c) 1995, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||||
Copyright (c) 2008, Google Inc.
|
Copyright (c) 2008, Google Inc.
|
||||||
|
Copyright (c) 2014, 2017, MariaDB Corporation. All Rights Reserved.
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
Google, Inc. Those modifications are gratefully acknowledged and are described
|
Google, Inc. Those modifications are gratefully acknowledged and are described
|
||||||
@ -2997,15 +2998,6 @@ buf_page_init(
|
|||||||
/* Set the state of the block */
|
/* Set the state of the block */
|
||||||
buf_block_set_file_page(block, space, offset);
|
buf_block_set_file_page(block, space, offset);
|
||||||
|
|
||||||
#ifdef UNIV_DEBUG_VALGRIND
|
|
||||||
if (!space) {
|
|
||||||
/* Silence valid Valgrind warnings about uninitialized
|
|
||||||
data being written to data files. There are some unused
|
|
||||||
bytes on some pages that InnoDB does not initialize. */
|
|
||||||
UNIV_MEM_VALID(block->frame, UNIV_PAGE_SIZE);
|
|
||||||
}
|
|
||||||
#endif /* UNIV_DEBUG_VALGRIND */
|
|
||||||
|
|
||||||
buf_block_init_low(block);
|
buf_block_init_low(block);
|
||||||
|
|
||||||
block->lock_hash_val = lock_rec_hash(space, offset);
|
block->lock_hash_val = lock_rec_hash(space, offset);
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Copyright (c) 1995, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
Copyright (c) 1995, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||||
Copyright (c) 2008, Google Inc.
|
Copyright (c) 2008, Google Inc.
|
||||||
|
Copyright (c) 2014, 2017, MariaDB Corporation. All Rights Reserved.
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
Google, Inc. Those modifications are gratefully acknowledged and are described
|
Google, Inc. Those modifications are gratefully acknowledged and are described
|
||||||
@ -3349,15 +3350,6 @@ buf_page_init(
|
|||||||
/* Set the state of the block */
|
/* Set the state of the block */
|
||||||
buf_block_set_file_page(block, space, offset);
|
buf_block_set_file_page(block, space, offset);
|
||||||
|
|
||||||
#ifdef UNIV_DEBUG_VALGRIND
|
|
||||||
if (!space) {
|
|
||||||
/* Silence valid Valgrind warnings about uninitialized
|
|
||||||
data being written to data files. There are some unused
|
|
||||||
bytes on some pages that InnoDB does not initialize. */
|
|
||||||
UNIV_MEM_VALID(block->frame, UNIV_PAGE_SIZE);
|
|
||||||
}
|
|
||||||
#endif /* UNIV_DEBUG_VALGRIND */
|
|
||||||
|
|
||||||
buf_block_init_low(block);
|
buf_block_init_low(block);
|
||||||
|
|
||||||
block->lock_hash_val = lock_rec_hash(space, offset);
|
block->lock_hash_val = lock_rec_hash(space, offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user