diff --git a/sql/let.go b/sql/let.go index 21b0cc85..3e2f62c2 100644 --- a/sql/let.go +++ b/sql/let.go @@ -18,7 +18,7 @@ func (p *parser) parseLetStatement() (stmt *LetStatement, err error) { stmt = &LetStatement{} - if stmt.KV, stmt.NS, stmt.DB, err = p.o.get(AuthSC); err != nil { + if stmt.KV, stmt.NS, stmt.DB, err = p.o.get(AuthNO); err != nil { return nil, err } diff --git a/sql/return.go b/sql/return.go index b7046912..7b02a7b6 100644 --- a/sql/return.go +++ b/sql/return.go @@ -18,7 +18,7 @@ func (p *parser) parseReturnStatement() (stmt *ReturnStatement, err error) { stmt = &ReturnStatement{} - if stmt.KV, stmt.NS, stmt.DB, err = p.o.get(AuthSC); err != nil { + if stmt.KV, stmt.NS, stmt.DB, err = p.o.get(AuthNO); err != nil { return nil, err }