You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Support ORDER BY NULL
This commit is contained in:
@ -6501,6 +6501,10 @@ int getSelectPlan(gp_walk_info& gwi, SELECT_LEX& select_lex, SCSEP& csep, bool i
|
|||||||
oss << ordercol->counter;
|
oss << ordercol->counter;
|
||||||
ord_cols += oss.str();
|
ord_cols += oss.str();
|
||||||
}
|
}
|
||||||
|
else if (ord_item->type() == Item::NULL_ITEM)
|
||||||
|
{
|
||||||
|
// MCOL-793 Do nothing for an ORDER BY NULL
|
||||||
|
}
|
||||||
else if (ord_item->type() == Item::SUM_FUNC_ITEM)
|
else if (ord_item->type() == Item::SUM_FUNC_ITEM)
|
||||||
{
|
{
|
||||||
Item_sum* ifp = (Item_sum*)(*(ordercol->item));
|
Item_sum* ifp = (Item_sum*)(*(ordercol->item));
|
||||||
|
Reference in New Issue
Block a user