mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Fixed porting bug. Thanks to Oleg LOA.
This commit is contained in:
parent
6470ca76f7
commit
33572e15bf
@ -159,7 +159,7 @@ void DYN_ddl(ATT attachment, JRD_TRA transaction, USHORT length, UCHAR * ddl)
|
||||
}
|
||||
catch (const std::exception&) {
|
||||
const sav* savepoint = transaction->tra_save_point;
|
||||
if (savepoint && savepoint)
|
||||
if (savepoint && savepoint->sav_verb_count)
|
||||
{
|
||||
// An error during undo is very bad and has to be dealt with
|
||||
// by aborting the transaction. The easiest way is to kill
|
||||
|
Loading…
Reference in New Issue
Block a user