Skip to content

Commit 26f51b8

Browse files
committed
chore: fix wrong plan time
1 parent 74a46ae commit 26f51b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

router/core/plan_generator.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,8 @@ func (pl *Planner) PlanOperation(operationFilePath string, outputFormat PlanOutp
104104
return "", opTimes, err
105105
}
106106

107-
start := time.Now()
108107
rawPlan, opTimes2, err := pl.PlanPreparedOperation(operation)
109108
opTimes = opTimes.Merge(opTimes2)
110-
opTimes.PlanTime = time.Since(start)
111109
if err != nil {
112110
return "", opTimes, fmt.Errorf("failed to plan operation: %w", err)
113111
}

0 commit comments

Comments
 (0)