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:
parent
021cab2cc4
commit
8a973c8c47
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user