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

Fixed mistake noted by Claudio

This commit is contained in:
hvlad 2011-06-03 08:25:04 +00:00
parent 6b77706b2f
commit 00af466e84

View File

@ -1266,10 +1266,10 @@ bool CCH_free_page(thread_db* tdbb)
if ((bcb->bcb_flags & BCB_free_pending) &&
(bdb = get_buffer(tdbb, FREE_PAGE, SYNC_NONE, 1)))
{
if (!write_buffer(tdbb, bdb, bdb->bdb_page, true, tdbb->tdbb_status_vector, true))
CCH_unwind(tdbb, false);
if (write_buffer(tdbb, bdb, bdb->bdb_page, true, tdbb->tdbb_status_vector, true))
return true;
return true;
CCH_unwind(tdbb, false);
}
return false;