From 62c70a8ae9f12edca3633c2d415e90e26fe694e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 29 Sep 2025 10:43:26 +0300 Subject: [PATCH] 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. --- storage/innobase/buf/buf0buf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/buf/buf0buf.cc b/storage/innobase/buf/buf0buf.cc index c5277197799..4ceac242c1d 100644 --- a/storage/innobase/buf/buf0buf.cc +++ b/storage/innobase/buf/buf0buf.cc @@ -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(bpage)-> initialise(page_id, zip_size, buf_page_t::REINIT + 1);