MDEV-31442 page_cleaner thread aborts while releasing the tablespace

- InnoDB shouldn't acquire the tablespace when it is being stopped
or closed
parent f7e9ac0d
......@@ -1526,7 +1526,7 @@ template<bool have_reference> 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();
......
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