diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h index 053fe7a68e0..10c084bbbf1 100644 --- a/storage/innobase/include/fil0fil.h +++ b/storage/innobase/include/fil0fil.h @@ -1526,7 +1526,7 @@ template inline void fil_space_t::flush() flush_low(); else { - if (!(acquire_low(STOPPING & CLOSING) & (STOPPING | CLOSING))) + if (!(acquire_low(STOPPING | CLOSING) & (STOPPING | CLOSING))) { flush_low(); release();