summaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorRyuma Yoshida <ryuma.y1117@gmail.com>2018-02-20 15:10:49 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-02-20 16:45:55 +0000
commit8fc25b531bf5261ef7760bab581d10718fa7a417 (patch)
treed840e7473e85399d0606618c91dfd946117d3729 /src/database/sql/sql.go
parent2e78f2afdb6714f2eb902d16039f4c475c2282f3 (diff)
downloadgo-git-8fc25b531bf5261ef7760bab581d10718fa7a417.tar.gz
all: remove duplicate word "the"
Change-Id: Ia5908e94a6bd362099ca3c63f6ffb7e94457131d GitHub-Last-Rev: 545a40571a912f433546d8c94a9d63459313515d GitHub-Pull-Request: golang/go#23942 Reviewed-on: https://go-review.googlesource.com/95435 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
-rw-r--r--src/database/sql/sql.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go
index 5d62eb2b53..5956d6ad46 100644
--- a/src/database/sql/sql.go
+++ b/src/database/sql/sql.go
@@ -2310,7 +2310,7 @@ func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *dr
}
// In a transaction or connection, we always use the connection that the
- // the stmt was created on.
+ // stmt was created on.
if s.cg != nil {
s.mu.Unlock()
dc, releaseConn, err = s.cg.grabConn(ctx) // blocks, waiting for the connection.