From b9165d9262e054c2e9521ed72a0aba77fd7ae9f9 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 12 Aug 2008 18:09:17 +0000 Subject: Fixed bug in JDBCCursor.skipNext which may loop infinitely. --- src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java') diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java index 585b29a..eed142a 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java @@ -135,6 +135,8 @@ class JDBCCursor extends AbstractCursor { actual++; amount--; mHasNext = false; + } else { + break; } } -- cgit v1.2.3