Skip to content

Commit

Permalink
dbeaver/pro#3911 AI and SQL control commands
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rider committed Dec 29, 2024
1 parent 3bcbf34 commit e420a77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e420a77

Please sign in to comment.