From 7c28ec97a985f3a9e22a2fe5048dc37f61d114a3 Mon Sep 17 00:00:00 2001 From: Georgi Kodinov Date: Wed, 8 Jul 2009 13:12:27 +0300 Subject: [PATCH] Addendum to the fix for bug 45807 : initialize a member needed in Item_field::fix_fields() --- sql/sql_partition.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index 4472b9be2cd..284eaebbe87 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -973,6 +973,7 @@ bool fix_fields_part_func(THD *thd, Item* func_expr, TABLE *table, save_use_only_table_context= thd->lex->use_only_table_context; thd->lex->use_only_table_context= TRUE; + thd->lex->current_select->cur_pos_in_select_list= UNDEF_POS; error= func_expr->fix_fields(thd, (Item**)&func_expr);