summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-12-27 01:21:37 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-12-27 01:21:37 +0000
commit4172b31763ca7bf32cfe39637d039913988322fd (patch)
treea5d682a1301697d23e3fa0e415b3fb04b228d034 /src/main/java
parentaf99f4bea0dc8eec0bb6f9190ac5d316bd9dcb68 (diff)
Fixed bug in JDBC repository which caused cursor skip to skip everything.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCCursor.java1
1 files changed, 1 insertions, 0 deletions
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();