summaryrefslogtreecommitdiff
path: root/storage/maria/ma_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_state.c')
-rw-r--r--storage/maria/ma_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_state.c b/storage/maria/ma_state.c
index 15cc48ad468..817e1b69ddf 100644
--- a/storage/maria/ma_state.c
+++ b/storage/maria/ma_state.c
@@ -533,7 +533,7 @@ my_bool _ma_trnman_end_trans_hook(TRN *trn, my_bool commit,
}
else
{
-#ifndef DBUG_OFF
+#ifdef DBUG_ASSERT_EXISTS
/*
We need to keep share->in_trans correct in the debug library
because of the assert in maria_close()