1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-06 13:10:12 +03:00

MDEV-36190 fixup for GCC 4.8.5

Let us try to accommodate the incomplete -std=c++11 support of GCC 4.8.5
in case someone wants to keep using outdated tools.
This commit is contained in:
Marko Mäkelä
2025-09-29 10:43:26 +03:00
parent ba8df1cd4e
commit 62c70a8ae9

View File

@@ -3250,7 +3250,7 @@ retry:
ut_ad(bpage->state() == buf_page_t::MEMORY);
{
page_hash_latch &hash_lock{buf_pool.page_hash.lock_get(chain)};
page_hash_latch &hash_lock= buf_pool.page_hash.lock_get(chain);
hash_lock.lock();
reinterpret_cast<buf_block_t*>(bpage)->
initialise(page_id, zip_size, buf_page_t::REINIT + 1);