Skip to content

Commit a63b425

Browse files
committed
fix: do not remove session tx id if txMeta empty.
1 parent bc041c3 commit a63b425

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/query/query-session-execute.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ export function execute(this: QuerySession, args: IExecuteArgs): Promise<IExecut
200200

201201
if (partialResp.txMeta?.id)
202202
this[sessionTxIdSymbol] = partialResp.txMeta!.id;
203-
else
204-
delete this[sessionTxIdSymbol];
205203

206204
if (partialResp.resultSet) {
207205

0 commit comments

Comments
 (0)