mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
jdbc 3.0 compatible
This commit is contained in:
@@ -57,7 +57,7 @@ public class PreparedStatementPool {
|
||||
public void put(PreparedStatementHolder holder) throws SQLException {
|
||||
PreparedStatement stmt = holder.getStatement();
|
||||
|
||||
if (stmt.isClosed()) {
|
||||
if (stmt == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user