summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RELEASE-NOTES.txt4
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java2
2 files changed, 6 insertions, 0 deletions
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index fa88ff1..cfe55e4 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -49,6 +49,10 @@ Carbonado change history
- Added listener callback for replicated repository resync.
- Added support for BigInteger property type.
+1.1.3 to 1.1.4
+-------------------------------
+- Fixed bug in JDBCCursor.skipNext which may loop infinitely.
+
1.1.2 to 1.1.3
-------------------------------
- Reduce creation of unnecessary nested transactions.
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<S extends Storable> extends AbstractCursor<S> {
actual++;
amount--;
mHasNext = false;
+ } else {
+ break;
}
}