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

Suggested fix for #7514: Segfault when detaching after deleting shadow on Classic

This commit is contained in:
AlexPeshkoff 2023-03-29 13:47:17 +03:00
parent f56fc0f280
commit 89c7b2e139

View File

@ -581,6 +581,10 @@ void SDW_get_shadows(thread_db* tdbb)
// to prevent missing any new ones later on, although it does not
// matter for the purposes of the current page being written
// no use even trying to get shadow files in a case when we invoked from
// JRD_shutdown_database, i.e. there are no attachments to database
if (tdbb->getAttachment())
MET_get_shadow_files(tdbb, false);
}