diff options
author | unknown <iggy@rolltop.ignatz42.dyndns.org> | 2006-12-05 09:29:32 -0500 |
---|---|---|
committer | unknown <iggy@rolltop.ignatz42.dyndns.org> | 2006-12-05 09:29:32 -0500 |
commit | 1d216487e1795335588aeb07e9386ed710ce2977 (patch) | |
tree | f97eaf842f1966c4be566246d77561694e4583f9 /sql | |
parent | b4aab152723c629fb23322da4988b404ed68986d (diff) | |
download | mariadb-git-1d216487e1795335588aeb07e9386ed710ce2977.tar.gz |
Bug#20836 Selecting into variables results in wrong results being returned
- Comment Cleanup.
sql/sql_class.cc:
Removed misleading comment.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_class.cc | 8 |
1 files changed, 0 insertions, 8 deletions
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<Item> &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(); |