Skip to content

Commit

Permalink
bug fixed for proxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Jul 13, 2017
1 parent 586d5c2 commit 4a88007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void setParameter(int jdbcIndex, JdbcParameter parameter) {
if (parametersSize >= parameters.length) {
int oldCapacity = parameters.length;
int newCapacity = oldCapacity + (oldCapacity >> 1);
if (newCapacity == 0) {
if (newCapacity <= 4) {
newCapacity = 4;
}

Expand Down

0 comments on commit 4a88007

Please sign in to comment.