From 414757d5494687fce0a78cec7b20461b5157af7f Mon Sep 17 00:00:00 2001 From: Marco Vogt Date: Wed, 27 Mar 2024 16:32:36 +0100 Subject: [PATCH] Remove attribute --- .../src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java b/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java index 9e0ac1ba7e..e64fff26af 100644 --- a/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java +++ b/plugins/sql-language/src/main/java/org/polypheny/db/sql/SqlLanguagePlugin.java @@ -171,7 +171,6 @@ @Slf4j public class SqlLanguagePlugin extends PolyPlugin { - public static final String LIMIT = "limit"; @Getter @VisibleForTesting private static boolean isInit = false; @@ -223,7 +222,7 @@ public static void startup() { private static QueryContext removeLimit( QueryContext queryContext ) { String lowercase = queryContext.getQuery().toLowerCase(); - if ( !lowercase.contains( LIMIT ) ) { + if ( !lowercase.contains( "limit" ) ) { return queryContext; }