From 4bbd6679296ebed41e0781a779e1bfd605f1519b Mon Sep 17 00:00:00 2001 From: hvlad Date: Wed, 15 Jun 2011 09:53:11 +0000 Subject: [PATCH] Backport fix for bug CORE-3468 : Attempt to read after the end of file when nbackup state is stalled --- src/jrd/dpm.epp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jrd/dpm.epp b/src/jrd/dpm.epp index ec8e7f05ad..df5bd59204 100644 --- a/src/jrd/dpm.epp +++ b/src/jrd/dpm.epp @@ -2741,8 +2741,7 @@ static void extend_relation( thread_db* tdbb, jrd_rel* relation, WIN * window) To prevent possible deadlocks (since we own already an exlusive latch and we are asking for another exclusive latch), time out on the latch after 1 second. */ - data_page* dpage = - (data_page*) CCH_FETCH_TIMEOUT(tdbb, window, LCK_write, pag_undefined, -1); + data_page* dpage = (data_page*) CCH_fake(tdbb, window, -1); /* In the case of a timeout, retry the whole thing. */