From 1fd450890b78984a461452fb390624de0de08841 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 9 Feb 2017 20:44:08 +0000 Subject: [PATCH] Fix typo --- db/db.go | 2 +- sql/options.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/db.go b/db/db.go index 0d3441ea..aeb00085 100644 --- a/db/db.go +++ b/db/db.go @@ -188,7 +188,7 @@ func (e *executor) execute(quit <-chan bool, send chan<- *Response) { } }() - // If we have paniced during query execution + // If we have panicked during query execution // then ensure that we recover from the error // and print the error to the log. diff --git a/sql/options.go b/sql/options.go index d87fe141..ec18a10b 100644 --- a/sql/options.go +++ b/sql/options.go @@ -66,7 +66,7 @@ func (o *options) get(kind int) (kv, ns, db string, err error) { func (o *options) ns(ns string) (err error) { // Check to see that the current user has - // the necessary authentcation privileges + // the necessary authentication privileges // to be able to specify this namespace. if o.auth.Possible.NS != "*" && o.auth.Possible.NS != ns { @@ -86,7 +86,7 @@ func (o *options) ns(ns string) (err error) { func (o *options) db(db string) (err error) { // Check to see that the current user has - // the necessary authentcation privileges + // the necessary authentication privileges // to be able to specify this namespace. if o.auth.Possible.DB != "*" && o.auth.Possible.DB != db {