Skip to content

Commit

Permalink
sql: remove dead code
Browse files Browse the repository at this point in the history
Release justification: This dead code is in my way for other work.

Release note: None
  • Loading branch information
andreimatei committed Oct 3, 2019
1 parent af64ad4 commit 0c08b22
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 0c08b22

Please sign in to comment.