Commit 84e68927 authored by unknown's avatar unknown
Browse files

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 9d142a6d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1968,6 +1968,7 @@ class Item_outer_ref :public Item_direct_ref
                          outer_field_arg->field_name),
    outer_field(outer_field_arg)
  {
    table_name= my_strdup(outer_field_arg->table_name, MYF(MY_WME));
    ref= (Item**)&outer_field;
    set_properties();
    fixed= 0;