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

This should fix bug #7134 : Firebird 4: Database page errors directly after gbak, which dissappear after some calls of gfix

This commit is contained in:
Vlad Khorsun 2022-02-16 22:46:51 +02:00
parent 021cab2cc4
commit 8a973c8c47
2 changed files with 2 additions and 0 deletions

View File

@ -2077,6 +2077,7 @@ JAttachment* JProvider::internalAttach(CheckStatusWrapper* user_status, const ch
// Can't allow garbage collection during database validation.
AutoSetRestoreFlag<ULONG> noCleanup(&attachment->att_flags, ATT_no_cleanup, true);
VIO_fini(tdbb);
if (!VAL_validate(tdbb, options.dpb_verify))

View File

@ -725,6 +725,7 @@ static int validate(Firebird::UtilSvc* svc)
{
dpb.insertString(isc_dpb_trusted_auth, userName);
}
dpb.insertTag(isc_dpb_no_garbage_collect);
PathName expandedFilename;
if (expandDatabaseName(dbName, expandedFilename, NULL))