mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Fixed CORE-6539: Replication plugin can crash engine returning nullptr from startTransaction() method
This commit is contained in:
parent
35184ba4cb
commit
3b3e51eb04
@ -203,6 +203,12 @@ namespace
|
|||||||
|
|
||||||
if (!checkStatus(tdbb, status, transaction))
|
if (!checkStatus(tdbb, status, transaction))
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
|
if (!transaction->tra_replicator)
|
||||||
|
{
|
||||||
|
transaction->tra_flags &= ~TRA_replicating;
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure all active savepoints are replicated
|
// Ensure all active savepoints are replicated
|
||||||
|
Loading…
Reference in New Issue
Block a user