@Override
                                    public void run() {
                                        final QueryProcessor processor = ((QueryResultsContainer) activeTab.getData()).queryProcessor;
                                        final List<CTabItem> tabs = new ArrayList<>();
                                        for (QueryResultsContainer container : processor.getResultContainers()) {
                                            if (!container.isPinned() && container.queryProcessor == processor) {
                                                tabs.add(container.getResultsTab());
                                            }
                                        }
                                        for (CTabItem tab : tabs) {
                                            tab.dispose();
                                        }
                                    }
Changes mode of showing result for script execution - multiple results per tab or one tab per result.
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java