Commit 90d4f809 authored by unknown's avatar unknown

item.cc, item.h:

  Post fix for bug#23800.


sql/item.h:
  Post fix for bug#23800.
sql/item.cc:
  Post fix for bug#23800.
parent 84e68927
...@@ -5497,6 +5497,7 @@ bool Item_outer_ref::fix_fields(THD *thd, Item **reference) ...@@ -5497,6 +5497,7 @@ bool Item_outer_ref::fix_fields(THD *thd, Item **reference)
if (!outer_field->fixed && if (!outer_field->fixed &&
(outer_field->fix_fields(thd, reference))) (outer_field->fix_fields(thd, reference)))
return TRUE; return TRUE;
table_name= outer_field->table_name;
return Item_direct_ref::fix_fields(thd, reference); return Item_direct_ref::fix_fields(thd, reference);
} }
......
...@@ -1968,7 +1968,6 @@ public: ...@@ -1968,7 +1968,6 @@ public:
outer_field_arg->field_name), outer_field_arg->field_name),
outer_field(outer_field_arg) outer_field(outer_field_arg)
{ {
table_name= my_strdup(outer_field_arg->table_name, MYF(MY_WME));
ref= (Item**)&outer_field; ref= (Item**)&outer_field;
set_properties(); set_properties();
fixed= 0; fixed= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment