MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / do_rollback_twophase

Method do_rollback_twophase

lib/sqlalchemy/engine/interfaces.py:2172–2189  ·  view source on GitHub ↗

Rollback a two phase transaction on the given connection. :param connection: a :class:`_engine.Connection`. :param xid: xid :param is_prepared: whether or not :meth:`.TwoPhaseTransaction.prepare` was called. :param recover: if the recover flag was passed.

(
        self,
        connection: Connection,
        xid: Any,
        is_prepared: bool = True,
        recover: bool = False,
    )

Source from the content-addressed store, hash-verified

2170 raise NotImplementedError()
2171
2172 def do_rollback_twophase(
2173 self,
2174 connection: Connection,
2175 xid: Any,
2176 is_prepared: bool = True,
2177 recover: bool = False,
2178 ) -> None:
2179 """Rollback a two phase transaction on the given connection.
2180
2181 :param connection: a :class:`_engine.Connection`.
2182 :param xid: xid
2183 :param is_prepared: whether or not
2184 :meth:`.TwoPhaseTransaction.prepare` was called.
2185 :param recover: if the recover flag was passed.
2186
2187 """
2188
2189 raise NotImplementedError()
2190
2191 def do_commit_twophase(
2192 self,

Callers 3

rollback_preparedMethod · 0.45

Calls

no outgoing calls

Tested by 1