8
0
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:
dimitr 2003-07-13 08:28:47 +00:00
parent 6470ca76f7
commit 33572e15bf

View File

@ -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