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. --- RELEASE-NOTES.txt | 4 ++++ src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java | 1 + 2 files changed, 5 insertions(+) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 6e71fbc..f520cf7 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,6 +1,10 @@ Carbonado change history ------------------------ +1.1-BETA8 to 1.1-BETA9 +------------------------------- +- Fixed bug in JDBC repository which caused cursor skip to skip everything. + 1.1-BETA7 to 1.1-BETA8 ------------------------------- - Removed call to get index metadata in JDBC repository. Oracle bug causes a 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