From d894010d791935f5b9762319319da66854973be3 Mon Sep 17 00:00:00 2001 From: Ainur Date: Thu, 18 Apr 2024 13:29:28 +0200 Subject: [PATCH] CB-4270 cancel row count job fix --- .../src/io/cloudbeaver/service/sql/impl/WebServiceSQL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/impl/WebServiceSQL.java b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/impl/WebServiceSQL.java index d6760fb16c..6658935c90 100644 --- a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/impl/WebServiceSQL.java +++ b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/impl/WebServiceSQL.java @@ -557,7 +557,7 @@ public void run(DBRProgressMonitor monitor) throws InvocationTargetException, In try { monitor.beginTask("Get row data count", 1); WebSQLResultsInfo results = contextInfo.getResults(resultsId); - long rowCount = DBUtils.readRowCount(webSession.getProgressMonitor(), contextInfo.getProcessor().getExecutionContext(), results.getDataContainer(), null, this); + long rowCount = DBUtils.readRowCount(monitor, contextInfo.getProcessor().getExecutionContext(), results.getDataContainer(), null, this); this.result = "Row data count completed"; this.extendedResults = rowCount; } catch (Throwable e) {