]> Cypherpunks repositories - gostls13.git/commitdiff
database/sql: document that drivers may not return right after cancel
authorDaniel Theophanes <kardianos@gmail.com>
Thu, 8 Dec 2016 21:07:35 +0000 (13:07 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 9 Dec 2016 03:15:22 +0000 (03:15 +0000)
Fixes #18168

Change-Id: Idbfe3d4daedd93c7caf6f1770ecd988e9af39949
Reviewed-on: https://go-review.googlesource.com/34144
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/database/sql/sql.go

index 3d957e1450cf40c88a1ba4554d19cdd7c125c64c..1cc1687604cd2da6e0dd511d1c6fddaba1a36ef9 100644 (file)
@@ -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