mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -540,7 +540,7 @@ bool Item_func_in::create_value_list_for_tvc(THD *thd,
|
||||
|
||||
if (is_list_of_rows)
|
||||
{
|
||||
Item_row *row_list= (Item_row *)(args[i]->build_clone(thd));
|
||||
Item_row *row_list= (Item_row *)(args[i]);
|
||||
|
||||
if (!row_list)
|
||||
return true;
|
||||
@ -565,8 +565,7 @@ bool Item_func_in::create_value_list_for_tvc(THD *thd,
|
||||
sprintf(col_name, "_col_%i", 1);
|
||||
args[i]->set_name(thd, col_name, strlen(col_name), thd->charset());
|
||||
}
|
||||
Item *arg_clone= args[i]->build_clone(thd);
|
||||
if (!arg_clone || tvc_value->push_back(arg_clone))
|
||||
if (tvc_value->push_back(args[i]))
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user