From 4172b31763ca7bf32cfe39637d039913988322fd Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Wed, 27 Dec 2006 01:21:37 +0000 Subject: Fixed bug in JDBC repository which caused cursor skip to skip everything. --- src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/amazon/carbonado/repo/jdbc') 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 f0a3752..fc9430d 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java @@ -117,6 +117,7 @@ class JDBCCursor extends AbstractCursor { try { if (rs.next()) { actual++; + amount--; } else { mHasNext = false; close(); -- cgit v1.2.3