vendor: Update golang.org/cznic/...
This commit is contained in:
25
vendor/github.com/cznic/ql/expr.go
generated
vendored
25
vendor/github.com/cznic/ql/expr.go
generated
vendored
@@ -135,12 +135,6 @@ func mentionedColumns(e expression) map[string]struct{} {
|
||||
return m
|
||||
}
|
||||
|
||||
func mentionedQColumns(e expression) map[string]struct{} {
|
||||
m := map[string]struct{}{}
|
||||
mentionedColumns0(e, true, false, m)
|
||||
return m
|
||||
}
|
||||
|
||||
func staticExpr(e expression) (expression, error) {
|
||||
if e.isStatic() {
|
||||
v, err := e.eval(nil, nil)
|
||||
@@ -166,11 +160,6 @@ type (
|
||||
idealUint uint64
|
||||
)
|
||||
|
||||
type exprTab struct {
|
||||
expr expression
|
||||
table string
|
||||
}
|
||||
|
||||
type pexpr struct {
|
||||
expr expression
|
||||
}
|
||||
@@ -3397,20 +3386,6 @@ func (u *unaryOperation) String() string {
|
||||
}
|
||||
}
|
||||
|
||||
// !ident
|
||||
func (u *unaryOperation) isNotQIdent() (bool, string, expression) {
|
||||
if u.op != '!' {
|
||||
return false, "", nil
|
||||
}
|
||||
|
||||
id, ok := u.v.(*ident)
|
||||
if ok && id.isQualified() {
|
||||
return true, mustQualifier(id.s), &unaryOperation{'!', &ident{mustSelector(id.s)}}
|
||||
}
|
||||
|
||||
return false, "", nil
|
||||
}
|
||||
|
||||
func (u *unaryOperation) eval(execCtx *execCtx, ctx map[interface{}]interface{}) (r interface{}, err error) {
|
||||
defer func() {
|
||||
if e := recover(); e != nil {
|
||||
|
||||
Reference in New Issue
Block a user