1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Support ORDER BY NULL

This commit is contained in:
Andrew Hutchings
2017-07-11 15:14:24 +01:00
parent 47fb014be3
commit d76c111690

View File

@ -6538,6 +6538,10 @@ int getSelectPlan(gp_walk_info& gwi, SELECT_LEX& select_lex, SCSEP& csep, bool i
oss << ordercol->counter;
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)
{
Item_sum* ifp = (Item_sum*)(*(ordercol->item));