mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Don't rollback prepared 2PC sub-transaction
This commit is contained in:
parent
09fc3117db
commit
799d2d9e39
@ -42,7 +42,7 @@
|
||||
*
|
||||
*/
|
||||
/*
|
||||
$Id: why.cpp,v 1.77 2004-06-08 13:39:37 alexpeshkoff Exp $
|
||||
$Id: why.cpp,v 1.78 2004-09-24 15:48:20 hvlad Exp $
|
||||
*/
|
||||
|
||||
#include "firebird.h"
|
||||
@ -4274,7 +4274,8 @@ ISC_STATUS API_ROUTINE GDS_ROLLBACK(ISC_STATUS * user_status,
|
||||
if (sub->implementation != SUBSYSTEMS &&
|
||||
CALL(PROC_ROLLBACK, sub->implementation) (status, &sub->handle))
|
||||
{
|
||||
if (!is_network_error(status))
|
||||
if (!is_network_error(status) ||
|
||||
(transaction->flags & HANDLE_TRANSACTION_limbo) )
|
||||
return error(status, local);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user