From 6eed99f1f3ade51d54659925d3e16eeed4af76e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Sat, 8 Feb 2020 11:40:55 +0200 Subject: [PATCH] MDEV-21248: Do not break the build on clang --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 6f3c076709a..a586dd9107c 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -7394,7 +7394,7 @@ long max_stack_used; */ bool -#ifdef __GNUC__ +#if defined __GNUC__ && !defined __clang__ /* Do not optimize the function in order to preserve a stack variable creation. Otherwise, the variable pointed as "buf" can be removed due to a missing