mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 12:43:03 +01:00
Clear handle in JBlob when blob is destroyed
This commit is contained in:
parent
e10f76cbed
commit
2513cbf1c1
@ -73,6 +73,11 @@ public:
|
||||
return blob;
|
||||
}
|
||||
|
||||
void clearHandle()
|
||||
{
|
||||
blob = NULL;
|
||||
}
|
||||
|
||||
private:
|
||||
blb* blob;
|
||||
Firebird::RefPtr<StableAttachmentPart> sAtt;
|
||||
|
@ -2669,6 +2669,9 @@ void blb::destroy(const bool purge_flag)
|
||||
// in tra_blobs
|
||||
fb_assert(false);
|
||||
}
|
||||
|
||||
if (blb_interface)
|
||||
blb_interface->clearHandle();
|
||||
}
|
||||
|
||||
delete blb_pages;
|
||||
|
Loading…
Reference in New Issue
Block a user