diff options
| author | Daniel Theophanes <kardianos@gmail.com> | 2016-12-08 13:07:35 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-12-09 03:15:22 +0000 |
| commit | e12ce1e4005fcefd7a3537c433e6a60044160086 (patch) | |
| tree | 5bd3e8d607daa5e168447d3714a1f363316722a2 /src/database/sql/sql.go | |
| parent | 9ad47c4f67d592c768435f0c04a6d61ebee8c06f (diff) | |
| download | go-e12ce1e4005fcefd7a3537c433e6a60044160086.tar.xz | |
database/sql: document that drivers may not return right after cancel
Fixes #18168
Change-Id: Idbfe3d4daedd93c7caf6f1770ecd988e9af39949
Reviewed-on: https://go-review.googlesource.com/34144
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
| -rw-r--r-- | src/database/sql/sql.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 3d957e1450..1cc1687604 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go @@ -8,7 +8,10 @@ // The sql package must be used in conjunction with a database driver. // See https://golang.org/s/sqldrivers for a list of drivers. // -// For more usage examples, see the wiki page at +// Drivers that do not support context cancelation will not return until +// after the query is completed. +// +// For usage examples, see the wiki page at // https://golang.org/s/sqlwiki. package sql |
