Commit ec4062f8 authored by Kevin Burke's avatar Kevin Burke Committed by Brad Fitzpatrick

database/sql: fix spelling mistake

Change-Id: I67db3b342929a7bd11f01bf3b9afb49f4da69a0a
Reviewed-on: https://go-review.googlesource.com/35841Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent a246f616
...@@ -2348,7 +2348,7 @@ func (rs *Rows) Scan(dest ...interface{}) error { ...@@ -2348,7 +2348,7 @@ func (rs *Rows) Scan(dest ...interface{}) error {
} }
// rowsCloseHook returns a function so tests may install the // rowsCloseHook returns a function so tests may install the
// hook throug a test only mutex. // hook through a test only mutex.
var rowsCloseHook = func() func(*Rows, *error) { return nil } var rowsCloseHook = func() func(*Rows, *error) { return nil }
func (rs *Rows) isClosed() bool { func (rs *Rows) isClosed() bool {
......
...@@ -2664,7 +2664,7 @@ func TestIssue18429(t *testing.T) { ...@@ -2664,7 +2664,7 @@ func TestIssue18429(t *testing.T) {
if err != nil { if err != nil {
return return
} }
// This is expected to give a cancel error many, but not all the time. // This is expected to give a cancel error most, but not all the time.
// Test failure will happen with a panic or other race condition being // Test failure will happen with a panic or other race condition being
// reported. // reported.
rows, _ := tx.QueryContext(ctx, "WAIT|"+qwait+"|SELECT|people|name|") rows, _ := tx.QueryContext(ctx, "WAIT|"+qwait+"|SELECT|people|name|")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment