-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(spanner): add Options save/restore to PartialResultSetSource
Save the options in force during `PartialResultSetSource` construction, and then restore them over `PartialResultSetReader` calls. This means that `NextRow()`, `Finish()` and `TryCancel()` will have the right options installed during any RPCs they execute. Tighten up the test by installing a non-matching `OptionsSpan` before any `NextRow()` calls are made, and by expecting no `TryCancel()`s in cases that complete their enumeration. This is the Spanner equivalent of #8256.
- Loading branch information
Showing
4 changed files
with
375 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.