Commit 24de6fc0 authored by Geofrey Ernest's avatar Geofrey Ernest Committed by GitHub

Merge pull request #162 from gernest/cleanup

remove unused plan type
parents 9cac60d3 fc97c84e
......@@ -35,7 +35,6 @@ const (
var (
_ plan = (*crossJoinDefaultPlan)(nil)
_ plan = (*distinctDefaultPlan)(nil)
_ plan = (*emptyFieldsPlan)(nil)
_ plan = (*explainDefaultPlan)(nil)
_ plan = (*filterDefaultPlan)(nil)
_ plan = (*fullJoinDefaultPlan)(nil)
......@@ -2822,19 +2821,6 @@ func (r *selectDummyPlan) do(ctx *execCtx, f func(id interface{}, data []interfa
return
}
type emptyFieldsPlan struct {
*nullPlan
}
func (r *emptyFieldsPlan) do(ctx *execCtx, f func(id interface{}, data []interface{}) (bool, error)) (err error) {
v := make([]interface{}, len(r.fields))
for i := range v {
v[i] = ""
}
_, err = f(nil, v)
return
}
type wrapFilterPlan struct {
*filterDefaultPlan
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment