mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 03:23:04 +01:00
Fix 100% CPU use by cache_writer in some rare cases
This commit is contained in:
parent
6d6d3eb419
commit
828a0615a1
@ -4712,6 +4712,10 @@ static BufferDesc* get_buffer(thread_db* tdbb, SLONG page, LATCH latch, SSHORT l
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (page == FREE_PAGE) {
|
||||||
|
bcb->bcb_flags &= ~BCB_free_pending;
|
||||||
|
}
|
||||||
|
|
||||||
THREAD_ENTER();
|
THREAD_ENTER();
|
||||||
// BCB_MUTEX_RELEASE;
|
// BCB_MUTEX_RELEASE;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user