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/27 16:09:06 UTC

(shardingsphere) branch master updated: Remove useless SQLBindEngine.bind() (#35538)

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 407c61ffe3e Remove useless SQLBindEngine.bind() (#35538)
407c61ffe3e is described below

commit 407c61ffe3e58e5ab18d3d61bfc1e1304ddcbb60
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed May 28 00:09:00 2025 +0800

    Remove useless SQLBindEngine.bind() (#35538)
---
 .../shardingsphere/infra/binder/engine/SQLBindEngine.java     | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/SQLBindEngine.java b/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/SQLBindEngine.java
index 862f0891b4f..ca14a10a5f7 100644
--- a/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/SQLBindEngine.java
+++ b/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/engine/SQLBindEngine.java
@@ -48,17 +48,6 @@ public final class SQLBindEngine {
     
     private final HintValueContext hintValueContext;
     
-    /**
-     * Bind SQL statement.
-     *
-     * @param sqlStatement SQL statement
-     * @param params parameters
-     * @return SQL statement context
-     */
-    public SQLStatementContext bind(final SQLStatement sqlStatement, final List<Object> params) {
-        return bind(sqlStatement.getDatabaseType(), sqlStatement, params);
-    }
-    
     /**
      * Bind SQL statement.
      *