Skip to content
Permalink
Browse files

Added break statement to avoid the additional iterations in for loop (#…

…1406)

This has resulted in avoiding the hang issue identified in issue # 1403
  • Loading branch information...
jajalvipul authored and davecramer committed Feb 4, 2019
1 parent 2341623 commit 6b13f7b7af95bd86b0763f8e73395e4d7eebc410
Showing with 1 addition and 0 deletions.
  1. +1 −0 pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java
@@ -882,6 +882,7 @@ public Void call() throws Exception {
e.getSQLState()
);
cancels++;
break;
} finally {
TestUtil.closeQuietly(st);
}

0 comments on commit 6b13f7b

Please sign in to comment.
You can’t perform that action at this time.