From f999e14f025b69516dd3e126d04dd309adb2fce0 Mon Sep 17 00:00:00 2001 From: Robert Hencke Date: Tue, 29 Apr 2014 12:44:40 -0400 Subject: all: spelling tweaks, A-G LGTM=ruiu, bradfitz R=golang-codereviews, bradfitz, ruiu CC=golang-codereviews https://golang.org/cl/91840044 --- src/pkg/database/sql/sql.go | 4 ++-- src/pkg/database/sql/sql_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pkg/database/sql') diff --git a/src/pkg/database/sql/sql.go b/src/pkg/database/sql/sql.go index e891d4f4c4..4874574c30 100644 --- a/src/pkg/database/sql/sql.go +++ b/src/pkg/database/sql/sql.go @@ -405,7 +405,7 @@ func (db *DB) removeDepLocked(x finalCloser, dep interface{}) func() error { // This value should be larger than the maximum typical value // used for db.maxOpen. If maxOpen is significantly larger than // connectionRequestQueueSize then it is possible for ALL calls into the *DB -// to block until the connectionOpener can satify the backlog of requests. +// to block until the connectionOpener can satisfy the backlog of requests. var connectionRequestQueueSize = 1000000 // Open opens a database specified by its database driver name and a @@ -778,7 +778,7 @@ func (db *DB) putConn(dc *driverConn, err error) { // connection limit will not be exceeded. // If err != nil, the value of dc is ignored. // If err == nil, then dc must not equal nil. -// If a connRequest was fullfilled or the *driverConn was placed in the +// If a connRequest was fulfilled or the *driverConn was placed in the // freeConn list, then true is returned, otherwise false is returned. func (db *DB) putConnDBLocked(dc *driverConn, err error) bool { if db.connRequests.Len() > 0 { diff --git a/src/pkg/database/sql/sql_test.go b/src/pkg/database/sql/sql_test.go index a0a20df6f8..7971f14917 100644 --- a/src/pkg/database/sql/sql_test.go +++ b/src/pkg/database/sql/sql_test.go @@ -461,7 +461,7 @@ func TestTxStmt(t *testing.T) { } // Issue: http://golang.org/issue/2784 -// This test didn't fail before because we got luckly with the fakedb driver. +// This test didn't fail before because we got lucky with the fakedb driver. // It was failing, and now not, in github.com/bradfitz/go-sql-test func TestTxQuery(t *testing.T) { db := newTestDB(t, "") -- cgit v1.3