Commit bfbf0f22 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-20525: Fix the -std=c90 builds

parent b214264a
...@@ -2262,8 +2262,8 @@ extern my_bool my_assert; ...@@ -2262,8 +2262,8 @@ extern my_bool my_assert;
ATTRIBUTE_COLD ATTRIBUTE_COLD
my_bool _db_my_assert(const char *file, int line, const char *msg) my_bool _db_my_assert(const char *file, int line, const char *msg)
{ {
_db_flush_();
my_bool a = my_assert; my_bool a = my_assert;
_db_flush_();
if (!a) if (!a)
fprintf(stderr, "%s:%d: assert: %s\n", file, line, msg); fprintf(stderr, "%s:%d: assert: %s\n", file, line, msg);
return a; return a;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment