From: Daniel Theophanes Date: Sat, 28 Jan 2017 15:36:09 +0000 (-0800) Subject: doc: update go1.8 release notes after TxOptions change X-Git-Tag: go1.8~22^2~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6bdb0c11c73ecf2337918d784c54f9dda2207ca7;p=gostls13.git doc: update go1.8 release notes after TxOptions change Missed the release notes when updating the sql API. Fixes #18825 Change-Id: I89056d46939ad4fc99590f3434d2881f5764e1b6 Reviewed-on: https://go-review.googlesource.com/35915 Reviewed-by: Brad Fitzpatrick --- diff --git a/doc/go1.8.html b/doc/go1.8.html index bc40378a6a..af56ae6b3a 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -859,11 +859,12 @@ crypto/x509: return error for missing SerialNumber (CL 27238)

The IsolationLevel can now be set when starting a transaction by setting the isolation level - on the Context then passing that Context to - DB.BeginContext. + on TxOptions.Isolation and passing + it to DB.BeginTx. An error will be returned if an isolation level is selected that the driver does not support. A read-only attribute may also be set on the transaction - with ReadOnlyContext. + by setting TxOptions.ReadOnly + to true.

Queries now expose the SQL column type information for drivers that support it.