You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
Merge pull request #540 from drrtuy/MCOL-1637
MCOL-1637 Return limit value comparision to fix the regression.
This commit is contained in:
@@ -10118,6 +10118,11 @@ int getGroupPlan(gp_walk_info& gwi, SELECT_LEX& select_lex, SCSEP& csep, cal_gro
|
||||
{
|
||||
csep->limitNum(((Item_int*)gi.groupByTables->select_lex->select_limit)->val_int());
|
||||
}
|
||||
else
|
||||
{
|
||||
if (csep->hasOrderBy())
|
||||
csep->limitNum((uint64_t) - 2);
|
||||
}
|
||||
|
||||
if (gi.groupByTables->select_lex->offset_limit)
|
||||
{
|
||||
|
Reference in New Issue
Block a user