Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
41303: sql: remove dead code r=andreimatei a=andreimatei

Release justification: This dead code is in my way for other work.

Release note: None

Co-authored-by: Andrei Matei <andrei@cockroachlabs.com>
  • Loading branch information
craig[bot] and andreimatei committed Oct 3, 2019
2 parents f2c56c8 + 0c08b22 commit ca32e6f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/sql/explain_vec.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/cockroachdb/cockroach/pkg/roachpb"
"github.com/cockroachdb/cockroach/pkg/sql/colexec"
"github.com/cockroachdb/cockroach/pkg/sql/colflow"
"github.com/cockroachdb/cockroach/pkg/sql/distsql"
"github.com/cockroachdb/cockroach/pkg/sql/execinfra"
"github.com/cockroachdb/cockroach/pkg/sql/execinfrapb"
"github.com/cockroachdb/cockroach/pkg/sql/sem/tree"
Expand Down Expand Up @@ -103,12 +102,6 @@ func (n *explainVecNode) startExec(params runParams) error {
}

func makeFlowCtx(planCtx *PlanningCtx, plan PhysicalPlan, params runParams) *execinfra.FlowCtx {
var localState distsql.LocalState
localState.EvalContext = planCtx.EvalContext()
if planCtx.isLocal {
localState.IsLocal = true
localState.LocalProcs = plan.LocalProcessors
}
flowCtx := &execinfra.FlowCtx{
NodeID: planCtx.EvalContext().NodeID,
EvalCtx: planCtx.EvalContext(),
Expand Down

0 comments on commit ca32e6f

Please sign in to comment.