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
* Add supports to context.Context
* add authors related context.Context support
* fix comment of mysqlContext.
- s/from/for/
- and start the comment with a space please
* closed is now just bool flag.
* drop read-only transactions support
* remove unused methods from mysqlContext interface.
* moved checking canceled logic into method of connection.
* add a section about context.Context to the README.
* use atomic variable for closed.
* short circuit for context.Background()
* fix illegal watching state
* set rows.finish directly.
* move namedValueToValue to utils_go18.go
* move static interface implementation checks to the top of the file
* add the new section about `context.Context` to the table of contents, and fix the section.
* mark unsupported features with TODO comments
* rename watcher to starter.
* use mc.error() instead of duplicated logics.
@@ -443,6 +444,9 @@ Version 1.0 of the driver recommended adding `&charset=utf8` (alias for `SET NAM
443
444
444
445
See http://dev.mysql.com/doc/refman/5.7/en/charset-unicode.html for more details on MySQL's Unicode support.
445
446
447
+
## `context.Context` Support
448
+
Go 1.8 added `database/sql` support for `context.Context`. This driver supports query timeouts and cancellation via contexts.
449
+
See [context support in the database/sql package](https://golang.org/doc/go1.8#database_sql) for more details.
446
450
447
451
## Testing / Development
448
452
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