summaryrefslogtreecommitdiffstats
path: root/common/resultset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/resultset.cpp')
-rw-r--r--common/resultset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/resultset.cpp b/common/resultset.cpp
index 9883f44..b82b14d 100644
--- a/common/resultset.cpp
+++ b/common/resultset.cpp
@@ -98,7 +98,7 @@ void ResultSet::skip(int number)
98 } 98 }
99} 99}
100 100
101qint64 ResultSet::replaySet(int offset, int batchSize, const Callback &callback) 101ResultSet::ReplayResult ResultSet::replaySet(int offset, int batchSize, const Callback &callback)
102{ 102{
103 skip(offset); 103 skip(offset);
104 int counter = 0; 104 int counter = 0;
@@ -108,10 +108,10 @@ qint64 ResultSet::replaySet(int offset, int batchSize, const Callback &callback)
108 callback(result); 108 callback(result);
109 }); 109 });
110 if (!ret) { 110 if (!ret) {
111 break; 111 return {counter, true};
112 } 112 }
113 }; 113 };
114 return counter; 114 return {counter, false};
115} 115}
116 116
117QByteArray ResultSet::id() 117QByteArray ResultSet::id()