aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/database/sql/sql.go
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-12-19 03:04:09 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-12-19 03:04:09 +0800
commitd1ef9b56fbc5bde31c429f4eab77854ef6eef662 (patch)
tree88d56276badc71b35e5fd5433e1fb227ab677dbf /src/pkg/database/sql/sql.go
parent326ccebec8986de534c8608ff6f8fe7bd0070b10 (diff)
downloadgo-d1ef9b56fbc5bde31c429f4eab77854ef6eef662.tar.xz
all: fix typos
caught by https://github.com/lyda/misspell-check. R=golang-dev, gri CC=golang-dev https://golang.org/cl/6949072
Diffstat (limited to 'src/pkg/database/sql/sql.go')
-rw-r--r--src/pkg/database/sql/sql.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/database/sql/sql.go b/src/pkg/database/sql/sql.go
index e59d0130d5..e7c7780ef2 100644
--- a/src/pkg/database/sql/sql.go
+++ b/src/pkg/database/sql/sql.go
@@ -266,7 +266,7 @@ func (db *DB) connIfFree(wanted driver.Conn) (conn driver.Conn, ok bool) {
var putConnHook func(*DB, driver.Conn)
// putConn adds a connection to the db's free pool.
-// err is optionally the last error that occured on this connection.
+// err is optionally the last error that occurred on this connection.
func (db *DB) putConn(c driver.Conn, err error) {
if err == driver.ErrBadConn {
// Don't reuse bad connections.