Do not use C++11 before MariaDB 10.4
This fixes up 3d9b350a9cab7faaf718313c197ff868c4af3c6a
This commit is contained in:
parent
3d9b350a9c
commit
78030b67b9
@ -475,7 +475,7 @@ void ut_list_validate(const List& list, Functor& functor)
|
|||||||
ut_list_map(list, functor);
|
ut_list_map(list, functor);
|
||||||
#ifdef UNIV_DEBUG
|
#ifdef UNIV_DEBUG
|
||||||
/* Validate the list backwards. */
|
/* Validate the list backwards. */
|
||||||
auto count = list.count;
|
ulint count = list.count;
|
||||||
|
|
||||||
for (typename List::elem_type* elem = list.end;
|
for (typename List::elem_type* elem = list.end;
|
||||||
elem != 0;
|
elem != 0;
|
||||||
@ -495,7 +495,7 @@ inline void ut_list_validate(const List& list, const Functor& functor)
|
|||||||
ut_list_map(list, functor);
|
ut_list_map(list, functor);
|
||||||
#ifdef UNIV_DEBUG
|
#ifdef UNIV_DEBUG
|
||||||
/* Validate the list backwards. */
|
/* Validate the list backwards. */
|
||||||
auto count = list.count;
|
ulint count = list.count;
|
||||||
|
|
||||||
for (typename List::elem_type* elem = list.end;
|
for (typename List::elem_type* elem = list.end;
|
||||||
elem != 0;
|
elem != 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user