You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2025/11/18 12:05:37 UTC

(empire-db) 01/03: remove first check

This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git

commit e19c3bc5b564148db835bd3b90acc4307e7fe98b
Author: Sascha <ge...@esteam.de>
AuthorDate: Wed Nov 12 16:09:18 2025 +0100

    remove first check
---
 empire-db/src/main/java/org/apache/empire/db/DBUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/empire-db/src/main/java/org/apache/empire/db/DBUtils.java b/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
index 1949451c..9f2026a9 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
@@ -896,7 +896,7 @@ public class DBUtils implements DBContextAware
             DBMSHandler dbms = context.getDbms();
             if (pageSize>0 && pageSize<Integer.MAX_VALUE && dbms.isSupported(DBMSFeature.QUERY_LIMIT_ROWS))
             {   // let the database limit the rows
-                if (first>0 && dbms.isSupported(DBMSFeature.QUERY_SKIP_ROWS))
+                if (dbms.isSupported(DBMSFeature.QUERY_SKIP_ROWS))
                 {   // let the database skip the rows
                     cmd.skipRows(first);
                     // no need to skip rows ourself