diff options
| author | Agniva De Sarker <agnivade@yahoo.co.in> | 2017-08-22 15:41:50 +0530 |
|---|---|---|
| committer | Joe Tsai <thebrokentoaster@gmail.com> | 2017-08-23 03:07:12 +0000 |
| commit | ea5e3bd2a18fc26fa9028865c8f391b18ed24786 (patch) | |
| tree | 5811c061ff099c5dae07ced0ad268747189e8698 /src/database/sql | |
| parent | f6944c780f5104114a7a5e404115478f8deb739b (diff) | |
| download | go-ea5e3bd2a18fc26fa9028865c8f391b18ed24786.tar.xz | |
all: fix easy-to-miss typos
Using the wonderful https://github.com/client9/misspell tool.
Change-Id: Icdbc75a5559854f4a7a61b5271bcc7e3f99a1a24
Reviewed-on: https://go-review.googlesource.com/57851
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql')
| -rw-r--r-- | src/database/sql/convert.go | 2 | ||||
| -rw-r--r-- | src/database/sql/sql_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/database/sql/convert.go b/src/database/sql/convert.go index 4983181fe7..3c387fb25c 100644 --- a/src/database/sql/convert.go +++ b/src/database/sql/convert.go @@ -204,7 +204,7 @@ func driverArgs(ci driver.Conn, ds *driverStmt, args []interface{}) ([]driver.Na } } - // Check the length of arguments after convertion to allow for omitted + // Check the length of arguments after conversion to allow for omitted // arguments. if want != -1 && len(nvargs) != want { return nil, fmt.Errorf("sql: expected %d arguments, got %d", want, len(nvargs)) diff --git a/src/database/sql/sql_test.go b/src/database/sql/sql_test.go index 644769442e..bcf0887d0e 100644 --- a/src/database/sql/sql_test.go +++ b/src/database/sql/sql_test.go @@ -3390,7 +3390,7 @@ func (c *nvcConn) CheckNamedValue(nv *driver.NamedValue) error { case Out: switch ov := v.Dest.(type) { default: - return errors.New("unkown NameValueCheck OUTPUT type") + return errors.New("unknown NameValueCheck OUTPUT type") case *string: *ov = "from-server" nv.Value = "OUT:*string" |
