You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2025/05/24 08:44:59 UTC
(shardingsphere) branch master updated: Remove unused constructor from SQLStatementBinderContext (#35501)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new a7ff98177ce Remove unused constructor from SQLStatementBinderContext (#35501)
a7ff98177ce is described below
commit a7ff98177ce72be928121840a1ba0b2028e34757
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat May 24 16:44:30 2025 +0800
Remove unused constructor from SQLStatementBinderContext (#35501)
- Removed the unused constructor that took SQLStatement as a parameter
- This change simplifies the class structure and removes unnecessary code
---
.../infra/binder/engine/statement/SQLStatementBinderContext.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/statement/SQLStatementBinderContext.java b/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/statement/SQLStatementBinderContext.java
index 25a4a41f63c..409d94e486c 100644
--- a/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/statement/SQLStatementBinderContext.java
+++ b/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/statement/SQLStatementBinderContext.java
@@ -59,8 +59,4 @@ public final class SQLStatementBinderContext {
private final Multimap<CaseInsensitiveString, TableSegmentBinderContext> externalTableBinderContexts = LinkedHashMultimap.create();
private final Collection<String> pivotColumnNames = new CaseInsensitiveSet<>();
-
- public SQLStatementBinderContext(final ShardingSphereMetaData metaData, final String currentDatabaseName, final HintValueContext hintValueContext, final SQLStatement sqlStatement) {
- this(metaData, currentDatabaseName, hintValueContext, sqlStatement.getDatabaseType(), sqlStatement);
- }
}