[Commits] 0336655: Corrected the patch that complemented the patch for mdev-10855

IgorBabaev igor at mariadb.com
Thu Aug 24 05:59:49 EEST 2017


revision-id: 0336655918d62cbbc817cbb03d785081e9df1a05 (mariadb-10.2.2-606-g0336655)
parent(s): b0dbc707b81112bedd2aeda6f44133861b9c274c
author: Igor Babaev
committer: Igor Babaev
timestamp: 2017-08-23 19:59:49 -0700
message:

Corrected the patch that complemented the patch for mdev-10855

---
 sql/sql_window.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/sql_window.cc b/sql/sql_window.cc
index a29fee1..40197be 100644
--- a/sql/sql_window.cc
+++ b/sql/sql_window.cc
@@ -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)


More information about the commits mailing list