From 273e2f262e725340251c4e32be065f041c6b57e4 Mon Sep 17 00:00:00 2001 From: lwhile Date: Thu, 22 Mar 2018 12:21:28 +0800 Subject: [PATCH] Remove Next function totally --- executor/aggregate.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/executor/aggregate.go b/executor/aggregate.go index 386396afc1f32..353003c1c526c 100644 --- a/executor/aggregate.go +++ b/executor/aggregate.go @@ -141,11 +141,6 @@ func (e *HashAggExec) execute(ctx context.Context) (err error) { } } -// Next implements the Executor Next interface. -func (e *HashAggExec) Next(ctx context.Context) (Row, error) { - return nil, nil -} - func (e *HashAggExec) getGroupKey(row types.Row) ([]byte, error) { vals := make([]types.Datum, 0, len(e.GroupByItems)) for _, item := range e.GroupByItems {