diff options
author | Daniel Theophanes <kardianos@gmail.com> | 2017-01-28 07:36:09 -0800 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-01-29 00:49:56 +0000 |
commit | 6bdb0c11c73ecf2337918d784c54f9dda2207ca7 (patch) | |
tree | 975a996d0e04529b0b2c29408bf7f67689a276f7 | |
parent | 09096bd3eb59af83796066f517301bb51ad25d4e (diff) | |
download | go-6bdb0c11c73ecf2337918d784c54f9dda2207ca7.tar.gz go-6bdb0c11c73ecf2337918d784c54f9dda2207ca7.zip |
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 <bradfitz@golang.org>
-rw-r--r-- | doc/go1.8.html | 7 |
1 files changed, 4 insertions, 3 deletions
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) <p> The <a href="/pkg/database/sql#IsolationLevel"><code>IsolationLevel</code></a> can now be set when starting a transaction by setting the isolation level - on the <code>Context</code> then passing that <code>Context</code> to - <a href="/pkg/database/sql#DB.BeginContext"><code>DB.BeginContext</code></a>. + on <a href="/pkg/database/sql#TxOptions.Isolation"><code>TxOptions.Isolation</code></a> and passing + it to <a href="/pkg/database/sql#DB.BeginTx"><code>DB.BeginTx</code></a>. 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 <a href="/pkg/database/sql/#ReadOnlyContext"><code>ReadOnlyContext</code></a>. + by setting <a href="/pkg/database/sql/#TxOptions.ReadOnly"><code>TxOptions.ReadOnly</code></a> + to true. </p> <p> Queries now expose the SQL column type information for drivers that support it. |