MDEV-20525: Fix the -std=c90 builds

This commit is contained in:
Marko Mäkelä 2019-09-13 18:11:32 +03:00
parent b214264aee
commit bfbf0f2251

View File

@ -2262,8 +2262,8 @@ extern my_bool my_assert;
ATTRIBUTE_COLD
my_bool _db_my_assert(const char *file, int line, const char *msg)
{
_db_flush_();
my_bool a = my_assert;
_db_flush_();
if (!a)
fprintf(stderr, "%s:%d: assert: %s\n", file, line, msg);
return a;