mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
database/sql: fix spelling mistake
Change-Id: I67db3b342929a7bd11f01bf3b9afb49f4da69a0a Reviewed-on: https://go-review.googlesource.com/35841 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
a246f61637
commit
ec4062f8ea
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||||
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|")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue