bug fixed for proxy.

This commit is contained in:
wenshao
2017-07-13 11:20:04 +08:00
parent 586d5c2211
commit 4a88007ea2
@@ -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;
}