Skip to content

Commit be1a15b

Browse files
chore: generate libraries at Mon Jan 6 17:00:47 UTC 2025
1 parent 1823e70 commit be1a15b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -470,19 +470,19 @@ public void run() {
470470
// Those result sets will trigger initiateProduceRows() when the first results are received.
471471
// Non-streaming result sets do not trigger this callback, and for those result sets, we
472472
// need to eagerly start the ProduceRowsRunnable.
473-
// synchronized (monitor) {
474-
// if (state == State.STREAMING_IN_PROGRESS
475-
// || state == State.RUNNING
476-
// || state == State.CONSUMING) {
477-
// return;
478-
// }
479-
// if (state == State.STREAMING_INITIALIZED) {
480-
// state = State.STREAMING_IN_PROGRESS;
481-
// }
482-
if (!initiateStreaming(AsyncResultSetImpl.this)) {
483-
initiateProduceRows();
484-
}
485-
// }
473+
// synchronized (monitor) {
474+
// if (state == State.STREAMING_IN_PROGRESS
475+
// || state == State.RUNNING
476+
// || state == State.CONSUMING) {
477+
// return;
478+
// }
479+
// if (state == State.STREAMING_INITIALIZED) {
480+
// state = State.STREAMING_IN_PROGRESS;
481+
// }
482+
if (!initiateStreaming(AsyncResultSetImpl.this)) {
483+
initiateProduceRows();
484+
}
485+
// }
486486
} catch (Throwable exception) {
487487
executionException = SpannerExceptionFactory.asSpannerException(exception);
488488
initiateProduceRows();

0 commit comments

Comments
 (0)