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 3de4b226835 Remove useless codes on ShardingSpherePreparedStatement
(#31607)
3de4b226835 is described below
commit 3de4b226835292ed79de81b7abafd1120dd679f8
Author: Liang Zhang <[email protected]>
AuthorDate: Thu Jun 6 18:25:07 2024 +0800
Remove useless codes on ShardingSpherePreparedStatement (#31607)
---
.../driver/jdbc/core/statement/ShardingSpherePreparedStatement.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/jdbc/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
b/jdbc/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
index 925fe9ad667..b95b3343c82 100644
---
a/jdbc/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
+++
b/jdbc/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
@@ -127,7 +127,7 @@ public final class ShardingSpherePreparedStatement extends
AbstractPreparedState
}
public ShardingSpherePreparedStatement(final ShardingSphereConnection
connection, final String sql, final int autoGeneratedKeys) throws SQLException {
- this(connection, sql, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT,
Statement.RETURN_GENERATED_KEYS == autoGeneratedKeys, null);
+ this(connection, sql, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT,
RETURN_GENERATED_KEYS == autoGeneratedKeys, null);
}
public ShardingSpherePreparedStatement(final ShardingSphereConnection
connection, final String sql, final String[] columns) throws SQLException {