We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e3369b + 83a4b48 commit 5b74217Copy full SHA for 5b74217
ydb/query/transaction.py
@@ -283,7 +283,7 @@ def _execute_call(
283
)
284
285
def _move_to_beginned(self, tx_id: str) -> None:
286
- if self._tx_state._already_in(QueryTxStateEnum.BEGINED):
+ if self._tx_state._already_in(QueryTxStateEnum.BEGINED) or not tx_id:
287
return
288
self._tx_state._change_state(QueryTxStateEnum.BEGINED)
289
self._tx_state.tx_id = tx_id
0 commit comments