From 78030b67b9cbc7b2c29f1d7aeaf3b9942bf94bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Fri, 14 Oct 2022 11:54:05 +0300 Subject: [PATCH] Do not use C++11 before MariaDB 10.4 This fixes up 3d9b350a9cab7faaf718313c197ff868c4af3c6a --- storage/innobase/include/ut0lst.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/innobase/include/ut0lst.h b/storage/innobase/include/ut0lst.h index fb15d6276f8..7b7ed7b8e80 100644 --- a/storage/innobase/include/ut0lst.h +++ b/storage/innobase/include/ut0lst.h @@ -475,7 +475,7 @@ void ut_list_validate(const List& list, Functor& functor) ut_list_map(list, functor); #ifdef UNIV_DEBUG /* Validate the list backwards. */ - auto count = list.count; + ulint count = list.count; for (typename List::elem_type* elem = list.end; elem != 0; @@ -495,7 +495,7 @@ inline void ut_list_validate(const List& list, const Functor& functor) ut_list_map(list, functor); #ifdef UNIV_DEBUG /* Validate the list backwards. */ - auto count = list.count; + ulint count = list.count; for (typename List::elem_type* elem = list.end; elem != 0;