This commit is contained in:
Tobie Morgan Hitchcock 2017-02-09 20:44:08 +00:00
parent a5dc358e4e
commit 1fd450890b
2 changed files with 3 additions and 3 deletions

View file

@ -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 // then ensure that we recover from the error
// and print the error to the log. // and print the error to the log.

View file

@ -66,7 +66,7 @@ func (o *options) get(kind int) (kv, ns, db string, err error) {
func (o *options) ns(ns string) (err error) { func (o *options) ns(ns string) (err error) {
// Check to see that the current user has // Check to see that the current user has
// the necessary authentcation privileges // the necessary authentication privileges
// to be able to specify this namespace. // to be able to specify this namespace.
if o.auth.Possible.NS != "*" && o.auth.Possible.NS != ns { 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) { func (o *options) db(db string) (err error) {
// Check to see that the current user has // Check to see that the current user has
// the necessary authentcation privileges // the necessary authentication privileges
// to be able to specify this namespace. // to be able to specify this namespace.
if o.auth.Possible.DB != "*" && o.auth.Possible.DB != db { if o.auth.Possible.DB != "*" && o.auth.Possible.DB != db {