mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
This should fix bug #7996 : gbak terminates/crashes when a read error occurs during restore
This commit is contained in:
parent
082030d7da
commit
78eab2dbda
@ -12304,7 +12304,7 @@ bool RestoreRelationTask::fileReader(Item& item)
|
||||
|
||||
const RCRD_LENGTH length = m_metadata.m_inMsgLen; // full record length
|
||||
|
||||
IOBuffer* ioBuf = NULL;
|
||||
IOBuffer*& ioBuf = item.m_buffer = NULL;
|
||||
FB_SSIZE_T space = 0; // space left in current buffer
|
||||
UCHAR* buf = NULL; // pointer at the current buffer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user