mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -1160,11 +1160,22 @@ List<Item> *st_select_lex_unit::get_unit_column_types()
|
||||
return &sl->item_list;
|
||||
}
|
||||
|
||||
|
||||
static void cleanup_order(ORDER *order)
|
||||
{
|
||||
for (; order; order= order->next)
|
||||
order->counter_used= 0;
|
||||
}
|
||||
|
||||
|
||||
bool st_select_lex::cleanup()
|
||||
{
|
||||
bool error= FALSE;
|
||||
DBUG_ENTER("st_select_lex::cleanup()");
|
||||
|
||||
cleanup_order(order_list.first);
|
||||
cleanup_order(group_list.first);
|
||||
|
||||
if (join)
|
||||
{
|
||||
DBUG_ASSERT((st_select_lex*)join->select_lex == this);
|
||||
|
Reference in New Issue
Block a user