]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
Revert "database/sql: allow drivers to override Scan behavior"
authorAustin Clements <austin@google.com>
Thu, 11 Dec 2025 18:55:33 +0000 (13:55 -0500)
committerAustin Clements <austin@google.com>
Thu, 11 Dec 2025 19:57:52 +0000 (11:57 -0800)
commitae62a1bd365fca4c41d8b29d62cca240ab45b212
treedb12680ce12e2f7efd5a05bc032a9e96f8e8d23c
parent89614ad264803558cfa36d460d431f7cbd4bae47
Revert "database/sql: allow drivers to override Scan behavior"

This reverts CL 588435.

This new API is difficult to use correctly, and in many cases cannot
be used efficiently. We're going to work on this problem a bit more.

The release notes are removed by CL 729340, since they were moved to
the x/website repository since the original CL was made.

Reopens #67546.

Change-Id: I2a2bd25f2fce5f02e4d28cd33a9cc651bf35ab50
Reviewed-on: https://go-review.googlesource.com/c/go/+/729360
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
api/go1.26.txt
src/database/sql/driver/driver.go
src/database/sql/sql.go
src/database/sql/sql_test.go