Skip to content

Commit ba27bfa

Browse files
fix
1 parent c55b26a commit ba27bfa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/AsyncResultSetImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,14 @@ public void run() {
479479
// if (state == State.STREAMING_INITIALIZED) {
480480
// state = State.STREAMING_IN_PROGRESS;
481481
// }
482+
System.out.println("InitiateStreamingRunnable");
482483
if (!initiateStreaming(AsyncResultSetImpl.this)) {
484+
System.out.println("Inside if initiateProduceRows");
483485
initiateProduceRows();
484486
}
485487
// }
486488
} catch (Throwable exception) {
489+
System.out.println("exception initiateProduceRows");
487490
executionException = SpannerExceptionFactory.asSpannerException(exception);
488491
initiateProduceRows();
489492
}
@@ -652,6 +655,7 @@ public Struct getCurrentRowAsStruct() {
652655

653656
@Override
654657
public void onStreamMessage(PartialResultSet partialResultSet, boolean bufferIsFull) {
658+
System.out.println("onStreamMessage");
655659
synchronized (monitor) {
656660
if (produceRowsInitiated) {
657661
return;

0 commit comments

Comments
 (0)