diff options
author | cui fliter <imcusg@gmail.com> | 2023-11-18 13:51:35 +0800 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-11-27 15:48:25 +0000 |
commit | 0d018b49e33b1383dc0ae5cc968e800dffeeaf7d (patch) | |
tree | 554814c7ccb8a3a8be801e10f6a63827c22f182a /src/database | |
parent | 0c7e5d3b8db6668d6bdb16410d59c0ae4133400a (diff) | |
download | go-0d018b49e33b1383dc0ae5cc968e800dffeeaf7d.tar.gz go-0d018b49e33b1383dc0ae5cc968e800dffeeaf7d.zip |
all: fix field names
Change-Id: I3ad7a50707486ebdbbd676b3581df6e3ed0fd3a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/543476
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/sql/sql.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 44b202192a..4f1197dc6e 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go @@ -1979,9 +1979,9 @@ type Conn struct { // Once done, all operations fail with ErrConnDone. done atomic.Bool - // releaseConn is a cache of c.closemuRUnlockCondReleaseConn + releaseConnOnce sync.Once + // releaseConnCache is a cache of c.closemuRUnlockCondReleaseConn // to save allocations in a call to grabConn. - releaseConnOnce sync.Once releaseConnCache releaseConn } |