Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bugfix] group aggr with sql_big_result returns wrong result
how to repeat: CREATE TABLE bugtest.t1 ( spID int(10) unsigned, userID int(10) unsigned, score smallint(5) unsigned, key (spid), key (score) )ENGINE=SPIDER ... INSERT INTO bugtest.t1 VALUES (1,1,1),(2,2,2),(2,1,1),(3,3,3),(4,3,3),(5,3,3),(6,3,3),(7,3,3); select sql_big_result spid,sum(userid) from bugtest.t1 group by spid desc; --wrong result select sql_big_result spid,max(userid) from bugtest.t1 group by spid desc; --wrong result
- Loading branch information