1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Corrected the patch that complemented the patch for mdev-10855

This commit is contained in:
Igor Babaev
2017-08-23 19:59:49 -07:00
parent b0dbc707b8
commit 0336655918

View File

@ -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)