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.
1 parent 49e622e commit 67faec4Copy full SHA for 67faec4
ydb/query/base.py
@@ -187,8 +187,9 @@ def wrap_execute_query_response(
187
settings: Optional[QueryClientSettings] = None,
188
) -> convert.ResultSet:
189
issues._process_response(response_pb)
190
- if tx and response_pb.tx_meta and not tx.tx_id:
191
- tx._move_to_beginned(response_pb.tx_meta.id)
192
if tx and commit_tx:
193
tx._move_to_commited()
+ elif tx and response_pb.tx_meta and not tx.tx_id:
+ tx._move_to_beginned(response_pb.tx_meta.id)
194
+
195
return convert.ResultSet.from_message(response_pb.result_set, settings)
0 commit comments