aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
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
parent2e78f2afdb6714f2eb902d16039f4c475c2282f3 (diff)
downloadgo-8fc25b531bf5261ef7760bab581d10718fa7a417.tar.xz
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')
-rw-r--r--src/database/sql/fakedb_test.go2
-rw-r--r--src/database/sql/sql.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/database/sql/fakedb_test.go b/src/database/sql/fakedb_test.go
index abb8d40fc0..fd093f77e1 100644
--- a/src/database/sql/fakedb_test.go
+++ b/src/database/sql/fakedb_test.go
@@ -1003,7 +1003,7 @@ type rowsCursor struct {
err error
// a clone of slices to give out to clients, indexed by the
- // the original slice's first byte address. we clone them
+ // original slice's first byte address. we clone them
// just so we're able to corrupt them on close.
bytesClone map[*byte][]byte
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.