From: Daniel Theophanes Date: Thu, 8 Dec 2016 21:07:35 +0000 (-0800) Subject: database/sql: document that drivers may not return right after cancel X-Git-Tag: go1.8beta2~57 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e12ce1e4005fcefd7a3537c433e6a60044160086;p=gostls13.git 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 --- 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