From 71970547da28279d92d3be05345a08dbbf449af6 Mon Sep 17 00:00:00 2001 From: "iggy@rolltop.ignatz42.dyndns.org" <> Date: Tue, 5 Dec 2006 09:29:32 -0500 Subject: Bug#20836 Selecting into variables results in wrong results being returned - Comment Cleanup. --- sql/sql_class.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sql') diff --git a/sql/sql_class.cc b/sql/sql_class.cc index cbab172a478..c8d90848f6e 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -1746,14 +1746,6 @@ bool select_dumpvar::send_data(List &items) while ((ls= var_li++) && (item= it++)) { Item_func_set_user_var *suv= new Item_func_set_user_var(*ls, item); - - /* - Item_func_set_user_var can't substitute something else on its - place => NULL may be passed as last argument (reference on - item) Item_func_set_user_var can't be fixed after creation, so - we do not check var->fixed - */ - suv->fix_fields(thd, (TABLE_LIST *) thd->lex->select_lex.table_list.first, 0); suv->check(); -- cgit v1.2.1