8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:03:02 +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 935df87b71
commit b985bcafa9
2 changed files with 2 additions and 0 deletions

View File

@ -2072,6 +2072,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

@ -724,6 +724,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))