Commit b99fa1e7 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.3 into 10.4

parents e9f06b19 453dc4b3
......@@ -2890,8 +2890,21 @@ buf_pool_resize()
while (chunk < echunk) {
buf_block_t* block = chunk->blocks;
/* buf_LRU_block_free_non_file_page()
invokes MEM_NOACCESS() on any blocks
that are in free_list. We must
cancel the effect of that. In MemorySanitizer,
MEM_NOACCESS() is no-op, so we must not do
anything special for it here. */
#ifdef HAVE_valgrind
# if !__has_feature(memory_sanitizer)
MEM_MAKE_DEFINED(chunk->mem,
chunk->mem_size());
# endif
#else
MEM_MAKE_ADDRESSABLE(chunk->mem,
chunk->mem_size());
#endif
for (ulint j = chunk->size;
j--; block++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment