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 92d5fdc0b93 Remove useless DriverExecuteUpdateExecutor.connection
(#35835)
92d5fdc0b93 is described below
commit 92d5fdc0b93f8f635980b3a127fad670bee23b31
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Jun 29 16:04:04 2025 +0800
Remove useless DriverExecuteUpdateExecutor.connection (#35835)
---
.../driver/executor/engine/DriverExecuteUpdateExecutor.java | 3 ---
1 file changed, 3 deletions(-)
diff --git
a/jdbc/src/main/java/org/apache/shardingsphere/driver/executor/engine/DriverExecuteUpdateExecutor.java
b/jdbc/src/main/java/org/apache/shardingsphere/driver/executor/engine/DriverExecuteUpdateExecutor.java
index 87b2ed99543..24e39b1ba39 100644
---
a/jdbc/src/main/java/org/apache/shardingsphere/driver/executor/engine/DriverExecuteUpdateExecutor.java
+++
b/jdbc/src/main/java/org/apache/shardingsphere/driver/executor/engine/DriverExecuteUpdateExecutor.java
@@ -44,8 +44,6 @@ import java.sql.SQLException;
@RequiredArgsConstructor
public final class DriverExecuteUpdateExecutor {
- private final ShardingSphereConnection connection;
-
private final ShardingSphereMetaData metaData;
private final DriverJDBCPushDownExecuteUpdateExecutor jdbcPushDownExecutor;
@@ -53,7 +51,6 @@ public final class DriverExecuteUpdateExecutor {
private final DriverRawPushDownExecuteUpdateExecutor rawPushDownExecutor;
public DriverExecuteUpdateExecutor(final ShardingSphereConnection
connection, final ShardingSphereMetaData metaData, final JDBCExecutor
jdbcExecutor, final RawExecutor rawExecutor) {
- this.connection = connection;
this.metaData = metaData;
jdbcPushDownExecutor = new
DriverJDBCPushDownExecuteUpdateExecutor(connection, metaData, jdbcExecutor);
rawPushDownExecutor = new
DriverRawPushDownExecuteUpdateExecutor(connection, metaData, rawExecutor);