mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
MDEV-3804:
MySQL fix for bug#11765413 removed (we have better and more general fix for the problem). Test suite added.
This commit is contained in:
parent
a9f9296891
commit
8215ce4695
4 changed files with 22 additions and 6 deletions
|
|
@ -6839,7 +6839,7 @@ bool Item_ref::fix_fields(THD *thd, Item **reference)
|
|||
if (from_field != not_found_field)
|
||||
{
|
||||
Item_field* fld;
|
||||
if (!(fld= new Item_field(thd, last_checked_context, from_field)))
|
||||
if (!(fld= new Item_field(from_field)))
|
||||
goto error;
|
||||
thd->change_item_tree(reference, fld);
|
||||
mark_as_dependent(thd, last_checked_context->select_lex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue