Commit 84e68927 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 9d142a6d
...@@ -1968,6 +1968,7 @@ public: ...@@ -1968,6 +1968,7 @@ 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