diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-08 11:40:55 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-08 11:40:55 +0200 |
commit | 6eed99f1f3ade51d54659925d3e16eeed4af76e6 (patch) | |
tree | 9dba97602f093ac1a90b6cdd072b8d7b10822837 /sql/sql_parse.cc | |
parent | 35c277851972267d4d020126ab8f893c4b17dd36 (diff) | |
download | mariadb-git-6eed99f1f3ade51d54659925d3e16eeed4af76e6.tar.gz |
MDEV-21248: Do not break the build on clang
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |