diff --git a/src/jrd/extds/InternalDS.cpp b/src/jrd/extds/InternalDS.cpp index c63900d09d..2cc91d54c6 100644 --- a/src/jrd/extds/InternalDS.cpp +++ b/src/jrd/extds/InternalDS.cpp @@ -330,7 +330,7 @@ void InternalTransaction::doRollback(ISC_STATUS* status, thread_db* tdbb, bool r else { IntStatus s(status); - CheckStatusWrapper statusWrapper(&statusWrapper); + CheckStatusWrapper statusWrapper(&s); EngineCallbackGuard guard(tdbb, *this, FB_FUNCTION); if (retain)