aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2017-11-14 14:54:10 -0500
committerRuss Cox <rsc@golang.org>2017-11-15 21:27:42 +0000
commite671a552fe9ba75a04b65fe689d004dc64b87975 (patch)
tree16b628f16afe47c56e00aa21d2c95def3c9bfa98 /src/database/sql
parent894869e1508d3b6a8e6bbbdbb7603cdd77d23162 (diff)
downloadgo-e671a552fe9ba75a04b65fe689d004dc64b87975.tar.xz
io: document and test MultiWriter error behavior
MultiWriter(w1, w2) only writes to w2 if w1.Write succeeds. I did not know this, and it was not documented. Document and test. Change-Id: Idec2e8444d5a7aca0b95d07814a28daa454eb1d3 Reviewed-on: https://go-review.googlesource.com/78123 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions