From 4fda54ce3f6761104e835fc4e7847f89e34b7d6d Mon Sep 17 00:00:00 2001 From: sryoya Date: Sun, 16 May 2021 23:36:05 +0900 Subject: [PATCH] doc/go1.17: document database/sql changes for Go 1.17 For #44513 Fixes #46008 Change-Id: If80d484f73a0eb6946abdc654eb2c0d3dd6db416 Reviewed-on: https://go-review.googlesource.com/c/go/+/320251 Reviewed-by: Heschi Kreinick Trust: Robert Findley --- doc/go1.17.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/go1.17.html b/doc/go1.17.html index 4561b6ccf5..3534f7be04 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -320,11 +320,19 @@ Do not send CLs removing the interior tags from such phrases.
database/sql

- TODO: https://golang.org/cl/258360: close driver.Connector if it implements io.Closer + The DB.Close method now closes + the connector field if the type in this field implements the + io.Closer interface.

- TODO: https://golang.org/cl/311572: add NullInt16 and NullByte + The new + NullInt16 + and + NullByte + structs represent the int16 and byte values that may be null. These can be used as + destinations of the Scan method, + similar to NullString.

-- 2.50.0