Commit 923426a1 authored by unknown's avatar unknown

item.h:

  Post fix for bug#23800.
  Copy the table name of an Item_outer_ref to the conventional memory.


sql/item.h:
  Post fix for bug#23800.
  Copy the table name of an Item_outer_ref to the conventional memory.
parent 5ae9124e
...@@ -1968,6 +1968,7 @@ class Item_outer_ref :public Item_direct_ref ...@@ -1968,6 +1968,7 @@ class Item_outer_ref :public Item_direct_ref
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