mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug#20836 Selecting into variables results in wrong results being returned
- Comment Cleanup.
This commit is contained in:
@ -1746,14 +1746,6 @@ bool select_dumpvar::send_data(List<Item> &items)
|
|||||||
while ((ls= var_li++) && (item= it++))
|
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 *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,
|
suv->fix_fields(thd, (TABLE_LIST *) thd->lex->select_lex.table_list.first,
|
||||||
0);
|
0);
|
||||||
suv->check();
|
suv->check();
|
||||||
|
Reference in New Issue
Block a user