fix(oracle): reuse shared pool for data tabs
This commit is contained in:
1 parent
4382736c02
commit
d1684bc4d4
3 files changed
+6
-4
No files matched your search
@@ -1988,7 +1988,9 @@ export const useQueryStore = defineStore("query", () => {
|
||||
executionPromise = api.executeInManualTransaction(tab.txnSessionId, sqlToExecute, tab.database, executionSchema, pageLimit);
|
||||
} else {
|
||||
console.info("[DBX][executeTabSql:execute-multi:start]", { traceId, elapsed: elapsed() });
|
||||
const clientSessionId = tab.mode === "query" || tab.mode === "data" ? tabClientSessionId(tab) : undefined;
|
||||
// Data tabs should reuse the already-open pool; session pools are reserved
|
||||
// for query tabs/background tasks that need connection-local state isolation.
|
||||
const clientSessionId = tab.mode === "query" ? tabClientSessionId(tab) : undefined;
|
||||
const executionOptions = {
|
||||
...(typeof pageLimit === "number"
|
||||
? useAgentResultSession
|
||||
|
||||
Reference in new issue
Block a user