From ead1ce94e61b0e4436def29515c2e15c95a9b1aa Mon Sep 17 00:00:00 2001 From: Georgi Kodinov Date: Wed, 8 Jul 2009 13:12:27 +0300 Subject: 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(+) (limited to 'sql/sql_partition.cc') 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); -- cgit v1.2.1