fix(query): reload connection config before execute

This commit is contained in:
t8y2 committed 2026-05-28 18:54:51 +08:00
1 parent e725dd0379
commit 30a48a878c
3 files changed
+40 -10

No files matched your search

+1
View File
@@ -558,6 +558,7 @@ export const useQueryStore = defineStore("query", () => {
let useAgentResultSession = false;
try {
const connStore = useConnectionStore();
await connStore.ensureConnected(tab.connectionId);
const conn = connStore.getConfig(tab.connectionId);
const useAgentCursor = !!conn?.db_type && AGENT_DRIVER_TYPES.has(conn.db_type);
const queryTimeoutSecs =