summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 2d629ac0741..356dc319b1f 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -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;