You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4
Original file line number
Diff line number
Diff line change
@@ -419,10 +419,9 @@ Version 1.0 of the driver recommended adding `&charset=utf8` (alias for `SET NAM
419
419
See http://dev.mysql.com/doc/refman/5.7/en/charset-unicode.html for more details on MySQL's Unicode support.
420
420
421
421
## Context Support
422
-
Since go1.8, context is introduced to `database/sql` for better control on timeout and cancellation.
423
-
New interfaces such as `driver.QueryerContext`, `driver.ExecerContext` are introduced. See more details on [context support to database/sql package](https://golang.org/doc/go1.8#database_sql,"sql").
424
-
425
-
In Go-MySQL-Driver, we implemented these interfaces for structs `mysqlConn`, `mysqlStmt` and `mysqlTx`.
422
+
Go 1.8 added some `database/sql` methods that accept a `context.Context` parameter for better control over timeout and cancellation.
423
+
See more details on [context support to database/sql package](https://golang.org/doc/go1.8#database_sql,"sql").
424
+
Go-MySQL-Driver supports context deadlines, but not cancellation.
426
425
427
426
## Testing / Development
428
427
To run the driver tests you may need to adjust the configuration. See the [Testing Wiki-Page](https://github.com/go-sql-driver/mysql/wiki/Testing"Testing") for details.
0 commit comments