1
0
mirror of https://github.com/golang/go synced 2024-11-26 07:07:57 -07:00
go/src/database/sql
Alan Donovan bf91eb3a8b std: fix calls to Printf(s) with non-constant s
In all cases the intent was not to interpret s as a format string.
In one case (go/types), this was a latent bug in production.
(These were uncovered by a new check in vet's printf analyzer.)

Updates #60529

Change-Id: I3e17af7e589be9aec1580783a1b1011c52ec494b
Reviewed-on: https://go-review.googlesource.com/c/go/+/587855
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2024-05-23 18:42:28 +00:00
..
driver database/sql: wrap errors with %w in driverArgsConnLocked 2024-02-27 16:30:20 +00:00
badlinkname.go all: document legacy //go:linkname for modules with ≥500 dependents 2024-05-23 01:16:53 +00:00
convert_test.go database/sql: avoid clobbering driver-owned memory in RawBytes 2024-04-10 20:23:22 +00:00
convert.go database/sql: avoid clobbering driver-owned memory in RawBytes 2024-04-10 20:23:22 +00:00
ctxutil.go
doc.txt database/sql: fix typo in comment 2024-03-22 06:48:08 +00:00
example_cli_test.go all: fix some lint issues 2022-05-08 17:27:54 +00:00
example_service_test.go database/sql: add error check 2024-02-28 20:21:26 +00:00
example_test.go
fakedb_test.go database/sql: use slices to simplify the code 2024-04-01 12:38:07 +00:00
sql_test.go std: fix calls to Printf(s) with non-constant s 2024-05-23 18:42:28 +00:00
sql.go all: document legacy //go:linkname for modules with ≥500 dependents 2024-05-23 01:16:53 +00:00