Skip to content

Commit

Permalink
fix: do not remove session tx id if txMeta empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
polRk committed Feb 20, 2025
1 parent bc041c3 commit a63b425
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/query/query-session-execute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ export function execute(this: QuerySession, args: IExecuteArgs): Promise<IExecut

if (partialResp.txMeta?.id)
this[sessionTxIdSymbol] = partialResp.txMeta!.id;
else
delete this[sessionTxIdSymbol];

if (partialResp.resultSet) {

Expand Down

0 comments on commit a63b425

Please sign in to comment.