mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Postfix for AV due to CORE-3649
This commit is contained in:
parent
c3d90b3a9b
commit
cf0128b304
@ -1107,7 +1107,7 @@ int gbak(Firebird::UtilSvc* uSvc)
|
|||||||
{
|
{
|
||||||
// All calls to exit_local(), normal and error exits, wind up here
|
// All calls to exit_local(), normal and error exits, wind up here
|
||||||
tdgbl->burp_throw = false;
|
tdgbl->burp_throw = false;
|
||||||
if (tdgbl->action->act_action == ACT_backup_fini)
|
if (tdgbl->action && tdgbl->action->act_action == ACT_backup_fini)
|
||||||
{
|
{
|
||||||
tdgbl->exit_code = 0;
|
tdgbl->exit_code = 0;
|
||||||
}
|
}
|
||||||
@ -1187,7 +1187,7 @@ void BURP_abort()
|
|||||||
**************************************/
|
**************************************/
|
||||||
BurpGlobals* tdgbl = BurpGlobals::getSpecific();
|
BurpGlobals* tdgbl = BurpGlobals::getSpecific();
|
||||||
|
|
||||||
BURP_print(true, tdgbl->action->act_action == ACT_backup_fini ? 351 : 83);
|
BURP_print(true, tdgbl->action && tdgbl->action->act_action == ACT_backup_fini ? 351 : 83);
|
||||||
// msg 351 Error closing database, but backup file is OK
|
// msg 351 Error closing database, but backup file is OK
|
||||||
// msg 83 Exiting before completion due to errors
|
// msg 83 Exiting before completion due to errors
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user