mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Backport fix for bug CORE-3468 : Attempt to read after the end of file when nbackup state is stalled
This commit is contained in:
parent
af4fab86fc
commit
4bbd667929
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user