Commit 03366559 authored by Igor Babaev's avatar Igor Babaev

Corrected the patch that complemented the patch for mdev-10855

parent b0dbc707
......@@ -338,7 +338,7 @@ ORDER *st_select_lex::find_common_window_func_partition_fields(THD *thd)
if (!wf->window_spec->partition_list)
return 0;
List<Item> common_fields;
uint first_partition_elements;
uint first_partition_elements= 0;
for (ord= wf->window_spec->partition_list->first; ord; ord= ord->next)
{
if ((*ord->item)->real_item()->type() == Item::FIELD_ITEM)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment