mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for proxy.
This commit is contained in:
@@ -110,7 +110,7 @@ public class PreparedStatementProxyImpl extends StatementProxyImpl implements Pr
|
||||
if (parametersSize >= parameters.length) {
|
||||
int oldCapacity = parameters.length;
|
||||
int newCapacity = oldCapacity + (oldCapacity >> 1);
|
||||
if (newCapacity == 0) {
|
||||
if (newCapacity <= 4) {
|
||||
newCapacity = 4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user