COUNT(NULL) returns incorrect result with sequence storage engine

Description

"Storage engine handles GROUP BY" optimization in Sequence SE returns incorrect value for COUNT(NULL):

This is an incorrect result. For comparison:

Environment

None

Assignee

Sergei Golubchik

Reporter

Sergei Petrunia

Labels

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure