We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a461c39 commit 13541b1Copy full SHA for 13541b1
google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/MergedResultSet.java
@@ -210,7 +210,9 @@ boolean nextRow() throws Throwable {
210
PartitionExecutorResult next;
211
if ((next = queue.peek()) != null && !next.isFinished()) {
212
// There's a valid result available. Return this quickly.
213
- return setNextRow(queue.remove());
+ if (setNextRow(queue.remove())) {
214
+ return true;
215
+ }
216
}
217
// Block until the next row is available.
218
next = queue.take();
@@ -220,7 +222,9 @@ boolean nextRow() throws Throwable {
220
222
return false;
221
223
224
} else {
- return setNextRow(next);
225
+ if (setNextRow(next)) {
226
227
228
229
230
0 commit comments