8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:03:02 +01:00

Fix 100% CPU use by cache_writer in some rare cases

This commit is contained in:
hvlad 2004-09-27 08:31:20 +00:00
parent 6d6d3eb419
commit 828a0615a1

View File

@ -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();
// BCB_MUTEX_RELEASE;
return NULL;