From e91347dd49e16104da343b1049980dff4f632378 Mon Sep 17 00:00:00 2001 From: "evgen@sunlight.local" <> Date: Sun, 25 Feb 2007 23:02:11 +0300 Subject: item.h: Post fix for bug#23800. Copy the table name of an Item_outer_ref to the conventional memory. --- sql/item.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/item.h') diff --git a/sql/item.h b/sql/item.h index ec6d4fabae5..93b43c8b61a 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1968,6 +1968,7 @@ public: 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; -- cgit v1.2.1