Do not use C++11 before MariaDB 10.4

This fixes up 3d9b350a9cab7faaf718313c197ff868c4af3c6a
This commit is contained in:
Marko Mäkelä 2022-10-14 11:54:05 +03:00
parent 3d9b350a9c
commit 78030b67b9

View File

@ -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;