summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RELEASE-NOTES.txt4
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java1
2 files changed, 5 insertions, 0 deletions
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<S extends Storable> extends AbstractCursor<S> {
try {
if (rs.next()) {
actual++;
+ amount--;
} else {
mHasNext = false;
close();