summaryrefslogtreecommitdiff
path: root/sql/sql_partition.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-07-08 13:12:27 +0300
committerGeorgi Kodinov <joro@sun.com>2009-07-08 13:12:27 +0300
commitead1ce94e61b0e4436def29515c2e15c95a9b1aa (patch)
treece165537cb63aee28388b2a317467f75abd28454 /sql/sql_partition.cc
parentc2ec53f94ab3bec0fec75b34b4eb2d00463690e5 (diff)
downloadmariadb-git-ead1ce94e61b0e4436def29515c2e15c95a9b1aa.tar.gz
Addendum to the fix for bug 45807 : initialize a member needed in
Item_field::fix_fields()
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r--sql/sql_partition.cc1
1 files changed, 1 insertions, 0 deletions
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);