Skip to content

Commit

Permalink
executor: avoid very slow structure to interface type converation (pi…
Browse files Browse the repository at this point in the history
  • Loading branch information
ngaut authored and zhexuany committed Jul 23, 2018
1 parent 3971357 commit ebfbe09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/aggfuncs/func_count.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (e *countOriginal4Int) UpdatePartialResult(sctx sessionctx.Context, rowsInG
p := (*partialResult4Count)(pr)

for _, row := range rowsInGroup {
_, isNull, err := e.args[0].EvalInt(sctx, row)
_, isNull, err := e.args[0].EvalInt(sctx, &row)
if err != nil {
return errors.Trace(err)
}
Expand Down

0 comments on commit ebfbe09

Please sign in to comment.