feat(transactions): add manual transactions to more execution paths
This commit is contained in:
1 parent
88ba58a79c
commit
a924285136
38 files changed
+2471
-146
No files matched your search
@@ -1417,6 +1417,11 @@ export const useQueryStore = defineStore("query", () => {
|
||||
txnSessionId: undefined,
|
||||
txnAutoRolledBack: undefined,
|
||||
});
|
||||
// Workers must not inherit result navigation or write targets from the
|
||||
// source editor, including when a dedicated transaction supplies results.
|
||||
clearResultPayload(worker);
|
||||
clearResultNavigationState(worker);
|
||||
worker.resultBaseSql = undefined;
|
||||
multiDbExecutionWorkers.set(id, worker);
|
||||
const workers = multiDbExecutionWorkerScopes.get(scopeId) ?? new Set<string>();
|
||||
workers.add(id);
|
||||
|
||||
Reference in new issue
Block a user