mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43: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:
parent
935df87b71
commit
b985bcafa9
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user