From e420a771d744abb828d7553f3c23d607c5c94b8f Mon Sep 17 00:00:00 2001 From: Serge Rider Date: Sun, 29 Dec 2024 14:13:41 +0100 Subject: [PATCH] dbeaver/pro#3911 AI and SQL control commands --- .../src/io/cloudbeaver/service/sql/WebSQLProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/WebSQLProcessor.java b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/WebSQLProcessor.java index 9c5290b879..22ad661cf5 100644 --- a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/WebSQLProcessor.java +++ b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/WebSQLProcessor.java @@ -200,7 +200,7 @@ public WebSQLExecuteInfo processQuery( SQLScriptElement element = SQLScriptParser.extractActiveQuery(parserContext, 0, sql.length()); if (element instanceof SQLControlCommand command) { - dataContainer.getScriptContext().executeControlCommand(command); + dataContainer.getScriptContext().executeControlCommand(webSession.getProgressMonitor(), command); WebSQLQueryResults stats = new WebSQLQueryResults(webSession, dataFormat); executeInfo.setResults(new WebSQLQueryResults[]{stats}); } else if (element instanceof SQLQuery sqlQuery) {