summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <evgen@sunlight.local>2007-02-25 23:02:11 +0300
committerunknown <evgen@sunlight.local>2007-02-25 23:02:11 +0300
commit84e68927195baf4a0f1704745be73f00db1086b0 (patch)
treea907b929d4e5365a919952836d98c20635371321
parent9d142a6d80b381ad2c433f3c02b95be50c09b1aa (diff)
downloadmariadb-git-84e68927195baf4a0f1704745be73f00db1086b0.tar.gz
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.
-rw-r--r--sql/item.h1
1 files changed, 1 insertions, 0 deletions
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;