Commit ac6483e
authored
Minor GCS fix for 0-byte reads. (#5673)
Integration tests of copy exposed an edge case in which
`google::cloud::storage::ReadRange` returns an error if `offset + nbytes
== 0`. The function is expected to return `0` bytes-read in this case.
---
TYPE: BUG
DESC: 0-byte read `GCS` bug fix.
---
Fixes CORE-4131 parent 5e4f50f commit ac6483e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1339 | 1339 | | |
1340 | 1340 | | |
1341 | 1341 | | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
1342 | 1346 | | |
1343 | 1347 | | |
1344 | 1348 | | |
| |||
0 commit comments