Commit 4ff4df32 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-25491 fixup: Optimize fil_space_t::check_pending_operations()

parent 11597e02
......@@ -1569,8 +1569,8 @@ fil_space_t *fil_space_t::check_pending_operations(ulint id)
if (space)
{
const uint32_t n= space->acquire_low();
ut_ad(!(n & STOPPING));
space->reacquire();
ut_ad(!(space->pending() & STOPPING));
if (space->crypt_data)
{
......
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