fix(query): reload connection config before execute
This commit is contained in:
1 parent
e725dd0379
commit
30a48a878c
3 files changed
+40
-10
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user